@azure-rest/ai-document-intelligence 1.0.0-alpha.20250102.1 → 1.0.0-alpha.20250103.2

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 (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -128,7 +128,7 @@ Continue creating the poller from initial response
128
128
  ```ts
129
129
  import {
130
130
  getLongRunningPoller,
131
- AnalyzeResultOperationOutput,
131
+ AnalyzeOperationOutput,
132
132
  isUnexpected,
133
133
  } from "@azure-rest/ai-document-intelligence";
134
134
 
@@ -136,7 +136,7 @@ if (isUnexpected(initialResponse)) {
136
136
  throw initialResponse.body.error;
137
137
  }
138
138
  const poller = getLongRunningPoller(client, initialResponse);
139
- const result = (await poller.pollUntilDone()).body as AnalyzeResultOperationOutput;
139
+ const result = (await poller.pollUntilDone()).body as AnalyzeOperationOutput;
140
140
  console.log(result);
141
141
  // {
142
142
  // status: 'succeeded',
@@ -365,7 +365,7 @@ if (isUnexpected(initialResponse)) {
365
365
 
366
366
  const poller = getLongRunningPoller(client, initialResponse, { ...testPollingOptions });
367
367
 
368
- const result = (await poller.pollUntilDone()).body as AnalyzeResultOperationOutput;
368
+ const result = (await poller.pollUntilDone()).body as AnalyzeOperationOutput;
369
369
  const figures = result.analyzeResult?.figures;
370
370
  assert.isArray(figures);
371
371
  assert.isNotEmpty(figures?.[0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-rest/ai-document-intelligence",
3
- "version": "1.0.0-alpha.20250102.1",
3
+ "version": "1.0.0-alpha.20250103.2",
4
4
  "description": "Document Intelligence Rest Client",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"