File tree Expand file tree Collapse file tree 8 files changed +65
-54
lines changed Expand file tree Collapse file tree 8 files changed +65
-54
lines changed Original file line number Diff line number Diff line change @@ -21,28 +21,27 @@ yarn add @speakeasy-api/speakeasy-client-sdk-typescript
21
21
``` typescript
22
22
import { Speakeasy } from " @speakeasy-api/speakeasy-client-sdk-typescript" ;
23
23
24
- (async () => {
25
- const sdk = new Speakeasy ({
26
- security: {
27
- apiKey: " " ,
28
- },
29
- });
30
-
31
- const res = await sdk .apis .getApis ({
32
- metadata: {
33
- " South" : [
34
- " Southwest" ,
35
- ],
36
- },
37
- op: {
38
- and: false ,
39
- },
40
- });
41
-
42
- if (res .statusCode == 200 ) {
43
- // handle response
44
- }
24
+ (async () => {
25
+ const sdk = new Speakeasy ({
26
+ security: {
27
+ apiKey: " " ,
28
+ },
29
+ });
30
+
31
+ const res = await sdk .apis .getApis ({
32
+ metadata: {
33
+ South: [" Southwest" ],
34
+ },
35
+ op: {
36
+ and: false ,
37
+ },
38
+ });
39
+
40
+ if (res .statusCode == 200 ) {
41
+ // handle response
42
+ }
45
43
})();
44
+
46
45
```
47
46
<!-- End SDK Example Usage -->
48
47
Original file line number Diff line number Diff line change @@ -966,4 +966,14 @@ Based on:
966
966
### Generated
967
967
- [ typescript v1.60.0] .
968
968
### Releases
969
- - [ NPM v1.60.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.0 - .
969
+ - [ NPM v1.60.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.0 - .
970
+
971
+ ## 2023-10-17 00:10:57
972
+ ### Changes
973
+ Based on:
974
+ - OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
975
+ - Speakeasy CLI 1.99.2 (2.155.1) https://github.com/speakeasy-api/speakeasy
976
+ ### Generated
977
+ - [ typescript v1.60.1] .
978
+ ### Releases
979
+ - [ NPM v1.60.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.60.1 - .
Original file line number Diff line number Diff line change 4
4
``` typescript
5
5
import { Speakeasy } from " @speakeasy-api/speakeasy-client-sdk-typescript" ;
6
6
7
- (async () => {
8
- const sdk = new Speakeasy ({
9
- security: {
10
- apiKey: " " ,
11
- },
12
- });
7
+ (async () => {
8
+ const sdk = new Speakeasy ({
9
+ security: {
10
+ apiKey: " " ,
11
+ },
12
+ });
13
13
14
- const res = await sdk .apis .getApis ({
15
- metadata: {
16
- " South" : [
17
- " Southwest" ,
18
- ],
19
- },
20
- op: {
21
- and: false ,
22
- },
23
- });
14
+ const res = await sdk .apis .getApis ({
15
+ metadata: {
16
+ South: [" Southwest" ],
17
+ },
18
+ op: {
19
+ and: false ,
20
+ },
21
+ });
24
22
25
- if (res .statusCode == 200 ) {
26
- // handle response
27
- }
23
+ if (res .statusCode == 200 ) {
24
+ // handle response
25
+ }
28
26
})();
27
+
29
28
```
30
29
<!-- End SDK Example Usage -->
Original file line number Diff line number Diff line change 6
6
Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs
7
7
8
8
The Speakeasy Platform Documentation
9
- < https://speakeasyapi.dev/ docs/ >
9
+ </ docs >
10
10
### Available Operations
11
11
12
12
* [ validateApiKey] ( #validateapikey ) - Validate the current api key.
Original file line number Diff line number Diff line change 1
1
configVersion : 1.0.0
2
2
management :
3
- docChecksum : 8c4f3932e054e1b349a9a34f12cf7e8c
3
+ docChecksum : ba638b2ad28966c596e28321a2003686
4
4
docVersion : 0.3.0
5
- speakeasyVersion : 1.96.1
6
- generationVersion : 2.150.0
5
+ speakeasyVersion : 1.99.2
6
+ generationVersion : 2.155.1
7
7
generation :
8
8
sdkClassName : speakeasy
9
9
singleTagPerOp : false
@@ -18,7 +18,7 @@ features:
18
18
inputOutputModels : 2.81.1
19
19
serverIDs : 2.81.1
20
20
typescript :
21
- version : 1.60.0
21
+ version : 1.60.1
22
22
author : Speakeasy
23
23
flattenGlobalSecurity : false
24
24
maxMethodParams : 0
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @speakeasy-api/speakeasy-client-sdk-typescript" ,
3
- "version" : " 1.60.0 " ,
3
+ "version" : " 1.60.1 " ,
4
4
"author" : " Speakeasy" ,
5
5
"scripts" : {
6
- "prepare" : " tsc --build"
6
+ "prepare" : " tsc --build" ,
7
+ "check:tsc" : " tsc --noEmit --skipLibCheck" ,
8
+ "check:eslint" : " eslint --max-warnings=0 src" ,
9
+ "check" : " npm run check:tsc && npm run check:eslint"
7
10
},
8
11
"dependencies" : {
9
12
"axios" : " ^1.1.3" ,
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ export class SDKConfiguration {
60
60
serverDefaults : any ;
61
61
language = "typescript" ;
62
62
openapiDocVersion = "0.3.0" ;
63
- sdkVersion = "1.60.0 " ;
64
- genVersion = "2.150.0 " ;
63
+ sdkVersion = "1.60.1 " ;
64
+ genVersion = "2.155.1 " ;
65
65
userAgent =
66
- "speakeasy-sdk/typescript 1.60.0 2.150.0 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript" ;
66
+ "speakeasy-sdk/typescript 1.60.1 2.155.1 0.3.0 @speakeasy-api/speakeasy-client-sdk-typescript" ;
67
67
retryConfig ?: utils . RetryConfig ;
68
68
public constructor ( init ?: Partial < SDKConfiguration > ) {
69
69
Object . assign ( this , init ) ;
@@ -73,7 +73,7 @@ export class SDKConfiguration {
73
73
/**
74
74
* Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs
75
75
*
76
- * @see {@link https://speakeasyapi.dev/ docs/ } - The Speakeasy Platform Documentation
76
+ * @see {@link / docs } - The Speakeasy Platform Documentation
77
77
*/
78
78
export class Speakeasy {
79
79
/**
You can’t perform that action at this time.
0 commit comments