Skip to content

Commit e97bfcc

Browse files
chore: 🐝 Update SDK - Generate 0.29.0 (#165)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/b6166f98184ac5cdc8b2f79ca116e00c> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/d837de48a0f884f916ef5314d1536e40> # SDK update ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## Typescript SDK Changes Detected: * `unstructured_client.general.partition()`: * `request.partitionParameters.doNotBreakSimilarityOnFooterHeader` **Added** <details> <summary>OpenAPI Change Summary</summary> ``` ├─┬Info │ └──[🔀] version (5:16) └─┬Components └─┬partition_parameters ├──[+] properties (483:11) ├─┬pdfminer_line_margin │ ├──[🔀] title (516:22) │ └──[🔀] description (517:28) ├─┬split_pdf_page │ ├──[🔀] type (551:21)❌ │ ├──[🔀] title (552:22) │ ├──[🔀] description (553:28) │ └──[🔀] default (554:24)❌ ├─┬overlap │ ├──[+] enum (279:15) │ ├──[+] enum (280:15) │ ├──[🔀] type (277:21)❌ │ ├──[🔀] title (282:22) │ ├──[🔀] description (283:28) │ ├──[🔀] default (284:24)❌ │ └─┬Extensions │ └──[+] x-speakeasy-unknown-values (285:43) ├─┬starting_page_number │ ├──[+] items (560:22)❌ │ ├──[+] type (557:21)❌ │ ├──[🔀] title (558:22) │ ├──[+] maxItems (564:25)❌ │ ├──[+] minItems (563:25)❌ │ ├──[🔀] description (559:28) │ ├──[+] example (565:24) │ ├──[-] anyOf (1:5565)❌ │ └──[-] anyOf (1:5586)❌ ├─┬pdf_infer_table_structure │ ├──[🔀] title (467:22) │ ├──[🔀] description (468:28) │ └──[🔀] default (469:24)❌ ├─┬pdfminer_char_margin │ ├──[+] type (288:21)❌ │ ├──[🔀] title (289:22) │ ├──[🔀] description (290:28) │ ├──[+] default (291:24)❌ │ ├──[-] anyOf (1:10766)❌ │ └──[-] anyOf (1:10786)❌ ├─┬include_page_breaks │ ├──[-] type (1:4035)❌ │ ├──[🔀] title (426:22) │ ├──[🔀] description (427:28) │ ├──[-] default (1:4196)❌ │ ├──[+] anyOf (419:15) │ └──[+] anyOf (422:15) ├─┬gz_uncompressed_content_type │ ├──[+] examples (183:15) │ ├──[+] type (178:21)❌ │ ├──[-] title (1:3715) │ ├──[+] format (179:23)❌ │ ├──[🔀] description (180:28) │ ├──[-] anyOf (1:3667)❌ │ └──[-] anyOf (1:3687)❌ ├─┬new_after_n_chars │ ├──[+] type (442:21)❌ │ ├──[🔀] title (443:22) │ ├──[🔀] description (444:28) │ ├──[+] default (445:24)❌ │ ├──[-] anyOf (1:8898)❌ │ └──[-] anyOf (1:8919)❌ ├─┬ocr_languages │ ├──[-] items (1:4488)❌ │ ├──[-] type (1:4516)❌ │ ├──[🔀] title (456:22) │ ├──[🔀] description (457:28) │ ├──[-] default (1:4666)❌ │ ├──[+] anyOf (449:15) │ └──[+] anyOf (452:15) ├─┬unique_element_ids │ ├──[-] type (1:6905)❌ │ ├──[🔀] title (372:22) │ ├──[🔀] description (373:28) │ ├──[🔀] default (374:24)❌ │ ├──[+] anyOf (365:15) │ └──[+] anyOf (368:15) ├─┬vlm_model_provider │ ├──[🔀] examples (359:15) │ ├──[-] examples (1:6403) │ ├──[-] examples (1:6416) │ ├──[-] enum (1:6283)❌ │ ├──[-] enum (1:6206)❌ │ ├──[-] enum (1:6216)❌ │ ├──[-] enum (1:6229)❌ │ ├──[-] enum (1:6240)❌ │ ├──[-] enum (1:6261)❌ │ ├──[-] enum (1:6273)❌ │ ├──[🔀] title (356:22) │ └──[🔀] description (357:28) ├─┬skip_infer_table_types │ ├──[-] items (1:5348)❌ │ ├──[-] type (1:5376)❌ │ ├──[🔀] title (480:22) │ ├──[🔀] description (481:28) │ ├──[-] default (1:5525)❌ │ ├──[+] anyOf (473:15) │ └──[+] anyOf (476:15) ├─┬languages │ ├──[-] items (1:4227)❌ │ ├──[🔀] type (490:21)❌ │ ├──[🔀] title (491:22) │ ├──[🔀] description (492:28) │ └──[🔀] default (493:24)❌ ├─┬output_format │ ├──[-] enum (1:4716)❌ │ ├──[-] enum (1:4736)❌ │ ├──[+] items (268:22)❌ │ ├──[🔀] type (271:21)❌ │ ├──[🔀] title (272:22) │ ├──[🔀] description (273:28) │ ├──[🔀] default (274:24)❌ │ └─┬Extensions │ └──[-] x-speakeasy-unknown-values (1:4962)❌ ├─┬include_orig_elements │ ├──[🔀] title (249:22) │ ├──[🔀] description (250:28) │ └─┬ANYOF │ └──[🔀] type (243:25)❌ ├─┬hi_res_model_name │ ├──[🔀] title (237:22) │ └──[🔀] description (238:28) ├─┬strategy │ ├──[-] examples (1:6090) │ ├──[-] examples (1:6098) │ ├──[-] examples (1:6108) │ ├──[-] enum (1:5890)❌ │ ├──[-] enum (1:5902)❌ │ ├──[-] enum (1:5913)❌ │ ├──[-] enum (1:5864)❌ │ ├──[-] enum (1:5872)❌ │ ├──[-] enum (1:5882)❌ │ ├──[-] type (1:5845)❌ │ ├──[🔀] title (311:22) │ ├──[🔀] description (312:28) │ ├──[-] default (1:6067)❌ │ ├──[+] anyOf (304:15) │ ├──[+] anyOf (307:15) │ └─┬Extensions │ └──[-] x-speakeasy-unknown-values (1:6146)❌ ├─┬multipage_sections │ ├──[-] type (1:8694)❌ │ ├──[🔀] title (438:22) │ ├──[🔀] description (439:28) │ ├──[-] default (1:8859)❌ │ ├──[+] anyOf (431:15) │ └──[+] anyOf (434:15) ├─┬vlm_model │ ├──[-] examples (1:6575) │ ├──[🔀] type (377:21)❌ │ ├──[🔀] title (378:22) │ ├──[🔀] description (379:28) │ ├──[+] default (380:24)❌ │ └─┬Extensions │ └──[-] x-speakeasy-unknown-values (1:6616)❌ ├─┬extract_image_block_types │ ├──[-] items (1:3393)❌ │ ├──[-] type (1:3421)❌ │ ├──[🔀] title (216:22) │ ├──[🔀] description (217:28) │ ├──[-] default (1:3619)❌ │ ├──[+] anyOf (209:15) │ └──[+] anyOf (212:15) ├─┬include_slide_notes │ ├──[🔀] title (254:22) │ ├──[🔀] description (255:28) │ └──[🔀] default (256:24)❌ ├─┬overlap_all │ ├──[🔀] type (460:21)❌ │ ├──[🔀] title (461:22) │ ├──[🔀] description (462:28) │ └──[🔀] default (463:24)❌ ├─┬max_characters │ ├──[+] items (259:22)❌ │ ├──[+] type (262:21)❌ │ ├──[🔀] title (263:22) │ ├──[🔀] description (264:28) │ ├──[+] default (265:24)❌ │ ├──[-] anyOf (1:8467)❌ │ └──[-] anyOf (1:8488)❌ ├─┬pdfminer_line_overlap │ ├──[🔀] title (528:22) │ └──[🔀] description (529:28) ├─┬table_ocr_agent │ ├──[+] examples (328:15) │ ├──[+] examples (329:15) │ ├──[+] examples (330:15) │ ├──[+] enum (320:15) │ ├──[+] enum (321:15) │ ├──[+] enum (322:15) │ ├──[+] enum (317:15) │ ├──[+] enum (318:15) │ ├──[+] enum (319:15) │ ├──[+] type (315:21)❌ │ ├──[🔀] title (324:22) │ ├──[🔀] description (325:28) │ ├──[🔀] default (326:24)❌ │ ├──[-] anyOf (1:6656)❌ │ ├──[-] anyOf (1:6676)❌ │ └─┬Extensions │ └──[+] x-speakeasy-unknown-values (332:43) ├─┬encoding │ ├──[+] type (484:21)❌ │ ├──[🔀] title (485:22) │ ├──[🔀] description (486:28) │ ├──[+] default (487:24)❌ │ ├──[-] anyOf (1:3209)❌ │ └──[-] anyOf (1:3229)❌ ├─┬pdfminer_word_margin │ ├──[🔀] title (504:22) │ ├──[🔀] description (505:28) │ └──[-] default (1:11667)❌ ├─┬split_pdf_concurrency_level │ ├──[🔀] type (573:21)❌ │ ├──[🔀] title (571:22) │ ├──[🔀] description (572:28) │ └──[🔀] default (574:24)❌ ├─┬files │ ├──[-] examples (1:2537) │ ├──[+] items (220:22)❌ │ ├──[🔀] type (223:21)❌ │ ├──[+] title (224:22) │ ├──[-] format (1:2456)❌ │ ├──[🔀] description (225:28) │ └──[+] default (226:24)❌ ├─┬similarity_threshold │ ├──[🔀] title (540:22) │ ├──[🔀] description (541:28) │ └──[+] default (542:24)❌ ├─┬xml_keep_tags │ ├──[+] examples (348:15) │ ├──[+] examples (349:15) │ ├──[+] examples (350:15) │ ├──[+] enum (341:15) │ ├──[+] enum (342:15) │ ├──[+] enum (343:15) │ ├──[+] enum (337:15) │ ├──[+] enum (338:15) │ ├──[+] enum (339:15) │ ├──[+] enum (340:15) │ ├──[🔀] type (335:21)❌ │ ├──[🔀] title (345:22) │ ├──[🔀] description (346:28) │ ├──[-] default (1:7414)❌ │ └─┬Extensions │ └──[+] x-speakeasy-unknown-values (352:43) ├─┬split_pdf_page_range │ ├──[-] items (1:12392)❌ │ ├──[🔀] type (545:21)❌ │ ├──[🔀] title (546:22) │ ├──[-] maxItems (1:12440)❌ │ ├──[-] minItems (1:12425)❌ │ ├──[🔀] description (547:28) │ ├──[+] default (548:24)❌ │ └──[-] example (1:12454) └─┬split_pdf_allow_failed ├──[+] items (294:22)❌ ├──[🔀] type (297:21)❌ ├──[🔀] title (298:22) ├──[🔀] description (299:28) └──[🔀] default (300:24)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | | components | 219 | 98 | </details> ## TYPESCRIPT CHANGELOG ## core: 3.26.0 - 2025-11-03 ### 🐝 New Features - allow additional package.json scripts to be defined *(commit by [@walker-tx](https://github.com/walker-tx))* ## core: 3.24.2 - 2025-10-30 ### 🐛 Bug Fixes - make security scheme resolution case-insensitive *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.24.1 - 2025-10-23 ### 🐛 Bug Fixes - prevent validation errors when response headers are not expected in all respone patterns *(commit by [@2ynn](https://github.com/2ynn))* ## core: 3.24.0 - 2025-10-23 ### 🐝 New Features - add full support for zodVersion v4 *(commit by [@mfbx9da4](https://github.com/mfbx9da4))* ## core: 3.23.0 - 2025-10-21 ### 🐝 New Features - add Zod v3 and v4 compatibility via zod/v3 import path *(commit by [@mfbx9da4](https://github.com/mfbx9da4))* ## core: 3.22.0 - 2025-10-13 ### 🐝 New Features - add config option for deep merging allOf nodes in OpenAPI specs *(commit by [@BlakeTheAwesome](https://github.com/BlakeTheAwesome))* ## core: 3.21.27 - 2025-10-09 ### 🐛 Bug Fixes - Fix reading environment variables in deno *(commit by [@subomi](https://github.com/subomi))* ## globalServerURLs: 2.83.0 - 2025-10-22 ### 🐝 New Features - Allow server selection to appear in all code samples *(commit by [@BlakeTheAwesome](https://github.com/BlakeTheAwesome))* Based on [Speakeasy CLI](https://github.com/speakeasy-api/speakeasy) 1.649.0 Co-authored-by: speakeasybot <[email protected]>
1 parent a7ebb8d commit e97bfcc

30 files changed

+94
-58
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: f69e063f6bdd37a7b29266aa34bb30a4
5-
docVersion: 1.2.0
6-
speakeasyVersion: 1.636.3
7-
generationVersion: 2.723.11
8-
releaseVersion: 0.28.0
9-
configChecksum: 2f7d038efc0c06515032eb8b02c062d8
4+
docChecksum: a9cd06bdac5fb6851149f5b0e9776c5d
5+
docVersion: 1.2.7
6+
speakeasyVersion: 1.649.0
7+
generationVersion: 2.739.1
8+
releaseVersion: 0.29.0
9+
configChecksum: a3da09b990d249ff9f5561aee1b535d2
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -16,14 +16,14 @@ features:
1616
acceptHeaders: 2.81.2
1717
additionalDependencies: 0.1.0
1818
constsAndDefaults: 0.1.12
19-
core: 3.21.26
19+
core: 3.26.0
2020
defaultEnabledRetries: 0.1.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.1.2
2323
examples: 2.82.3
2424
globalSecurity: 2.82.14
2525
globalSecurityCallbacks: 0.1.0
26-
globalServerURLs: 2.82.5
26+
globalServerURLs: 2.83.0
2727
mcpServer: 0.9.3
2828
nameOverrides: 2.81.2
2929
nullables: 0.1.1
@@ -128,7 +128,7 @@ examples:
128128
partition:
129129
speakeasy-default-partition:
130130
requestBody:
131-
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}
131+
multipart/form-data: {"chunking_strategy": "by_title", "coordinates": false, "do_not_break_similarity_on_footer_header": 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}
132132
responses:
133133
"200":
134134
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"}}]
@@ -139,4 +139,4 @@ examples:
139139
application/json: {"detail": "An error occurred"}
140140
examplesVersion: 1.0.2
141141
generatedTests: {}
142-
releaseNotes: "## Typescript SDK Changes Detected:\n* `unstructured_client.general.partition()`: \n * `request.partitionParameters.vlmModel` **Changed** **Breaking** :warning:\n"
142+
releaseNotes: "## Typescript SDK Changes Detected:\n* `unstructured_client.general.partition()`: \n * `request.partitionParameters.doNotBreakSimilarityOnFooterHeader` **Added**\n"

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.649.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:05de7030a5d70689f6aa854ba186d44d83fe0951c5ae72a2310e91686946cadf
6-
sourceBlobDigest: sha256:cfb1e6a24482556f98c7b5845db67aaf57ecbf7556a0d9904e673bfe0fc3ba7d
5+
sourceRevisionDigest: sha256:6a1d1cac95c1b8f6ed4f055dffa907f1f96bf75b5d5bfa190f4a437048ef4865
6+
sourceBlobDigest: sha256:e8c9fd0a7a559a840d32944c7eccb9fadbade798336b70ecd0d507e27e014d34
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760488307
10-
- 1.2.0
9+
- speakeasy-sdk-regen-1761265716
10+
- 1.2.7
1111
targets:
1212
unstructed-typescript:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:05de7030a5d70689f6aa854ba186d44d83fe0951c5ae72a2310e91686946cadf
16-
sourceBlobDigest: sha256:cfb1e6a24482556f98c7b5845db67aaf57ecbf7556a0d9904e673bfe0fc3ba7d
15+
sourceRevisionDigest: sha256:6a1d1cac95c1b8f6ed4f055dffa907f1f96bf75b5d5bfa190f4a437048ef4865
16+
sourceBlobDigest: sha256:e8c9fd0a7a559a840d32944c7eccb9fadbade798336b70ecd0d507e27e014d34
1717
codeSamplesNamespace: my-source-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:c138bec1c39605da1156d9adb9a7ee21d9c28952f59b3f713b5400a97316ac96
18+
codeSamplesRevisionDigest: sha256:eb4fafeb42461e65141860fa0a1c8a24a89a9b8d13a43aea73f857cf2a51d7a6
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
@@ -704,4 +704,14 @@ Based on:
704704
### Generated
705705
- [typescript v0.28.0] .
706706
### Releases
707-
- [NPM v0.28.0] https://www.npmjs.com/package/unstructured-client/v/0.28.0 - .
707+
- [NPM v0.28.0] https://www.npmjs.com/package/unstructured-client/v/0.28.0 - .
708+
709+
## 2025-11-06 00:32:07
710+
### Changes
711+
Based on:
712+
- OpenAPI Doc
713+
- Speakeasy CLI 1.649.0 (2.739.1) https://github.com/speakeasy-api/speakeasy
714+
### Generated
715+
- [typescript v0.29.0] .
716+
### Releases
717+
- [NPM v0.29.0] https://www.npmjs.com/package/unstructured-client/v/0.29.0 - .

docs/sdk/models/shared/partitionparameters.md

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

examples/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.

gen.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ generation:
1414
oAuth2ClientCredentialsEnabled: false
1515
oAuth2PasswordEnabled: false
1616
hoistGlobalSecurity: true
17+
schemas:
18+
allOfMergeStrategy: shallowMerge
1719
tests:
1820
generateTests: true
1921
generateNewTests: false
2022
skipResponseBodyAssertions: false
2123
typescript:
22-
version: 0.28.0
24+
version: 0.29.0
2325
acceptHeaderEnum: true
2426
additionalDependencies:
2527
dependencies:
@@ -30,6 +32,7 @@ typescript:
3032
vitest: ^2.1.3
3133
peerDependencies: {}
3234
additionalPackageJSON: {}
35+
additionalScripts: {}
3336
author: Unstructured
3437
baseErrorName: UnstructuredClientError
3538
clientServerStatusCodesAsErrors: true
@@ -64,3 +67,4 @@ typescript:
6467
templateVersion: v2
6568
usageSDKInitImports: []
6669
useIndexModules: true
70+
zodVersion: v3

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.28.0",
5+
"version": "0.29.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

package-lock.json

Lines changed: 3 additions & 3 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.28.0",
3+
"version": "0.29.0",
44
"author": "Unstructured",
55
"type": "module",
66
"bin": {
@@ -60,7 +60,7 @@
6060
"dependencies": {
6161
"async": "^3.2.5",
6262
"pdf-lib": "^1.17.1",
63-
"zod": "^3.20.0"
63+
"zod": "^3.25.0 || ^4.0.0"
6464
},
6565
"exports": {
6666
".": {

src/funcs/generalPartition.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ async function $do(
150150
if (payload.partition_parameters.coordinates !== undefined) {
151151
appendForm(body, "coordinates", payload.partition_parameters.coordinates);
152152
}
153+
if (
154+
payload.partition_parameters.do_not_break_similarity_on_footer_header
155+
!== undefined
156+
) {
157+
appendForm(
158+
body,
159+
"do_not_break_similarity_on_footer_header",
160+
payload.partition_parameters.do_not_break_similarity_on_footer_header,
161+
);
162+
}
153163
if (payload.partition_parameters.encoding !== undefined) {
154164
appendForm(body, "encoding", payload.partition_parameters.encoding);
155165
}

0 commit comments

Comments
 (0)