Skip to content

Commit 883bff3

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.448.2
1 parent ea0d6c4 commit 883bff3

31 files changed

+740
-127
lines changed

.speakeasy/gen.lock

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
lockVersion: 2.0.0
22
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
33
management:
4-
docChecksum: 0ecb1bbbef6c9805d6a3edcc0afd098a
5-
docVersion: 1.0.51
6-
speakeasyVersion: 1.422.1
7-
generationVersion: 2.438.15
8-
releaseVersion: 0.18.2
9-
configChecksum: ca25abf7161ef39bf7793f0e79caf68e
4+
docChecksum: 8d506b1ffd97e543e2e47eb19a17c2b7
5+
docVersion: 1.0.53
6+
speakeasyVersion: 1.448.2
7+
generationVersion: 2.467.4
8+
releaseVersion: 0.19.0
9+
configChecksum: 80f77facd6c156a69cbb87dc6ac0c21f
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
1313
published: true
1414
features:
1515
typescript:
16+
acceptHeaders: 2.81.2
1617
additionalDependencies: 0.1.0
1718
constsAndDefaults: 0.1.11
18-
core: 3.18.2
19+
core: 3.18.7
1920
defaultEnabledRetries: 0.1.0
2021
enumUnions: 0.1.0
21-
envVarSecurityUsage: 0.1.1
22+
envVarSecurityUsage: 0.1.2
2223
examples: 2.81.4
2324
globalSecurity: 2.82.11
2425
globalSecurityCallbacks: 0.1.0
@@ -28,9 +29,9 @@ features:
2829
openEnums: 0.1.1
2930
responseFormat: 0.2.3
3031
retries: 2.83.0
31-
sdkHooks: 0.1.0
32+
sdkHooks: 0.2.0
3233
serverIDs: 2.81.2
33-
unions: 2.85.7
34+
unions: 2.85.8
3435
uploadStreams: 0.1.0
3536
generatedFiles:
3637
- .eslintrc.cjs
@@ -40,6 +41,7 @@ generatedFiles:
4041
- FUNCTIONS.md
4142
- RUNTIMES.md
4243
- USAGE.md
44+
- docs/lib/utils/retryconfig.md
4345
- docs/sdk/models/errors/detail.md
4446
- docs/sdk/models/errors/httpvalidationerror.md
4547
- docs/sdk/models/errors/servererror.md
@@ -53,6 +55,8 @@ generatedFiles:
5355
- docs/sdk/models/shared/security.md
5456
- docs/sdk/models/shared/strategy.md
5557
- docs/sdk/models/shared/validationerror.md
58+
- docs/sdks/general/README.md
59+
- docs/sdks/unstructuredclient/README.md
5660
- jsr.json
5761
- package.json
5862
- src/core.ts
@@ -108,7 +112,9 @@ examples:
108112
responses:
109113
"200":
110114
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]
115+
text/csv: "<value>"
111116
"422":
112117
application/json: {"detail": []}
113118
5XX:
114119
application/json: {"detail": "An error occurred"}
120+
generatedTests: {}

.speakeasy/workflow.lock

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
speakeasyVersion: 1.422.1
1+
speakeasyVersion: 1.448.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:7904e30126e3e30e77b56f6d901513e7009cbdc1d433dd7f6baa7da71a31b79a
6-
sourceBlobDigest: sha256:4747157b44baaa540a909f6947d16b08b096845a816819d9b0d35d074561fb68
5+
sourceRevisionDigest: sha256:279178b521ccede805f3c84201f0d1a5a12033a86c60186eeabcee8890d7f473
6+
sourceBlobDigest: sha256:a2bf8dca69830e6a4ab9fb0b002a158e7a0b88d958478750bc3892f497e33848
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1731198560
10+
- 1.0.53
1011
targets:
1112
unstructed-typescript:
1213
source: my-source
1314
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:7904e30126e3e30e77b56f6d901513e7009cbdc1d433dd7f6baa7da71a31b79a
15-
sourceBlobDigest: sha256:4747157b44baaa540a909f6947d16b08b096845a816819d9b0d35d074561fb68
15+
sourceRevisionDigest: sha256:279178b521ccede805f3c84201f0d1a5a12033a86c60186eeabcee8890d7f473
16+
sourceBlobDigest: sha256:a2bf8dca69830e6a4ab9fb0b002a158e7a0b88d958478750bc3892f497e33848
17+
codeSamplesNamespace: my-source-typescript-code-samples
18+
codeSamplesRevisionDigest: sha256:03c9f5276a0c2d024fa6673961f9d873d2eae6d7a6f06f0bcbd4bbb3cb246690
1619
workflow:
1720
workflowVersion: 1.0.0
1821
speakeasyVersion: latest
@@ -33,3 +36,5 @@ workflow:
3336
token: $NPM_TOKEN
3437
codeSamples:
3538
output: codeSamples.yaml
39+
registry:
40+
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-typescript-code-samples

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ targets:
1717
token: $NPM_TOKEN
1818
codeSamples:
1919
output: codeSamples.yaml
20+
registry:
21+
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-typescript-code-samples

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -268,19 +268,17 @@ client.general.partition({
268268
269269
<!-- Start Table of Contents [toc] -->
270270
## Table of Contents
271+
<!-- $toc-max-depth=2 -->
272+
* [SDK Installation](#sdk-installation)
273+
* [SDK Example Usage](#sdk-example-usage)
274+
* [Change the base URL](#change-the-base-url)
275+
* [Custom HTTP Client](#custom-http-client)
276+
* [Retries](#retries)
277+
* [Requirements](#requirements)
278+
* [Standalone functions](#standalone-functions)
279+
* [File uploads](#file-uploads)
280+
* [Debugging](#debugging)
271281
272-
* [SDK Installation](#sdk-installation)
273-
* [Requirements](#requirements)
274-
* [SDK Example Usage](#sdk-example-usage)
275-
* [Available Resources and Operations](#available-resources-and-operations)
276-
* [Standalone functions](#standalone-functions)
277-
* [File uploads](#file-uploads)
278-
* [Retries](#retries)
279-
* [Error Handling](#error-handling)
280-
* [Server Selection](#server-selection)
281-
* [Custom HTTP Client](#custom-http-client)
282-
* [Authentication](#authentication)
283-
* [Debugging](#debugging)
284282
<!-- End Table of Contents [toc] -->
285283
286284
<!-- Start Requirements [requirements] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,4 +504,14 @@ Based on:
504504
### Generated
505505
- [typescript v0.18.2] .
506506
### Releases
507-
- [NPM v0.18.2] https://www.npmjs.com/package/unstructured-client/v/0.18.2 - .
507+
- [NPM v0.18.2] https://www.npmjs.com/package/unstructured-client/v/0.18.2 - .
508+
509+
## 2024-12-01 00:35:45
510+
### Changes
511+
Based on:
512+
- OpenAPI Doc
513+
- Speakeasy CLI 1.448.2 (2.467.4) https://github.com/speakeasy-api/speakeasy
514+
### Generated
515+
- [typescript v0.19.0] .
516+
### Releases
517+
- [NPM v0.19.0] https://www.npmjs.com/package/unstructured-client/v/0.19.0 - .

docs/lib/utils/retryconfig.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# RetryConfig
2+
3+
Allows customizing the default retry configuration. It is only permitted in methods that accept retry policies.
4+
5+
## Fields
6+
7+
| Name | Type | Description | Example |
8+
| ------------------------- | ----------------------------------- | ------------------------------------------------------------------------------------------ | ----------- |
9+
| `strategy` | `"backoff" | "none"` | The retry strategy to use. | `"backoff"` |
10+
| `backoff` | [BackoffStrategy](#backoffstrategy) | When strategy is "backoff", this configurates for the backoff parameters. | |
11+
| `retryConnectionErrors` | `*boolean*` | When strategy is "backoff", this determines whether or not to retry on connection errors. | `true` |
12+
13+
## BackoffStrategy
14+
15+
The backoff strategy allows retrying a request with an exponential backoff between each retry.
16+
17+
### Fields
18+
19+
| Name | Type | Description | Example |
20+
| ------------------ | ------------ | ----------------------------------------- | -------- |
21+
| `initialInterval` | `*number*` | The initial interval in milliseconds. | `500` |
22+
| `maxInterval` | `*number*` | The maximum interval in milliseconds. | `60000` |
23+
| `exponent` | `*number*` | The exponent to use for the backoff. | `1.5` |
24+
| `maxElapsedTime` | `*number*` | The maximum elapsed time in milliseconds. | `300000` |

docs/sdk/models/operations/partitionresponse.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { PartitionResponse } from "unstructured-client/sdk/models/operations";
77

88
let value: PartitionResponse = {
99
contentType: "<value>",
10+
statusCode: 306,
11+
rawResponse: new Response("{\"message\": \"hello world\"}", {
12+
headers: { "Content-Type": "application/json" },
13+
}),
1014
elements: [
1115
{
1216
"type": "Title",
@@ -23,10 +27,6 @@ let value: PartitionResponse = {
2327
},
2428
},
2529
],
26-
statusCode: 306,
27-
rawResponse: new Response("{\"message\": \"hello world\"}", {
28-
headers: { "Content-Type": "application/json" },
29-
}),
3030
};
3131
```
3232

@@ -35,6 +35,7 @@ let value: PartitionResponse = {
3535
| Field | Type | Required | Description |
3636
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
3737
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
38-
| `elements` | Record<string, *any*>[] | :heavy_minus_sign: | Successful Response |
3938
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
40-
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
39+
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
40+
| `csvElements` | *string* | :heavy_minus_sign: | Successful Response |
41+
| `elements` | Record<string, *any*>[] | :heavy_minus_sign: | Successful Response |

0 commit comments

Comments
 (0)