Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate 0.17.2 (#116)
Browse files Browse the repository at this point in the history
> [!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]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Sep 26, 2024
1 parent 0a63b0b commit e830b7b
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 28 deletions.
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
management:
docChecksum: e1ddcc2cf71c4056b8ea02935f420820
docVersion: 1.0.48
speakeasyVersion: 1.401.2
generationVersion: 2.421.3
releaseVersion: 0.17.1
configChecksum: 1055fe9a71bdb4cdbbe397b0bc8f8d65
docChecksum: 2abad0a9424f43665ea6a06d7f1db4ca
docVersion: 1.0.50
speakeasyVersion: 1.402.14
generationVersion: 2.422.22
releaseVersion: 0.17.2
configChecksum: 59e68a7c488e725f2e91d1b372de6958
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
Expand All @@ -15,7 +15,7 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.17.6
core: 3.17.7
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.1
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.401.2
speakeasyVersion: 1.402.14
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
sourceRevisionDigest: sha256:9f9fd4ae0320f28c292ea90778bfa55ecfad47d42e93d27d0bae0a10fca34eb9
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
tags:
- latest
- main
targets:
unstructed-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:a1cab617ff2e6f54400d7a1558b3a9dd86ec53c7db8e716cef2f90926c74798e
sourceBlobDigest: sha256:6b8cb9c93f74eb8c94e57469c73722791d51e77052bd0c4cf168aee14cd05ff3
sourceRevisionDigest: sha256:9f9fd4ae0320f28c292ea90778bfa55ecfad47d42e93d27d0bae0a10fca34eb9
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function run() {
const { value: result } = res;

// Handle the result
console.log(result)
console.log(result);
}

run();
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,4 +464,14 @@ Based on:
### Generated
- [typescript v0.17.1] .
### Releases
- [NPM v0.17.1] https://www.npmjs.com/package/unstructured-client/v/0.17.1 - .
- [NPM v0.17.1] https://www.npmjs.com/package/unstructured-client/v/0.17.1 - .

## 2024-09-26 00:26:37
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.402.14 (2.422.22) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.17.2] .
### Releases
- [NPM v0.17.2] https://www.npmjs.com/package/unstructured-client/v/0.17.2 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ actions:
"x-codeSamples":
- "lang": "typescript"
"label": "partition"
"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();"
"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();"
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/partitionresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let value: PartitionResponse = {
},
},
],
statusCode: 548814,
statusCode: 306,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/shared/chunkingstrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { ChunkingStrategy } from "unstructured-client/sdk/models/shared";

let value: ChunkingStrategy = ChunkingStrategy.ByTitle;
let value: ChunkingStrategy = ChunkingStrategy.Basic;
```

## Values
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/shared/loc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { Loc } from "unstructured-client/sdk/models/shared";

let value: Loc = 544883;
let value: Loc = 423655;
```

## Supported Types
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/shared/validationerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ValidationError } from "unstructured-client/sdk/models/shared";

let value: ValidationError = {
loc: [
"<value>",
437587,
],
msg: "<value>",
type: "<value>",
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.17.1
version: 0.17.2
additionalDependencies:
dependencies:
async: ^3.2.5
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "unstructured-client",
"version": "0.17.1",
"version": "0.17.2",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unstructured-client",
"version": "0.17.1",
"version": "0.17.2",
"author": "Unstructured",
"main": "./index.js",
"sideEffects": false,
Expand Down
8 changes: 4 additions & 4 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {

export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0.48",
sdkVersion: "0.17.1",
genVersion: "2.421.3",
openapiDocVersion: "1.0.50",
sdkVersion: "0.17.2",
genVersion: "2.422.22",
userAgent:
"speakeasy-sdk/typescript 0.17.1 2.421.3 1.0.48 unstructured-client",
"speakeasy-sdk/typescript 0.17.2 2.422.22 1.0.50 unstructured-client",
} as const;

0 comments on commit e830b7b

Please sign in to comment.