Skip to content

chore: 🐝 Update SDK - Generate 0.15.0 #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/funcs
/core.*
/esm
/dist
/.tshy
Expand Down
19 changes: 11 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
lockVersion: 2.0.0
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
management:
docChecksum: 313cde7d6359c03a54d049d16912ef28
docChecksum: c7313350429cfbfee15e585ae670a003
docVersion: 1.0.43
speakeasyVersion: 1.352.2
generationVersion: 2.385.2
releaseVersion: 0.14.3
configChecksum: 24d1b79c19f3f663bcb751438a2b57a1
speakeasyVersion: 1.359.1
generationVersion: 2.392.0
releaseVersion: 0.15.0
configChecksum: 11c1dd5bf35cf3f7dc7bd0742f95d969
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
published: true
features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.5
core: 3.11.13
constsAndDefaults: 0.1.6
core: 3.13.0
defaultEnabledRetries: 0.1.0
envVarSecurityUsage: 0.1.1
examples: 2.81.4
globalSecurity: 2.82.10
globalSecurity: 2.82.11
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.4
nameOverrides: 2.81.2
Expand All @@ -31,20 +31,23 @@ features:
serverIDs: 2.81.2
unions: 2.85.6
generatedFiles:
- src/funcs/generalPartition.ts
- src/sdk/general.ts
- src/sdk/sdk.ts
- .eslintrc.cjs
- .npmignore
- RUNTIMES.md
- jsr.json
- package.json
- src/core.ts
- src/index.ts
- src/lib/base64.ts
- src/lib/config.ts
- src/lib/dlv.ts
- src/lib/encodings.ts
- src/lib/http.ts
- src/lib/is-plain-object.ts
- src/lib/logger.ts
- src/lib/matchers.ts
- src/lib/primitives.ts
- src/lib/retries.ts
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.352.2
speakeasyVersion: 1.359.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:45a4bd066d93e632ee139a9c8afb536117a0be09ef5a8f1bfa356c101e012d41
sourceBlobDigest: sha256:4ad78f23f149b3fb49d550e719cc9fb021ec2762756d5c7b06e8112e946b4619
sourceRevisionDigest: sha256:9ab29824f7505ff71711f8f49a72ed57c3afb89cb532e19ae2bed5c726e5d02b
sourceBlobDigest: sha256:8ed51c45bd1d42d39581285661c0c68eb9b3fb30a07447011733da7f7e436ef3
tags:
- latest
- main
targets:
unstructed-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:45a4bd066d93e632ee139a9c8afb536117a0be09ef5a8f1bfa356c101e012d41
sourceBlobDigest: sha256:4ad78f23f149b3fb49d550e719cc9fb021ec2762756d5c7b06e8112e946b4619
sourceRevisionDigest: sha256:9ab29824f7505ff71711f8f49a72ed57c3afb89cb532e19ae2bed5c726e5d02b
sourceBlobDigest: sha256:8ed51c45bd1d42d39581285661c0c68eb9b3fb30a07447011733da7f7e436ef3
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ async function run() {
partitionParameters: {
files: await openAsBlob("./sample-file"),
chunkingStrategy: ChunkingStrategy.ByTitle,
splitPdfPageRange: [1, 10],
strategy: Strategy.HiRes,
},
},
Expand Down Expand Up @@ -229,6 +230,7 @@ async function run() {
partitionParameters: {
files: await openAsBlob("./sample-file"),
chunkingStrategy: ChunkingStrategy.ByTitle,
splitPdfPageRange: [1, 10],
strategy: Strategy.HiRes,
},
});
Expand Down Expand Up @@ -301,6 +303,7 @@ async function run() {
partitionParameters: {
files: await openAsBlob("./sample-file"),
chunkingStrategy: ChunkingStrategy.ByTitle,
splitPdfPageRange: [1, 10],
strategy: Strategy.HiRes,
},
});
Expand All @@ -320,6 +323,21 @@ run();
<!-- No Error Handling -->
<!-- No Server Selection -->

<!-- Start Debugging [debug] -->
## Debugging

To log HTTP requests and responses, you can pass a logger that matches `console`'s interface as an SDK option.

> [!WARNING]
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.

```typescript
import { UnstructuredClient } from "unstructured-client";

const sdk = new UnstructuredClient({ debugLogger: console });
```
<!-- End Debugging [debug] -->

<!-- Placeholder for Future Speakeasy SDK Sections -->

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

## 2024-08-09 19:22:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.359.1 (2.392.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.15.0] .
### Releases
- [NPM v0.15.0] https://www.npmjs.com/package/unstructured-client/v/0.15.0 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ async function run() {
partitionParameters: {
files: await openAsBlob("./sample-file"),
chunkingStrategy: ChunkingStrategy.ByTitle,
splitPdfPageRange: [1, 10],
strategy: Strategy.HiRes,
},
});
Expand Down
4 changes: 4 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ actions:
files: await openAsBlob("./sample-file"),
strategy: Strategy.Auto,
chunkingStrategy: ChunkingStrategy.Basic,
splitPdfPageRange: [
1,
10,
],
},
});

Expand Down
Loading
Loading