Skip to content

Commit 0a63b0b

Browse files
chore: 🐝 Update SDK - Generate 0.17.1 (#112)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/5338ae3434b0fd189cc772527570d3fa> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/d302577a2feb805ef00c79215cca1fdf> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy ## OpenAPI Change Summary No specification changes Co-authored-by: speakeasybot <[email protected]>
1 parent 7aaf72d commit 0a63b0b

File tree

18 files changed

+378
-354
lines changed

18 files changed

+378
-354
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
33
management:
4-
docChecksum: 07648fa4a81409d493b04f9a0210053a
4+
docChecksum: e1ddcc2cf71c4056b8ea02935f420820
55
docVersion: 1.0.48
6-
speakeasyVersion: 1.398.0
7-
generationVersion: 2.415.8
8-
releaseVersion: 0.17.0
9-
configChecksum: 2c276110c3d851f4c60673861a0ec379
6+
speakeasyVersion: 1.401.2
7+
generationVersion: 2.421.3
8+
releaseVersion: 0.17.1
9+
configChecksum: 1055fe9a71bdb4cdbbe397b0bc8f8d65
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -15,7 +15,7 @@ features:
1515
typescript:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.11
18-
core: 3.17.3
18+
core: 3.17.6
1919
defaultEnabledRetries: 0.1.0
2020
enumUnions: 0.1.0
2121
envVarSecurityUsage: 0.1.1
@@ -109,6 +109,6 @@ examples:
109109
"200":
110110
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]
111111
"422":
112-
application/json: {"detail": "<value>"}
112+
application/json: {"detail": []}
113113
5XX:
114114
application/json: {"detail": "An error occurred"}

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.398.0
1+
speakeasyVersion: 1.401.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:c94b4493c1e49e6f6a922e16c6ba45f067f862adb66542e7bd3355b195a3477e
6-
sourceBlobDigest: sha256:108f49adb0607b20fc4d54949d36599c08c87c2d19e0a40e4bd5a2b91d9ac3e3
5+
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
6+
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructed-typescript:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:c94b4493c1e49e6f6a922e16c6ba45f067f862adb66542e7bd3355b195a3477e
15-
sourceBlobDigest: sha256:108f49adb0607b20fc4d54949d36599c08c87c2d19e0a40e4bd5a2b91d9ac3e3
14+
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
15+
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
1616
workflow:
1717
workflowVersion: 1.0.0
1818
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,4 +454,14 @@ Based on:
454454
### Generated
455455
- [typescript v0.17.0] .
456456
### Releases
457-
- [NPM v0.17.0] https://www.npmjs.com/package/unstructured-client/v/0.17.0 - .
457+
- [NPM v0.17.0] https://www.npmjs.com/package/unstructured-client/v/0.17.0 - .
458+
459+
## 2024-09-23 00:27:28
460+
### Changes
461+
Based on:
462+
- OpenAPI Doc
463+
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
464+
### Generated
465+
- [typescript v0.17.1] .
466+
### Releases
467+
- [NPM v0.17.1] https://www.npmjs.com/package/unstructured-client/v/0.17.1 - .

codeSamples.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
actions:
66
- target: $["paths"]["/general/v0/general"]["post"]
77
update:
8-
x-codeSamples:
9-
- lang: typescript
10-
label: partition
11-
source: "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { ChunkingStrategy, Strategy } from \"unstructured-client/sdk/models/shared\";\n\nconst unstructuredClient = new UnstructuredClient();\n\nasync function run() {\n const result = await unstructuredClient.general.partition({\n partitionParameters: {\n files: await openAsBlob(\"example.file\"),\n strategy: Strategy.Auto,\n chunkingStrategy: ChunkingStrategy.Basic,\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();"
8+
"x-codeSamples":
9+
- "lang": "typescript"
10+
"label": "partition"
11+
"source": "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { ChunkingStrategy, Strategy } from \"unstructured-client/sdk/models/shared\";\n\nconst unstructuredClient = new UnstructuredClient();\n\nasync function run() {\n const result = await unstructuredClient.general.partition({\n partitionParameters: {\n files: await openAsBlob(\"example.file\"),\n strategy: Strategy.Auto,\n chunkingStrategy: ChunkingStrategy.Basic,\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();"

docs/sdk/models/shared/chunkingstrategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { ChunkingStrategy } from "unstructured-client/sdk/models/shared";
77

8-
let value: ChunkingStrategy = ChunkingStrategy.Basic;
8+
let value: ChunkingStrategy = ChunkingStrategy.ByTitle;
99
```
1010

1111
## Values

docs/sdk/models/shared/loc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { Loc } from "unstructured-client/sdk/models/shared";
77

8-
let value: Loc = 844266;
8+
let value: Loc = 544883;
99
```
1010

1111
## Supported Types

docs/sdk/models/shared/outputformat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The format of the response. Supported formats are application/json and text/csv.
77
```typescript
88
import { OutputFormat } from "unstructured-client/sdk/models/shared";
99

10-
let value: OutputFormat = OutputFormat.ApplicationJson;
10+
let value: OutputFormat = OutputFormat.TextCsv;
1111
```
1212

1313
## Values

docs/sdk/models/shared/strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The strategy to use for partitioning PDF/image. Options are fast, hi_res, auto.
77
```typescript
88
import { Strategy } from "unstructured-client/sdk/models/shared";
99

10-
let value: Strategy = Strategy.HiRes;
10+
let value: Strategy = Strategy.Auto;
1111
```
1212

1313
## Values

docs/sdk/models/shared/validationerror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ValidationError } from "unstructured-client/sdk/models/shared";
77

88
let value: ValidationError = {
99
loc: [
10-
857946,
10+
"<value>",
1111
],
1212
msg: "<value>",
1313
type: "<value>",

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
typescript:
13-
version: 0.17.0
13+
version: 0.17.1
1414
additionalDependencies:
1515
dependencies:
1616
async: ^3.2.5

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "unstructured-client",
5-
"version": "0.17.0",
5+
"version": "0.17.1",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unstructured-client",
3-
"version": "0.17.0",
3+
"version": "0.17.1",
44
"author": "Unstructured",
55
"main": "./index.js",
66
"sideEffects": false,

0 commit comments

Comments
 (0)