Skip to content

Commit 1c4b47f

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.94.0
1 parent 204ac81 commit 1c4b47f

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
@@ -946,4 +946,14 @@ Based on:
946946
### Generated
947947
- [typescript v1.59.1] .
948948
### Releases
949-
- [NPM v1.59.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.59.1 - .
949+
- [NPM v1.59.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.59.1 - .
950+
951+
## 2023-10-05 00:10:43
952+
### Changes
953+
Based on:
954+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
955+
- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy
956+
### Generated
957+
- [typescript v1.59.2] .
958+
### Releases
959+
- [NPM v1.59.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.59.2 - .

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 8c4f3932e054e1b349a9a34f12cf7e8c
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.92.3
6-
generationVersion: 2.143.2
5+
speakeasyVersion: 1.94.0
6+
generationVersion: 2.147.0
77
generation:
88
sdkClassName: speakeasy
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
features:
1212
typescript:
1313
acceptHeaders: 2.81.1
14-
core: 2.90.1
14+
core: 2.90.3
1515
examples: 2.81.2
1616
globalSecurity: 2.81.1
1717
globalServerURLs: 2.82.0
1818
inputOutputModels: 2.81.1
1919
serverIDs: 2.81.1
2020
typescript:
21-
version: 1.59.1
21+
version: 1.59.2
2222
author: Speakeasy
2323
maxMethodParams: 0
2424
packageName: '@speakeasy-api/speakeasy-client-sdk-typescript'

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": "@speakeasy-api/speakeasy-client-sdk-typescript",
3-
"version": "1.59.1",
3+
"version": "1.59.2",
44
"author": "Speakeasy",
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,10 +59,10 @@ export class SDKConfiguration {
5959
serverDefaults: any;
6060
language = "typescript";
6161
openapiDocVersion = "0.3.0";
62-
sdkVersion = "1.59.1";
63-
genVersion = "2.143.2";
62+
sdkVersion = "1.59.2";
63+
genVersion = "2.147.0";
6464
userAgent =
65-
"speakeasy-sdk/typescript 1.59.1 2.143.2 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
65+
"speakeasy-sdk/typescript 1.59.2 2.147.0 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript";
6666
retryConfig?: utils.RetryConfig;
6767
public constructor(init?: Partial<SDKConfiguration>) {
6868
Object.assign(this, init);

0 commit comments

Comments
 (0)