Skip to content

Commit e830b7b

Browse files
chore: 🐝 Update SDK - Generate 0.17.2 (#116)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/10ab26bba9b77af1232c25d5d40e1c9f> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/e5e9f8f68b24703fd358a60d5cdcef59> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.402.14 (2.422.22) https://github.com/speakeasy-api/speakeasy ## OpenAPI Change Summary ``` └─┬Info └──[🔀] version (5:16) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | Co-authored-by: speakeasybot <[email protected]>
1 parent 0a63b0b commit e830b7b

File tree

14 files changed

+38
-28
lines changed

14 files changed

+38
-28
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 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: e1ddcc2cf71c4056b8ea02935f420820
5-
docVersion: 1.0.48
6-
speakeasyVersion: 1.401.2
7-
generationVersion: 2.421.3
8-
releaseVersion: 0.17.1
9-
configChecksum: 1055fe9a71bdb4cdbbe397b0bc8f8d65
4+
docChecksum: 2abad0a9424f43665ea6a06d7f1db4ca
5+
docVersion: 1.0.50
6+
speakeasyVersion: 1.402.14
7+
generationVersion: 2.422.22
8+
releaseVersion: 0.17.2
9+
configChecksum: 59e68a7c488e725f2e91d1b372de6958
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -15,7 +15,7 @@ features:
1515
typescript:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.11
18-
core: 3.17.6
18+
core: 3.17.7
1919
defaultEnabledRetries: 0.1.0
2020
enumUnions: 0.1.0
2121
envVarSecurityUsage: 0.1.1

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.401.2
1+
speakeasyVersion: 1.402.14
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
6-
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
5+
sourceRevisionDigest: sha256:9f9fd4ae0320f28c292ea90778bfa55ecfad47d42e93d27d0bae0a10fca34eb9
6+
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructed-typescript:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
15-
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
14+
sourceRevisionDigest: sha256:9f9fd4ae0320f28c292ea90778bfa55ecfad47d42e93d27d0bae0a10fca34eb9
15+
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
1616
workflow:
1717
workflowVersion: 1.0.0
1818
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function run() {
6262
const { value: result } = res;
6363

6464
// Handle the result
65-
console.log(result)
65+
console.log(result);
6666
}
6767

6868
run();

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,4 +464,14 @@ Based on:
464464
### Generated
465465
- [typescript v0.17.1] .
466466
### Releases
467-
- [NPM v0.17.1] https://www.npmjs.com/package/unstructured-client/v/0.17.1 - .
467+
- [NPM v0.17.1] https://www.npmjs.com/package/unstructured-client/v/0.17.1 - .
468+
469+
## 2024-09-26 00:26:37
470+
### Changes
471+
Based on:
472+
- OpenAPI Doc
473+
- Speakeasy CLI 1.402.14 (2.422.22) https://github.com/speakeasy-api/speakeasy
474+
### Generated
475+
- [typescript v0.17.2] .
476+
### Releases
477+
- [NPM v0.17.2] https://www.npmjs.com/package/unstructured-client/v/0.17.2 - .

codeSamples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ actions:
88
"x-codeSamples":
99
- "lang": "typescript"
1010
"label": "partition"
11-
"source": "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { ChunkingStrategy, Strategy } from \"unstructured-client/sdk/models/shared\";\n\nconst unstructuredClient = new UnstructuredClient();\n\nasync function run() {\n const result = await unstructuredClient.general.partition({\n partitionParameters: {\n files: await openAsBlob(\"example.file\"),\n strategy: Strategy.Auto,\n chunkingStrategy: ChunkingStrategy.Basic,\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();"
11+
"source": "import { openAsBlob } from \"node:fs\";\nimport { UnstructuredClient } from \"unstructured-client\";\nimport { ChunkingStrategy, Strategy } from \"unstructured-client/sdk/models/shared\";\n\nconst unstructuredClient = new UnstructuredClient();\n\nasync function run() {\n const result = await unstructuredClient.general.partition({\n partitionParameters: {\n files: await openAsBlob(\"example.file\"),\n strategy: Strategy.Auto,\n chunkingStrategy: ChunkingStrategy.Basic,\n splitPdfPageRange: [\n 1,\n 10,\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"

docs/sdk/models/operations/partitionresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let value: PartitionResponse = {
2323
},
2424
},
2525
],
26-
statusCode: 548814,
26+
statusCode: 306,
2727
rawResponse: new Response("{\"message\": \"hello world\"}", {
2828
headers: { "Content-Type": "application/json" },
2929
}),

docs/sdk/models/shared/chunkingstrategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { ChunkingStrategy } from "unstructured-client/sdk/models/shared";
77

8-
let value: ChunkingStrategy = ChunkingStrategy.ByTitle;
8+
let value: ChunkingStrategy = ChunkingStrategy.Basic;
99
```
1010

1111
## Values

docs/sdk/models/shared/loc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { Loc } from "unstructured-client/sdk/models/shared";
77

8-
let value: Loc = 544883;
8+
let value: Loc = 423655;
99
```
1010

1111
## Supported Types

docs/sdk/models/shared/validationerror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ValidationError } from "unstructured-client/sdk/models/shared";
77

88
let value: ValidationError = {
99
loc: [
10-
"<value>",
10+
437587,
1111
],
1212
msg: "<value>",
1313
type: "<value>",

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
typescript:
13-
version: 0.17.1
13+
version: 0.17.2
1414
additionalDependencies:
1515
dependencies:
1616
async: ^3.2.5

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

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.17.1",
3+
"version": "0.17.2",
44
"author": "Unstructured",
55
"main": "./index.js",
66
"sideEffects": false,

src/lib/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6868

6969
export const SDK_METADATA = {
7070
language: "typescript",
71-
openapiDocVersion: "1.0.48",
72-
sdkVersion: "0.17.1",
73-
genVersion: "2.421.3",
71+
openapiDocVersion: "1.0.50",
72+
sdkVersion: "0.17.2",
73+
genVersion: "2.422.22",
7474
userAgent:
75-
"speakeasy-sdk/typescript 0.17.1 2.421.3 1.0.48 unstructured-client",
75+
"speakeasy-sdk/typescript 0.17.2 2.422.22 1.0.50 unstructured-client",
7676
} as const;

0 commit comments

Comments
 (0)