Skip to content

Commit 8c7bfb4

Browse files
authored
Merge pull request #12 from Unstructured-IO/speakeasy-sdk-regen-1700094085
chore: 🐝 Update SDK - Generate
2 parents cdd12cb + bd54ab2 commit 8c7bfb4

File tree

14 files changed

+42
-22
lines changed

14 files changed

+42
-22
lines changed

RELEASES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,24 @@ Based on:
212212
### Generated
213213
- [typescript v0.9.2] .
214214
### Releases
215-
- [NPM v0.9.2] https://www.npmjs.com/package/unstructured-client/v/0.9.2 - .
215+
- [NPM v0.9.2] https://www.npmjs.com/package/unstructured-client/v/0.9.2 - .
216+
217+
## 2023-11-16 00:21:23
218+
### Changes
219+
Based on:
220+
- OpenAPI Doc 0.0.1
221+
- Speakeasy CLI 1.120.3 (2.192.1) https://github.com/speakeasy-api/speakeasy
222+
### Generated
223+
- [typescript v0.9.3] .
224+
### Releases
225+
- [NPM v0.9.3] https://www.npmjs.com/package/unstructured-client/v/0.9.3 - .
226+
227+
## 2023-11-18 00:20:51
228+
### Changes
229+
Based on:
230+
- OpenAPI Doc 0.0.1
231+
- Speakeasy CLI 1.121.1 (2.194.1) https://github.com/speakeasy-api/speakeasy
232+
### Generated
233+
- [typescript v0.9.4] .
234+
### Releases
235+
- [NPM v0.9.4] https://www.npmjs.com/package/unstructured-client/v/0.9.4 - .

docs/sdk/models/errors/httpvalidationerror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
8-
| `detail` | [errors.ValidationError](../../../sdk/models/errors/validationerror.md)[] | :heavy_minus_sign: | N/A |
8+
| `detail` | [shared.ValidationError](../../../sdk/models/shared/validationerror.md)[] | :heavy_minus_sign: | N/A |

docs/sdk/models/operations/partitionresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
99
| `elements` | *any*[] | :heavy_minus_sign: | Successful Response |
1010
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
File renamed without changes.

files.gen

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ src/sdk/types/rfcdate.ts
2121
tsconfig.json
2222
src/sdk/models/operations/partition.ts
2323
src/sdk/models/errors/httpvalidationerror.ts
24-
src/sdk/models/errors/validationerror.ts
24+
src/sdk/models/shared/validationerror.ts
2525
src/sdk/models/shared/partitionparameters.ts
2626
src/sdk/models/shared/security.ts
2727
src/sdk/models/errors/index.ts
@@ -30,7 +30,7 @@ src/sdk/models/shared/index.ts
3030
USAGE.md
3131
docs/sdk/models/operations/partitionresponse.md
3232
docs/sdk/models/errors/httpvalidationerror.md
33-
docs/sdk/models/errors/validationerror.md
33+
docs/sdk/models/shared/validationerror.md
3434
docs/sdk/models/shared/files.md
3535
docs/sdk/models/shared/partitionparameters.md
3636
docs/sdk/models/shared/security.md

gen.yaml

Lines changed: 5 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.118.3
6-
generationVersion: 2.187.7
5+
speakeasyVersion: 1.121.1
6+
generationVersion: 2.194.1
77
generation:
88
comments: {}
99
sdkClassName: unstructured_client
@@ -12,15 +12,15 @@ generation:
1212
optionalPropertyRendering: withExample
1313
features:
1414
typescript:
15-
core: 3.1.3
15+
core: 3.1.4
1616
examples: 2.81.3
1717
globalSecurity: 2.82.0
18-
globalServerURLs: 2.82.0
18+
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.2
23+
version: 0.9.4
2424
author: Unstructured
2525
clientServerStatusCodesAsErrors: true
2626
flattenGlobalSecurity: false

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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unstructured-client",
3-
"version": "0.9.2",
3+
"version": "0.9.4",
44
"author": "Unstructured",
55
"scripts": {
66
"prepare": "tsc --build",

src/sdk/models/errors/httpvalidationerror.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
*/
44

55
import { SpeakeasyMetadata } from "../../../internal/utils";
6-
import { ValidationError } from "./validationerror";
6+
import * as shared from "../../../sdk/models/shared";
77
import { classToPlain, Expose, Type } from "class-transformer";
88

99
export class HTTPValidationError extends Error {
10-
@SpeakeasyMetadata({ elemType: ValidationError })
10+
@SpeakeasyMetadata({ elemType: shared.ValidationError })
1111
@Expose({ name: "detail" })
12-
@Type(() => ValidationError)
13-
detail?: ValidationError[];
12+
@Type(() => shared.ValidationError)
13+
detail?: shared.ValidationError[];
1414

1515
constructor(err?: HTTPValidationError) {
1616
super();

src/sdk/models/errors/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44

55
export * from "./httpvalidationerror";
66
export * from "./sdkerror";
7-
export * from "./validationerror";

0 commit comments

Comments
 (0)