Skip to content

Commit 2f26d40

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.64, Speakeasy CLI 1.183.2
1 parent 9f436da commit 2f26d40

21 files changed

+230
-96
lines changed

.speakeasy/gen.lock

Lines changed: 17 additions & 12 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: 903444f359d1dfa6342c692ae3e5c7ff
5-
docVersion: 0.0.1
4+
docChecksum: 8e80e4d12e16961f9061ef746c01761a
5+
docVersion: 0.0.64
66
speakeasyVersion: internal
7-
generationVersion: 2.239.4
8-
releaseVersion: 0.10.2
9-
configChecksum: 12f6839ac63663b0a36dcb4370d79421
7+
generationVersion: 2.262.2
8+
releaseVersion: 0.10.3
9+
configChecksum: 9676289ac3edb1656729e2a1c1cf21ec
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.6
16+
core: 3.4.7
1717
examples: 2.81.3
1818
globalSecurity: 2.82.2
1919
globalServerURLs: 2.82.1
@@ -42,19 +42,24 @@ generatedFiles:
4242
- src/sdk/types/index.ts
4343
- src/sdk/types/rfcdate.ts
4444
- tsconfig.json
45-
- src/sdk/models/operations/partition.ts
46-
- src/sdk/models/errors/httpvalidationerror.ts
45+
- src/sdk/models/operations/partitionparameters.ts
46+
- src/sdk/models/shared/element.ts
4747
- src/sdk/models/shared/validationerror.ts
48-
- src/sdk/models/shared/partitionparameters.ts
48+
- src/sdk/models/shared/bodypartitionparameters.ts
4949
- src/sdk/models/shared/security.ts
50+
- src/sdk/models/errors/httpvalidationerror.ts
5051
- src/sdk/models/errors/index.ts
5152
- src/sdk/models/operations/index.ts
5253
- src/sdk/models/shared/index.ts
53-
- docs/sdk/models/operations/partitionresponse.md
54-
- docs/sdk/models/errors/httpvalidationerror.md
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
5558
- docs/sdk/models/shared/validationerror.md
5659
- docs/sdk/models/shared/files.md
57-
- docs/sdk/models/shared/partitionparameters.md
60+
- docs/sdk/models/shared/strategy.md
61+
- docs/sdk/models/shared/bodypartitionparameters.md
5862
- docs/sdk/models/shared/security.md
63+
- docs/sdk/models/errors/httpvalidationerror.md
5964
- USAGE.md
6065
- .gitattributes

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,14 @@ Based on:
272272
### Generated
273273
- [typescript v0.10.2] .
274274
### Releases
275-
- [NPM v0.10.2] https://www.npmjs.com/package/unstructured-client/v/0.10.2 - .
275+
- [NPM v0.10.2] https://www.npmjs.com/package/unstructured-client/v/0.10.2 - .
276+
277+
## 2024-02-19 00:21:50
278+
### Changes
279+
Based on:
280+
- OpenAPI Doc 0.0.64
281+
- Speakeasy CLI 1.183.2 (2.262.2) https://github.com/speakeasy-api/speakeasy
282+
### Generated
283+
- [typescript v0.10.3] .
284+
### Releases
285+
- [NPM v0.10.3] https://www.npmjs.com/package/unstructured-client/v/0.10.3 - .

USAGE.md

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

56
async function run() {
67
const sdk = new UnstructuredClient({
@@ -10,22 +11,17 @@ async function run() {
1011
});
1112

1213
const res = await sdk.general.partition({
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",
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,
2024
},
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",
2925
});
3026

3127
if (res.statusCode == 200) {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# PartitionParametersRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
8+
| `bodyPartitionParameters` | [shared.BodyPartitionParameters](../../../sdk/models/shared/bodypartitionparameters.md) | :heavy_check_mark: | N/A |
9+
| `unstructuredApiKey` | *string* | :heavy_minus_sign: | N/A |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PartitionParametersResponse
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+
| `responsePartitionParameters` | [shared.Element](../../../sdk/models/shared/element.md)[] | :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 |

docs/sdk/models/operations/partitionresponse.md

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

0 commit comments

Comments
 (0)