Skip to content

Commit 5af8dbc

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.94.0
1 parent 9fdf4ae commit 5af8dbc

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,14 @@ Based on:
102102
### Generated
103103
- [typescript v0.4.2] .
104104
### Releases
105-
- [NPM v0.4.2] https://www.npmjs.com/package/unstructured-client/v/0.4.2 - .
105+
- [NPM v0.4.2] https://www.npmjs.com/package/unstructured-client/v/0.4.2 - .
106+
107+
## 2023-10-05 00:20:13
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 0.0.1
111+
- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy
112+
### Generated
113+
- [typescript v0.4.3] .
114+
### Releases
115+
- [NPM v0.4.3] https://www.npmjs.com/package/unstructured-client/v/0.4.3 - .

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 25324f1821b1070aa4a416ec8ddca590
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.93.1
6-
generationVersion: 2.144.7
5+
speakeasyVersion: 1.94.0
6+
generationVersion: 2.147.0
77
generation:
88
comments:
99
disableComments: false
@@ -14,15 +14,15 @@ generation:
1414
tagNamespacingDisabled: false
1515
features:
1616
typescript:
17-
core: 2.90.1
17+
core: 2.90.3
1818
examples: 2.81.2
1919
globalSecurity: 2.81.1
2020
globalServerURLs: 2.82.0
2121
nameOverrides: 2.81.1
2222
retries: 2.82.1
2323
serverIDs: 2.81.1
2424
typescript:
25-
version: 0.4.2
25+
version: 0.4.3
2626
author: Unstructured
2727
clientServerStatusCodesAsErrors: true
2828
maxMethodParams: 0

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.4.2",
3+
"version": "0.4.3",
44
"author": "Unstructured",
55
"scripts": {
66
"prepare": "tsc --build"

src/internal/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class SpeakeasyBase {
8181
for (const prop of props) {
8282
if (payload && payload.hasOwnProperty(prop.key)) {
8383
const value = payload[prop.key];
84-
if (isSpeakeasyBase(prop.type)) {
84+
if (isSpeakeasyBase(prop.type) && value != null) {
8585
(this as any)[prop.key] = new prop.type(value);
8686
} else if (
8787
prop.type.name == "Array" &&

src/sdk/sdk.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ export class SDKConfiguration {
5959
serverDefaults: any;
6060
language = "typescript";
6161
openapiDocVersion = "0.0.1";
62-
sdkVersion = "0.4.2";
63-
genVersion = "2.144.7";
64-
userAgent = "speakeasy-sdk/typescript 0.4.2 2.144.7 0.0.1 unstructured-client";
62+
sdkVersion = "0.4.3";
63+
genVersion = "2.147.0";
64+
userAgent = "speakeasy-sdk/typescript 0.4.3 2.147.0 0.0.1 unstructured-client";
6565
retryConfig?: utils.RetryConfig;
6666
public constructor(init?: Partial<SDKConfiguration>) {
6767
Object.assign(this, init);

0 commit comments

Comments
 (0)