Skip to content

Commit dacb3f2

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.183.3
1 parent 2f26d40 commit dacb3f2

21 files changed

+104
-216
lines changed

.speakeasy/gen.lock

Lines changed: 11 additions & 16 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: 8e80e4d12e16961f9061ef746c01761a
5-
docVersion: 0.0.64
4+
docChecksum: 903444f359d1dfa6342c692ae3e5c7ff
5+
docVersion: 0.0.1
66
speakeasyVersion: internal
7-
generationVersion: 2.262.2
8-
releaseVersion: 0.10.3
9-
configChecksum: 9676289ac3edb1656729e2a1c1cf21ec
7+
generationVersion: 2.263.3
8+
releaseVersion: 0.10.4
9+
configChecksum: 8bee1c3960268a6f4a0ccec9c1653249
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -42,24 +42,19 @@ generatedFiles:
4242
- src/sdk/types/index.ts
4343
- src/sdk/types/rfcdate.ts
4444
- tsconfig.json
45-
- src/sdk/models/operations/partitionparameters.ts
46-
- src/sdk/models/shared/element.ts
45+
- src/sdk/models/operations/partition.ts
46+
- src/sdk/models/errors/httpvalidationerror.ts
4747
- src/sdk/models/shared/validationerror.ts
48-
- src/sdk/models/shared/bodypartitionparameters.ts
48+
- src/sdk/models/shared/partitionparameters.ts
4949
- src/sdk/models/shared/security.ts
50-
- src/sdk/models/errors/httpvalidationerror.ts
5150
- src/sdk/models/errors/index.ts
5251
- src/sdk/models/operations/index.ts
5352
- src/sdk/models/shared/index.ts
54-
- docs/sdk/models/operations/partitionparametersrequest.md
55-
- docs/sdk/models/operations/partitionparametersresponse.md
56-
- docs/sdk/models/shared/metadata.md
57-
- docs/sdk/models/shared/element.md
53+
- docs/sdk/models/operations/partitionresponse.md
54+
- docs/sdk/models/errors/httpvalidationerror.md
5855
- docs/sdk/models/shared/validationerror.md
5956
- docs/sdk/models/shared/files.md
60-
- docs/sdk/models/shared/strategy.md
61-
- docs/sdk/models/shared/bodypartitionparameters.md
57+
- docs/sdk/models/shared/partitionparameters.md
6258
- docs/sdk/models/shared/security.md
63-
- docs/sdk/models/errors/httpvalidationerror.md
6459
- USAGE.md
6560
- .gitattributes

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,14 @@ Based on:
282282
### Generated
283283
- [typescript v0.10.3] .
284284
### Releases
285-
- [NPM v0.10.3] https://www.npmjs.com/package/unstructured-client/v/0.10.3 - .
285+
- [NPM v0.10.3] https://www.npmjs.com/package/unstructured-client/v/0.10.3 - .
286+
287+
## 2024-02-20 00:20:35
288+
### Changes
289+
Based on:
290+
- OpenAPI Doc 0.0.1
291+
- Speakeasy CLI 1.183.3 (2.263.3) https://github.com/speakeasy-api/speakeasy
292+
### Generated
293+
- [typescript v0.10.4] .
294+
### Releases
295+
- [NPM v0.10.4] https://www.npmjs.com/package/unstructured-client/v/0.10.4 - .

USAGE.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!-- Start SDK Example Usage [usage] -->
22
```typescript
33
import { UnstructuredClient } from "unstructured-client";
4-
import { Strategy } from "unstructured-client/dist/sdk/models/shared";
54

65
async function run() {
76
const sdk = new UnstructuredClient({
@@ -11,17 +10,22 @@ async function run() {
1110
});
1211

1312
const res = await sdk.general.partition({
14-
bodyPartitionParameters: {
15-
extractImageBlockTypes: ["<value>"],
16-
files: {
17-
content: new TextEncoder().encode("0x2cC94b2FEF"),
18-
fileName: "um.shtml",
19-
},
20-
languages: ["<value>"],
21-
ocrLanguages: ["<value>"],
22-
skipInferTableTypes: ["<value>"],
23-
strategy: Strategy.HiRes,
13+
chunkingStrategy: "by_title",
14+
combineUnderNChars: 500,
15+
encoding: "utf-8",
16+
extractImageBlockTypes: ["image", "table"],
17+
files: {
18+
content: new TextEncoder().encode("0x2cC94b2FEF"),
19+
fileName: "um.shtml",
2420
},
21+
gzUncompressedContentType: "application/pdf",
22+
hiResModelName: "yolox",
23+
languages: ["[", "e", "n", "g", "]"],
24+
maxCharacters: 1500,
25+
newAfterNChars: 1500,
26+
outputFormat: "application/json",
27+
skipInferTableTypes: ["pdf"],
28+
strategy: "hi_res",
2529
});
2630

2731
if (res.statusCode == 200) {

docs/sdk/models/operations/partitionparametersrequest.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/sdk/models/operations/partitionparametersresponse.md

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PartitionResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `elements` | *any*[] | :heavy_minus_sign: | Successful Response |
10+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

0 commit comments

Comments
 (0)