Skip to content

Commit ce8d934

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.126.0
1 parent 8c7bfb4 commit ce8d934

File tree

12 files changed

+37
-139
lines changed

12 files changed

+37
-139
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,35 +90,31 @@ const client = new UnstructuredClient({
9090
});
9191
```
9292

93-
<!-- Start Dev Containers -->
94-
95-
<!-- End Dev Containers -->
96-
9793

9894
<!-- No SDK Example Usage -->
9995
<!-- No SDK Available Operations -->
10096
<!-- No Pagination -->
10197
<!-- No Error Handling -->
10298
<!-- No Server Selection -->
10399

104-
<!-- Start Custom HTTP Client -->
100+
<!-- Start Custom HTTP Client [http-client] -->
105101
## Custom HTTP Client
106102

107-
The Typescript SDK makes API calls using the (axios)[https://axios-http.com/docs/intro] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `AxiosInstance` object.
103+
The Typescript SDK makes API calls using the [axios](https://axios-http.com/docs/intro) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `AxiosInstance` object.
108104

109105
For example, you could specify a header for every request that your sdk makes as follows:
110106

111107
```typescript
112-
from unstructured-client import UnstructuredClient;
113-
import axios;
108+
import { unstructured-client } from "UnstructuredClient";
109+
import axios from "axios";
114110

115111
const httpClient = axios.create({
116112
headers: {'x-custom-header': 'someValue'}
117113
})
118114

119115
const sdk = new UnstructuredClient({defaultClient: httpClient});
120116
```
121-
<!-- End Custom HTTP Client -->
117+
<!-- End Custom HTTP Client [http-client] -->
122118
<!-- No Retries -->
123119
<!-- No Authentication -->
124120

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,14 @@ Based on:
232232
### Generated
233233
- [typescript v0.9.4] .
234234
### Releases
235-
- [NPM v0.9.4] https://www.npmjs.com/package/unstructured-client/v/0.9.4 - .
235+
- [NPM v0.9.4] https://www.npmjs.com/package/unstructured-client/v/0.9.4 - .
236+
237+
## 2023-12-12 00:21:57
238+
### Changes
239+
Based on:
240+
- OpenAPI Doc 0.0.1
241+
- Speakeasy CLI 1.126.0 (2.213.3) https://github.com/speakeasy-api/speakeasy
242+
### Generated
243+
- [typescript v0.10.0] .
244+
### Releases
245+
- [NPM v0.10.0] https://www.npmjs.com/package/unstructured-client/v/0.10.0 - .

USAGE.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<!-- Start SDK Example Usage -->
1+
<!-- Start SDK Example Usage [usage] -->
22
```typescript
33
import { UnstructuredClient } from "unstructured-client";
44

5-
(async () => {
5+
async function run() {
66
const sdk = new UnstructuredClient({
77
security: {
88
apiKeyAuth: "YOUR_API_KEY",
@@ -23,14 +23,16 @@ import { UnstructuredClient } from "unstructured-client";
2323
maxCharacters: 1500,
2424
newAfterNChars: 1500,
2525
outputFormat: "application/json",
26-
skipInferTableTypes: ["p", "d", "f"],
26+
skipInferTableTypes: ["pdf"],
2727
strategy: "hi_res",
2828
});
2929

3030
if (res.statusCode == 200) {
3131
// handle response
3232
}
33-
})();
33+
}
34+
35+
run();
3436

3537
```
36-
<!-- End SDK Example Usage -->
38+
<!-- End SDK Example Usage [usage] -->

docs/internal/utils/retryconfig.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/sdk/models/shared/partitionparameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
| `newAfterNChars` | *number* | :heavy_minus_sign: | If chunking strategy is set, cut off new sections after reaching a length of n chars (soft max). Default: 1500 | 1500 |
2020
| `outputFormat` | *string* | :heavy_minus_sign: | The format of the response. Supported formats are application/json and text/csv. Default: application/json. | application/json |
2121
| `pdfInferTableStructure` | *boolean* | :heavy_minus_sign: | If True and strategy=hi_res, any Table Elements extracted from a PDF will include an additional metadata field, 'text_as_html', where the value (string) is a just a transformation of the data into an HTML <table>. | |
22-
| `skipInferTableTypes` | *string*[] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: ['pdf', 'jpg', 'png'] | pdf |
22+
| `skipInferTableTypes` | *string*[] | :heavy_minus_sign: | The document types that you want to skip table extraction with. Default: ['pdf', 'jpg', 'png'] | |
2323
| `strategy` | *string* | :heavy_minus_sign: | The strategy to use for partitioning PDF/image. Options are fast, hi_res, auto. Default: auto | hi_res |
2424
| `xmlKeepTags` | *boolean* | :heavy_minus_sign: | If True, will retain the XML tags in the output. Otherwise it will simply extract the text from within the tags. Only applies to partition_xml. | |

docs/sdks/general/README.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

docs/sdks/unstructuredclient/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

files.gen

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ src/sdk/models/shared/security.ts
2727
src/sdk/models/errors/index.ts
2828
src/sdk/models/operations/index.ts
2929
src/sdk/models/shared/index.ts
30-
USAGE.md
3130
docs/sdk/models/operations/partitionresponse.md
3231
docs/sdk/models/errors/httpvalidationerror.md
3332
docs/sdk/models/shared/validationerror.md
3433
docs/sdk/models/shared/files.md
3534
docs/sdk/models/shared/partitionparameters.md
3635
docs/sdk/models/shared/security.md
37-
docs/sdks/unstructuredclient/README.md
38-
docs/internal/utils/retryconfig.md
39-
docs/sdks/general/README.md
36+
USAGE.md
4037
.gitattributes

gen.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: bf57420eebd40f2b1d166092f01e3927
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.121.1
6-
generationVersion: 2.194.1
5+
speakeasyVersion: 1.126.0
6+
generationVersion: 2.213.3
77
generation:
88
comments: {}
99
sdkClassName: unstructured_client
@@ -12,15 +12,15 @@ generation:
1212
optionalPropertyRendering: withExample
1313
features:
1414
typescript:
15-
core: 3.1.4
15+
core: 3.3.0
1616
examples: 2.81.3
17-
globalSecurity: 2.82.0
17+
globalSecurity: 2.82.1
1818
globalServerURLs: 2.82.1
1919
nameOverrides: 2.81.1
2020
retries: 2.82.1
2121
serverIDs: 2.81.2
2222
typescript:
23-
version: 0.9.4
23+
version: 0.10.0
2424
author: Unstructured
2525
clientServerStatusCodesAsErrors: true
2626
flattenGlobalSecurity: false
@@ -39,3 +39,4 @@ typescript:
3939
packageName: unstructured-client
4040
published: true
4141
repoSubDirectory: .
42+
templateVersion: v1

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)