Skip to content

Commit 81d0f63

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.82.3
1 parent 33062c2 commit 81d0f63

File tree

8 files changed

+28
-19
lines changed

8 files changed

+28
-19
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,4 +846,14 @@ Based on:
846846
### Generated
847847
- [typescript v1.56.1] .
848848
### Releases
849-
- [NPM v1.56.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.1 - .
849+
- [NPM v1.56.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.1 - .
850+
851+
## 2023-09-09 00:10:25
852+
### Changes
853+
Based on:
854+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
855+
- Speakeasy CLI 1.82.3 (2.107.3) https://github.com/speakeasy-api/speakeasy
856+
### Generated
857+
- [typescript v1.56.2] .
858+
### Releases
859+
- [NPM v1.56.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.2 - .

docs/models/shared/generateopenapispecdiff.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# GenerateOpenApiSpecDiff
22

3-
OK
4-
53

64
## Fields
75

gen.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 8c4f3932e054e1b349a9a34f12cf7e8c
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.79.0
6-
generationVersion: 2.101.0
5+
speakeasyVersion: 1.82.3
6+
generationVersion: 2.107.3
77
generation:
88
sdkClassName: speakeasy
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
features:
1212
typescript:
1313
acceptHeaders: 2.81.1
14-
core: 2.87.0
15-
docs: 0.1.0
14+
core: 2.87.1
1615
examples: 2.81.2
1716
globalSecurity: 2.81.1
1817
globalServerURLs: 2.82.0
1918
inputOutputModels: 2.81.1
2019
serverIDs: 2.81.1
2120
typescript:
22-
version: 1.56.1
21+
version: 1.56.2
2322
author: Speakeasy
2423
maxMethodParams: 0
2524
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.56.1",
3+
"version": "1.56.2",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/internal/utils/retries.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ export class BackoffStrategy {
2424
}
2525

2626
export class RetryConfig {
27-
strategy: string;
27+
strategy: "backoff" | "none";
2828
backoff?: BackoffStrategy;
2929
retryConnectionErrors: boolean;
3030

3131
constructor(
32-
strategy: string,
32+
strategy: "backoff" | "none",
3333
backoff?: BackoffStrategy,
3434
retryConnectionErrors = true
3535
) {

src/sdk/models/shared/generateopenapispecdiff.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
66
import { Expose } from "class-transformer";
77

8-
/**
9-
* OK
10-
*/
118
export class GenerateOpenApiSpecDiff extends SpeakeasyBase {
129
@SpeakeasyMetadata()
1310
@Expose({ name: "current_schema" })

src/sdk/sdk.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export type SDKProps = {
4646
* Allows overriding the default server URL used by the SDK
4747
*/
4848
serverURL?: string;
49+
/**
50+
* Allows overriding the default retry config used by the SDK
51+
*/
52+
retryConfig?: utils.RetryConfig;
4953
};
5054

5155
export class SDKConfiguration {
@@ -55,9 +59,9 @@ export class SDKConfiguration {
5559
serverDefaults: any;
5660
language = "typescript";
5761
openapiDocVersion = "0.3.0";
58-
sdkVersion = "1.56.1";
59-
genVersion = "2.101.0";
60-
62+
sdkVersion = "1.56.2";
63+
genVersion = "2.107.3";
64+
retryConfig?: utils.RetryConfig;
6165
public constructor(init?: Partial<SDKConfiguration>) {
6266
Object.assign(this, init);
6367
}
@@ -113,6 +117,7 @@ export class Speakeasy {
113117
defaultClient: defaultClient,
114118
security: props?.security,
115119
serverURL: serverURL,
120+
retryConfig: props?.retryConfig,
116121
});
117122

118123
this.apiEndpoints = new ApiEndpoints(this.sdkConfiguration);

0 commit comments

Comments
 (0)