Skip to content

Commit 1599814

Browse files
github-actions[bot]speakeasybotspeakeasy-github
authored
chore: 🐝 Update SDK - Generate (#36)
# SDK update Based on: - OpenAPI Doc 0.0.1 - Speakeasy CLI 1.207.1 (2.280.6) https://github.com/speakeasy-api/speakeasy ## TYPESCRIPT CHANGELOG ## globalServerURLs: 2.82.2 - 2024-02-07 ### 🐛 Bug Fixes - support SDKs that do not have global servers *(commit by [@disintegrator](https://github.com/disintegrator))* --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github <[email protected]>
1 parent bf8690b commit 1599814

File tree

6 files changed

+24
-14
lines changed

6 files changed

+24
-14
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
33
management:
44
docChecksum: a112aea005467aa6818696fa4e99fcfe
55
docVersion: 0.0.1
6-
speakeasyVersion: internal
7-
generationVersion: 2.277.0
8-
releaseVersion: 0.10.5
9-
configChecksum: 96a63e97d3dac8e37820f1f5fc324692
6+
speakeasyVersion: 1.207.1
7+
generationVersion: 2.280.6
8+
releaseVersion: 0.10.6
9+
configChecksum: 4305e59294be7a295886d59121dc5994
1010
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
@@ -16,7 +16,7 @@ features:
1616
core: 3.4.8
1717
examples: 2.81.3
1818
globalSecurity: 2.82.4
19-
globalServerURLs: 2.82.1
19+
globalServerURLs: 2.82.2
2020
nameOverrides: 2.81.1
2121
retries: 2.82.1
2222
serverIDs: 2.81.2

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,14 @@ Based on:
302302
### Generated
303303
- [typescript v0.10.5] .
304304
### Releases
305-
- [NPM v0.10.5] https://www.npmjs.com/package/unstructured-client/v/0.10.5 - .
305+
- [NPM v0.10.5] https://www.npmjs.com/package/unstructured-client/v/0.10.5 - .
306+
307+
## 2024-03-13 00:20:48
308+
### Changes
309+
Based on:
310+
- OpenAPI Doc 0.0.1
311+
- Speakeasy CLI 1.207.1 (2.280.6) https://github.com/speakeasy-api/speakeasy
312+
### Generated
313+
- [typescript v0.10.6] .
314+
### Releases
315+
- [NPM v0.10.6] https://www.npmjs.com/package/unstructured-client/v/0.10.6 - .

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
typescript:
13-
version: 0.10.5
13+
version: 0.10.6
1414
author: Unstructured
1515
clientServerStatusCodesAsErrors: true
1616
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.10.5",
3+
"version": "0.10.6",
44
"author": "Unstructured",
55
"scripts": {
66
"prepare": "tsc --build",

src/sdk/sdk.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export class SDKConfiguration {
6060
serverDefaults: any;
6161
language = "typescript";
6262
openapiDocVersion = "0.0.1";
63-
sdkVersion = "0.10.5";
64-
genVersion = "2.277.0";
65-
userAgent = "speakeasy-sdk/typescript 0.10.5 2.277.0 0.0.1 unstructured-client";
63+
sdkVersion = "0.10.6";
64+
genVersion = "2.280.6";
65+
userAgent = "speakeasy-sdk/typescript 0.10.6 2.280.6 0.0.1 unstructured-client";
6666
retryConfig?: utils.RetryConfig;
6767
public constructor(init?: Partial<SDKConfiguration>) {
6868
Object.assign(this, init);
@@ -79,9 +79,9 @@ export class UnstructuredClient {
7979

8080
constructor(props?: SDKProps) {
8181
let serverURL = props?.serverURL;
82-
const server = props?.server ?? ServerProd;
8382

8483
if (!serverURL) {
84+
const server = props?.server ?? ServerProd;
8585
serverURL = ServerList[server];
8686
}
8787

0 commit comments

Comments
 (0)