Skip to content

Commit 9efd1e6

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.133.1
1 parent d374748 commit 9efd1e6

File tree

9 files changed

+31
-13
lines changed

9 files changed

+31
-13
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
33
management:
4-
docChecksum: bf57420eebd40f2b1d166092f01e3927
4+
docChecksum: 559aacf6828c62bd379326645382b3ba
55
docVersion: 0.0.1
66
speakeasyVersion: internal
7-
generationVersion: 2.225.2
8-
releaseVersion: 0.10.0
9-
configChecksum: a042cebb5322f57f775e41a5d4bb8f70
7+
generationVersion: 2.228.1
8+
releaseVersion: 0.10.1
9+
configChecksum: 677768461f808ac879bfc04babed2d53
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
1313
published: true
1414
features:
1515
typescript:
16-
core: 3.4.1
16+
core: 3.4.2
1717
examples: 2.81.3
1818
globalSecurity: 2.82.2
1919
globalServerURLs: 2.82.1

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,14 @@ Based on:
252252
### Generated
253253
- [typescript v0.10.0] .
254254
### Releases
255-
- [NPM v0.10.0] https://www.npmjs.com/package/unstructured-client/v/0.10.0 - .
255+
- [NPM v0.10.0] https://www.npmjs.com/package/unstructured-client/v/0.10.0 - .
256+
257+
## 2024-01-06 00:21:45
258+
### Changes
259+
Based on:
260+
- OpenAPI Doc 0.0.1
261+
- Speakeasy CLI 1.133.1 (2.228.1) https://github.com/speakeasy-api/speakeasy
262+
### Generated
263+
- [typescript v0.10.1] .
264+
### Releases
265+
- [NPM v0.10.1] https://www.npmjs.com/package/unstructured-client/v/0.10.1 - .

USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ async function run() {
1313
chunkingStrategy: "by_title",
1414
combineUnderNChars: 500,
1515
encoding: "utf-8",
16+
extractImageBlockTypes: ["image", "table"],
1617
files: {
1718
content: new TextEncoder().encode("0x2cC94b2FEF"),
1819
fileName: "um.shtml",

docs/sdk/models/shared/partitionparameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| `combineUnderNChars` | *number* | :heavy_minus_sign: | If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: 500 | 500 |
1010
| `coordinates` | *boolean* | :heavy_minus_sign: | If true, return coordinates for each element. Default: false | |
1111
| `encoding` | *string* | :heavy_minus_sign: | The encoding method used to decode the text input. Default: utf-8 | utf-8 |
12+
| `extractImageBlockTypes` | *string*[] | :heavy_minus_sign: | The types of elements to extract, for use in extracting image blocks as base64 encoded data stored in metadata fields | ["image","table"] |
1213
| `files` | [shared.Files](../../../sdk/models/shared/files.md) | :heavy_minus_sign: | The file to extract | |
1314
| `gzUncompressedContentType` | *string* | :heavy_minus_sign: | If file is gzipped, use this content type after unzipping | application/pdf |
1415
| `hiResModelName` | *string* | :heavy_minus_sign: | The name of the inference model used when strategy is hi_res | yolox |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ generation:
66
fixes:
77
nameResolutionDec2023: false
88
typescript:
9-
version: 0.10.0
9+
version: 0.10.1
1010
author: Unstructured
1111
clientServerStatusCodesAsErrors: true
1212
flattenGlobalSecurity: false

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.10.0",
3+
"version": "0.10.1",
44
"author": "Unstructured",
55
"scripts": {
66
"prepare": "tsc --build",

src/sdk/models/shared/partitionparameters.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ export class PartitionParameters extends SpeakeasyBase {
3737
@SpeakeasyMetadata({ data: "multipart_form, name=encoding" })
3838
encoding?: string;
3939

40+
/**
41+
* The types of elements to extract, for use in extracting image blocks as base64 encoded data stored in metadata fields
42+
*/
43+
@SpeakeasyMetadata({ data: "multipart_form, name=extract_image_block_types" })
44+
extractImageBlockTypes?: string[];
45+
4046
/**
4147
* The file to extract
4248
*/

src/sdk/sdk.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export class SDKConfiguration {
6060
serverDefaults: any;
6161
language = "typescript";
6262
openapiDocVersion = "0.0.1";
63-
sdkVersion = "0.10.0";
64-
genVersion = "2.225.2";
65-
userAgent = "speakeasy-sdk/typescript 0.10.0 2.225.2 0.0.1 unstructured-client";
63+
sdkVersion = "0.10.1";
64+
genVersion = "2.228.1";
65+
userAgent = "speakeasy-sdk/typescript 0.10.1 2.228.1 0.0.1 unstructured-client";
6666
retryConfig?: utils.RetryConfig;
6767
public constructor(init?: Partial<SDKConfiguration>) {
6868
Object.assign(this, init);

0 commit comments

Comments
 (0)