File tree Expand file tree Collapse file tree 8 files changed +28
-19
lines changed Expand file tree Collapse file tree 8 files changed +28
-19
lines changed Original file line number Diff line number Diff 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 - .
Original file line number Diff line number Diff line change 11# GenerateOpenApiSpecDiff
22
3- OK
4-
53
64## Fields
75
Original file line number Diff line number Diff line change @@ -2,24 +2,23 @@ configVersion: 1.0.0
22management :
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
77generation :
88 sdkClassName : speakeasy
99 singleTagPerOp : false
1010 telemetryEnabled : true
1111features :
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
2120typescript :
22- version : 1.56.1
21+ version : 1.56.2
2322 author : Speakeasy
2423 maxMethodParams : 0
2524 packageName : ' @speakeasy-api/speakeasy-client-sdk-typescript'
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ export class BackoffStrategy {
2424}
2525
2626export 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 ) {
Original file line number Diff line number Diff line change 55import { SpeakeasyBase , SpeakeasyMetadata } from "../../../internal/utils" ;
66import { Expose } from "class-transformer" ;
77
8- /**
9- * OK
10- */
118export class GenerateOpenApiSpecDiff extends SpeakeasyBase {
129 @SpeakeasyMetadata ( )
1310 @Expose ( { name : "current_schema" } )
Original file line number Diff line number Diff 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
5155export 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 ) ;
You can’t perform that action at this time.
0 commit comments