Skip to content

Commit d7987e7

Browse files
chore: 🐝 Update SDK - Generate 0.24.4 (#152)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/e17e39b5e7cf97e70ba93a83b555fb7c> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/e0950bae54186ad25a08f71f5f485237> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [patch] - 🤖 (automated) ## OpenAPI Change Summary ``` └─┬Info └──[🔀] version (5:16) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | ## TYPESCRIPT CHANGELOG ## core: 3.21.9 - 2025-05-19 ### 🐛 Bug Fixes - Prevent errors with Zod 3.25+ and commonjs module config *(commit by [@bflad](https://github.com/bflad))* ## core: 3.21.8 - 2025-05-07 ### 🐛 Bug Fixes - fixed stability of generated examples using operation and field seeds, including fixes to union examples *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent bfe73b1 commit d7987e7

File tree

12 files changed

+51
-41
lines changed

12 files changed

+51
-41
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 10 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: 6c28c48f4266d95c45657bae345b82fb
5-
docVersion: 1.1.13
6-
speakeasyVersion: 1.545.0
7-
generationVersion: 2.599.0
8-
releaseVersion: 0.24.3
9-
configChecksum: d78bbaea86964404b34bc0a62b6aeb8d
4+
docChecksum: 3e42d77bf491e4e7a999ec6d27d41fd1
5+
docVersion: 1.1.17
6+
speakeasyVersion: 1.552.0
7+
generationVersion: 2.610.0
8+
releaseVersion: 0.24.4
9+
configChecksum: c0e0d6524bed361c1a8ebeda0e6333df
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -16,7 +16,7 @@ features:
1616
acceptHeaders: 2.81.2
1717
additionalDependencies: 0.1.0
1818
constsAndDefaults: 0.1.11
19-
core: 3.21.7
19+
core: 3.21.9
2020
defaultEnabledRetries: 0.1.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.1.2
@@ -124,14 +124,14 @@ examples:
124124
partition:
125125
speakeasy-default-partition:
126126
requestBody:
127-
multipart/form-data: {"chunking_strategy": "by_title", "coordinates": false, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "include_page_breaks": false, "include_slide_notes": true, "multipage_sections": true, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "split_pdf_allow_failed": false, "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "strategy": "vlm", "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
127+
multipart/form-data: {"chunking_strategy": "by_title", "coordinates": false, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "include_page_breaks": false, "include_slide_notes": true, "multipage_sections": true, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "split_pdf_allow_failed": false, "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "strategy": "auto", "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
128128
responses:
129129
"200":
130130
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"}}]
131131
text/csv: "<value>"
132132
"422":
133-
application/json: {"detail": []}
133+
application/json: {"detail": "<value>"}
134134
5XX:
135135
application/json: {"detail": "An error occurred"}
136-
examplesVersion: 1.0.1
136+
examplesVersion: 1.0.2
137137
generatedTests: {}

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.545.0
1+
speakeasyVersion: 1.552.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:d34465a9c2172b90b716281518501d35cd2cc2cf9bbde42c5d7255f59adfbef9
6-
sourceBlobDigest: sha256:3bbf99a1b8e84244885492e6aeb9557ec26826c120ae8bd93ab9547891bd7030
5+
sourceRevisionDigest: sha256:11dc672fb20011d88c36c9e88092258b76ffe07dbf7d4d9493a4a8a63de97e0b
6+
sourceBlobDigest: sha256:d70162f1aa06e4b75fdb38608d8ca25948651246e8da161f0947af385732aff3
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747269081
10-
- 1.1.13
9+
- speakeasy-sdk-regen-1748046653
10+
- 1.1.17
1111
targets:
1212
unstructed-typescript:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:d34465a9c2172b90b716281518501d35cd2cc2cf9bbde42c5d7255f59adfbef9
16-
sourceBlobDigest: sha256:3bbf99a1b8e84244885492e6aeb9557ec26826c120ae8bd93ab9547891bd7030
15+
sourceRevisionDigest: sha256:11dc672fb20011d88c36c9e88092258b76ffe07dbf7d4d9493a4a8a63de97e0b
16+
sourceBlobDigest: sha256:d70162f1aa06e4b75fdb38608d8ca25948651246e8da161f0947af385732aff3
1717
codeSamplesNamespace: my-source-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:e4eeca554208fec981d9bf3fab6f7336191a60f4efd328e124e9d69176a7c43d
18+
codeSamplesRevisionDigest: sha256:116507a44839dec1f86e45a1a782df522e4ff29c592635c14f2f5e8196ec91d7
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,4 +594,14 @@ Based on:
594594
### Generated
595595
- [typescript v0.24.3] .
596596
### Releases
597-
- [NPM v0.24.3] https://www.npmjs.com/package/unstructured-client/v/0.24.3 - .
597+
- [NPM v0.24.3] https://www.npmjs.com/package/unstructured-client/v/0.24.3 - .
598+
599+
## 2025-05-29 00:32:04
600+
### Changes
601+
Based on:
602+
- OpenAPI Doc
603+
- Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
604+
### Generated
605+
- [typescript v0.24.4] .
606+
### Releases
607+
- [NPM v0.24.4] https://www.npmjs.com/package/unstructured-client/v/0.24.4 - .

codeSamples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ actions:
88
"x-codeSamples":
99
- "lang": "typescript"
1010
"label": "partition"
11-
"source": "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { VLMModel, VLMModelProvider } 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 vlmModelProvider: VLMModelProvider.Openai,\n vlmModel: VLMModel.Gpt4o,\n chunkingStrategy: \"basic\",\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
11+
"source": "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { VLMModel, VLMModelProvider } 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 vlmModelProvider: VLMModelProvider.Openai,\n vlmModel: VLMModel.Gpt4o,\n chunkingStrategy: \"by_title\",\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: false
1414
oAuth2PasswordEnabled: false
1515
typescript:
16-
version: 0.24.3
16+
version: 0.24.4
1717
additionalDependencies:
1818
dependencies:
1919
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.24.3",
5+
"version": "0.24.4",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unstructured-client",
3-
"version": "0.24.3",
3+
"version": "0.24.4",
44
"author": "Unstructured",
55
"type": "module",
66
"bin": {
@@ -57,7 +57,7 @@
5757
"typescript": "^5.4.5",
5858
"typescript-eslint": "^8.22.0",
5959
"vitest": "^2.1.3",
60-
"zod": "^3.23.4"
60+
"zod": "^3.25.17"
6161
},
6262
"dependencies": {
6363
"async": "^3.2.5",

src/lib/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6363

6464
export const SDK_METADATA = {
6565
language: "typescript",
66-
openapiDocVersion: "1.1.13",
67-
sdkVersion: "0.24.3",
68-
genVersion: "2.599.0",
66+
openapiDocVersion: "1.1.17",
67+
sdkVersion: "0.24.4",
68+
genVersion: "2.610.0",
6969
userAgent:
70-
"speakeasy-sdk/typescript 0.24.3 2.599.0 1.1.13 unstructured-client",
70+
"speakeasy-sdk/typescript 0.24.4 2.610.0 1.1.17 unstructured-client",
7171
} as const;

src/mcp-server/cli/start/impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function startStdio(flags: StartCommandFlags) {
5050
logger,
5151
allowedTools: flags.tool,
5252
scopes: flags.scope,
53-
security: { apiKeyAuth: flags["api-key-auth"] },
53+
security: { apiKeyAuth: flags["api-key-auth"] ?? "" },
5454
serverURL: flags["server-url"],
5555
server: flags.server,
5656
});
@@ -71,7 +71,7 @@ async function startSSE(flags: StartCommandFlags) {
7171
logger,
7272
allowedTools: flags.tool,
7373
scopes: flags.scope,
74-
security: { apiKeyAuth: flags["api-key-auth"] },
74+
security: { apiKeyAuth: flags["api-key-auth"] ?? "" },
7575
serverURL: flags["server-url"],
7676
server: flags.server,
7777
});

src/mcp-server/mcp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
1919
export const app = buildApplication(routes, {
2020
name: "mcp",
2121
versionInfo: {
22-
currentVersion: "0.24.3",
22+
currentVersion: "0.24.4",
2323
},
2424
});
2525

src/mcp-server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function createMCPServer(deps: {
2727
}) {
2828
const server = new McpServer({
2929
name: "UnstructuredClient",
30-
version: "0.24.3",
30+
version: "0.24.4",
3131
});
3232

3333
const client = new UnstructuredClientCore({

0 commit comments

Comments
 (0)