Skip to content

Commit b949864

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.109.2
1 parent b222e4e commit b949864

File tree

10 files changed

+32
-15
lines changed

10 files changed

+32
-15
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ const httpClient = axios.create({
120120

121121
const sdk = new UnstructuredClient({defaultClient: httpClient});
122122
```
123-
124-
125123
<!-- End Custom HTTP Client -->
126124
127125
<!-- Placeholder for Future Speakeasy SDK Sections -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,14 @@ Based on:
172172
### Generated
173173
- [typescript v0.8.1] .
174174
### Releases
175-
- [NPM v0.8.1] https://www.npmjs.com/package/unstructured-client/v/0.8.1 - .
175+
- [NPM v0.8.1] https://www.npmjs.com/package/unstructured-client/v/0.8.1 - .
176+
177+
## 2023-11-01 00:21:40
178+
### Changes
179+
Based on:
180+
- OpenAPI Doc 0.0.1
181+
- Speakeasy CLI 1.109.2 (2.173.0) https://github.com/speakeasy-api/speakeasy
182+
### Generated
183+
- [typescript v0.8.2] .
184+
### Releases
185+
- [NPM v0.8.2] https://www.npmjs.com/package/unstructured-client/v/0.8.2 - .

USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { UnstructuredClient } from "unstructured-client";
2828
"g",
2929
"]",
3030
],
31+
maxCharacters: 1500,
3132
newAfterNChars: 1500,
3233
outputFormat: "application/json",
3334
skipInferTableTypes: [

docs/models/shared/partitionparameters.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
| `hiResModelName` | *string* | :heavy_minus_sign: | The name of the inference model used when strategy is hi_res | yolox |
1515
| `includePageBreaks` | *boolean* | :heavy_minus_sign: | If True, the output will include page breaks if the filetype supports it. Default: false | |
1616
| `languages` | *string*[] | :heavy_minus_sign: | The languages present in the document, for use in partitioning and/or OCR | [eng] |
17+
| `maxCharacters` | *number* | :heavy_minus_sign: | If chunking strategy is set, cut off new sections after reaching a length of n chars (hard max). Default: 1500 | 1500 |
1718
| `multipageSections` | *boolean* | :heavy_minus_sign: | If chunking strategy is set, determines if sections can span multiple sections. Default: true | |
18-
| `newAfterNChars` | *number* | :heavy_minus_sign: | If chunking strategy is set, cut off new sections after reaching a length of n chars. Default: 1500 | 1500 |
19+
| `newAfterNChars` | *number* | :heavy_minus_sign: | If chunking strategy is set, cut off new sections after reaching a length of n chars (soft max). Default: 1500 | 1500 |
1920
| `outputFormat` | *string* | :heavy_minus_sign: | The format of the response. Supported formats are application/json and text/csv. Default: application/json. | application/json |
2021
| `pdfInferTableStructure` | *boolean* | :heavy_minus_sign: | If True and strategy=hi_res, any Table Elements extracted from a PDF will include an additional metadata field, 'text_as_html', where the value (string) is a just a transformation of the data into an HTML <table>. | |
2122
| `skipInferTableTypes` | *string*[] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: ['pdf', 'jpg', 'png'] | pdf |

docs/sdks/general/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import { UnstructuredClient } from "unstructured-client";
3838
"g",
3939
"]",
4040
],
41+
maxCharacters: 1500,
4142
newAfterNChars: 1500,
4243
outputFormat: "application/json",
4344
skipInferTableTypes: [

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 25324f1821b1070aa4a416ec8ddca590
3+
docChecksum: bf57420eebd40f2b1d166092f01e3927
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.108.1
6-
generationVersion: 2.172.4
5+
speakeasyVersion: 1.109.2
6+
generationVersion: 2.173.0
77
generation:
88
comments:
99
disableComments: false
@@ -23,7 +23,7 @@ features:
2323
retries: 2.82.1
2424
serverIDs: 2.81.2
2525
typescript:
26-
version: 0.8.1
26+
version: 0.8.2
2727
author: Unstructured
2828
clientServerStatusCodesAsErrors: true
2929
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.8.1",
3+
"version": "0.8.2",
44
"author": "Unstructured",
55
"scripts": {
66
"prepare": "tsc --build",

src/sdk/models/shared/partitionparameters.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,20 @@ export class PartitionParameters extends SpeakeasyBase {
6767
@SpeakeasyMetadata({ data: "multipart_form, name=languages" })
6868
languages?: string[];
6969

70+
/**
71+
* If chunking strategy is set, cut off new sections after reaching a length of n chars (hard max). Default: 1500
72+
*/
73+
@SpeakeasyMetadata({ data: "multipart_form, name=max_characters" })
74+
maxCharacters?: number;
75+
7076
/**
7177
* If chunking strategy is set, determines if sections can span multiple sections. Default: true
7278
*/
7379
@SpeakeasyMetadata({ data: "multipart_form, name=multipage_sections" })
7480
multipageSections?: boolean;
7581

7682
/**
77-
* If chunking strategy is set, cut off new sections after reaching a length of n chars. Default: 1500
83+
* If chunking strategy is set, cut off new sections after reaching a length of n chars (soft max). Default: 1500
7884
*/
7985
@SpeakeasyMetadata({ data: "multipart_form, name=new_after_n_chars" })
8086
newAfterNChars?: number;

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.8.1";
64-
genVersion = "2.172.4";
65-
userAgent = "speakeasy-sdk/typescript 0.8.1 2.172.4 0.0.1 unstructured-client";
63+
sdkVersion = "0.8.2";
64+
genVersion = "2.173.0";
65+
userAgent = "speakeasy-sdk/typescript 0.8.2 2.173.0 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)