From 5c586027b2430e82f98a5a8f178697a3a72033d0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:12:17 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=90=9D=20Update=20SDK=20-=20Gene?= =?UTF-8?q?rate=200.18.1=20(#126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > [!IMPORTANT] > Linting report available at: > OpenAPI Change report available at: # 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 --- .speakeasy/gen.lock | 14 ++++++------- .speakeasy/workflow.lock | 10 +++++----- README.md | 3 +-- RELEASES.md | 12 +++++++++++- gen.yaml | 3 ++- jsr.json | 2 +- package-lock.json | 37 +++-------------------------------- package.json | 2 +- src/funcs/generalPartition.ts | 4 +--- src/lib/config.ts | 8 ++++---- 10 files changed, 36 insertions(+), 59 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0c5d88e..8615544 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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 @@ -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 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 3a8516d..99a1f6f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -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 @@ -11,8 +11,8 @@ 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 diff --git a/README.md b/README.md index 8550640..0a73768 100755 --- a/README.md +++ b/README.md @@ -313,8 +313,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). Available standalone functions -- [generalPartition](docs/sdks/general/README.md#partition) - +- [`generalPartition`](docs/sdks/general/README.md#partition) - Summary diff --git a/RELEASES.md b/RELEASES.md index 2d2f778..735d6cd 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index b6a569a..7134411 100644 --- a/gen.yaml +++ b/gen.yaml @@ -10,7 +10,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.18.0 + version: 0.18.1 additionalDependencies: dependencies: async: ^3.2.5 @@ -26,6 +26,7 @@ typescript: clientServerStatusCodesAsErrors: true enumFormat: enum flattenGlobalSecurity: false + flatteningOrder: body-first imports: option: openapi paths: diff --git a/jsr.json b/jsr.json index 1ea9028..c57fc90 100644 --- a/jsr.json +++ b/jsr.json @@ -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", diff --git a/package-lock.json b/package-lock.json index 09cfae2..4da2a46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,19 @@ { "name": "unstructured-client", - "version": "0.18.0", + "version": "0.18.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "unstructured-client", - "version": "0.18.0", + "version": "0.18.1", "dependencies": { "async": "^3.2.5", - "pdf-lib": "^1.17.1", - "uuid": "^10.0.0" + "pdf-lib": "^1.17.1" }, "devDependencies": { "@types/async": "^3.2.24", "@types/jest": "^29.5.12", - "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", "eslint": "^8.57.0", @@ -1482,12 +1480,6 @@ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "dev": true }, - "node_modules/@types/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", - "dev": true - }, "node_modules/@types/yargs": { "version": "17.0.32", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", @@ -6198,18 +6190,6 @@ "punycode": "^2.1.0" } }, - "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", @@ -7550,12 +7530,6 @@ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "dev": true }, - "@types/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", - "dev": true - }, "@types/yargs": { "version": "17.0.32", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", @@ -10930,11 +10904,6 @@ "punycode": "^2.1.0" } }, - "uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" - }, "v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", diff --git a/package.json b/package.json index f876c20..ba847c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unstructured-client", - "version": "0.18.0", + "version": "0.18.1", "author": "Unstructured", "main": "./index.js", "sideEffects": false, diff --git a/src/funcs/generalPartition.ts b/src/funcs/generalPartition.ts index cb7f4ab..fb40638 100644 --- a/src/funcs/generalPartition.ts +++ b/src/funcs/generalPartition.ts @@ -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", ); diff --git a/src/lib/config.ts b/src/lib/config.ts index 0b82503..ace1cfe 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -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;