Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate 0.18.1 (#126)
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/192a103e08b63c11f0e339ced49685cb>
> OpenAPI Change report available at:
<https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/cf5b716a6c0a5a9676a9cea8247d4df5>
# SDK update
Based on:
- OpenAPI Doc  
- Speakeasy CLI 1.412.6 (2.436.3)
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 Oct 8, 2024
1 parent 6e6239f commit 5c58602
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 59 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: 2abad0a9424f43665ea6a06d7f1db4ca
docVersion: 1.0.50
speakeasyVersion: 1.403.3
generationVersion: 2.424.0
releaseVersion: 0.18.0
configChecksum: a7f768163666da1db6d3a4b3fa3a199c
docChecksum: 0ecb1bbbef6c9805d6a3edcc0afd098a
docVersion: 1.0.51
speakeasyVersion: 1.412.6
generationVersion: 2.436.3
releaseVersion: 0.18.1
configChecksum: 85feae8322e909e03a92ff8ccb1fdaf2
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.18.0
core: 3.18.2
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.403.3
speakeasyVersion: 1.412.6
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:ecc480f02170320aec000c633b53b2e09b5753b56f0619a14980873ce623646c
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
sourceRevisionDigest: sha256:4def9905d4dde07688c12b86adc3b3f080c4ecf25263ff896d3c7b902910e42a
sourceBlobDigest: sha256:4747157b44baaa540a909f6947d16b08b096845a816819d9b0d35d074561fb68
tags:
- latest
- main
targets:
unstructed-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:ecc480f02170320aec000c633b53b2e09b5753b56f0619a14980873ce623646c
sourceBlobDigest: sha256:339446a3ddb92ef648b5881135a44848f08cec15d2c4785d1000884ec29bd801
sourceRevisionDigest: sha256:4def9905d4dde07688c12b86adc3b3f080c4ecf25263ff896d3c7b902910e42a
sourceBlobDigest: sha256:4747157b44baaa540a909f6947d16b08b096845a816819d9b0d35d074561fb68
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
<summary>Available standalone functions</summary>
- [generalPartition](docs/sdks/general/README.md#partition)
- [`generalPartition`](docs/sdks/general/README.md#partition) - Summary
</details>
<!-- End Standalone functions [standalone-funcs] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,14 @@ Based on:
### Generated
- [typescript v0.18.0] .
### Releases
- [NPM v0.18.0] https://www.npmjs.com/package/unstructured-client/v/0.18.0 - .
- [NPM v0.18.0] https://www.npmjs.com/package/unstructured-client/v/0.18.0 - .

## 2024-10-08 22:54:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.412.6 (2.436.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.18.1] .
### Releases
- [NPM v0.18.1] https://www.npmjs.com/package/unstructured-client/v/0.18.1 - .
3 changes: 2 additions & 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.18.0
version: 0.18.1
additionalDependencies:
dependencies:
async: ^3.2.5
Expand All @@ -26,6 +26,7 @@ typescript:
clientServerStatusCodesAsErrors: true
enumFormat: enum
flattenGlobalSecurity: false
flatteningOrder: body-first
imports:
option: openapi
paths:
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.18.0",
"version": "0.18.1",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
Expand Down
37 changes: 3 additions & 34 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.18.0",
"version": "0.18.1",
"author": "Unstructured",
"main": "./index.js",
"sideEffects": false,
Expand Down
4 changes: 1 addition & 3 deletions src/funcs/generalPartition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ export async function generalPartition(
| ConnectionError
>
> {
const input = request;

const parsed = safeParse(
input,
request,
(value) => operations.PartitionRequest$outboundSchema.parse(value),
"Input validation failed",
);
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.50",
sdkVersion: "0.18.0",
genVersion: "2.424.0",
openapiDocVersion: "1.0.51",
sdkVersion: "0.18.1",
genVersion: "2.436.3",
userAgent:
"speakeasy-sdk/typescript 0.18.0 2.424.0 1.0.50 unstructured-client",
"speakeasy-sdk/typescript 0.18.1 2.436.3 1.0.51 unstructured-client",
} as const;

0 comments on commit 5c58602

Please sign in to comment.