Skip to content

Commit ca4edea

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.8.2
1 parent fdde57b commit ca4edea

File tree

12 files changed

+51
-43
lines changed

12 files changed

+51
-43
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,12 @@ Based on:
126126
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
127127
- Speakeasy CLI 1.8.1 https://github.com/speakeasy-api/speakeasy
128128
### Releases
129-
- [NPM v1.8.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.8.0 - .
129+
- [NPM v1.8.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.8.0 - .
130+
131+
## 2023-03-03 16:44:12
132+
### Changes
133+
Based on:
134+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
135+
- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy
136+
### Releases
137+
- [NPM v1.8.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.8.1 - .

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.8.1
5+
speakeasyVersion: 1.8.2
66
generation:
77
telemetryEnabled: true
88
sdkClassName: speakeasy
99
sdkFlattening: true
1010
typescript:
11-
version: 1.8.0
11+
version: 1.8.1
1212
author: Speakeasy
1313
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.8.0",
3+
"version": "1.8.1",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/apiendpoints.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class ApiEndpoints {
5353
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
5454

5555
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
56-
const res: operations.DeleteApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
56+
const res: operations.DeleteApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5757
switch (true) {
5858
case httpRes?.status == 200:
5959
break;
@@ -106,7 +106,7 @@ export class ApiEndpoints {
106106
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
107107

108108
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
109-
const res: operations.FindApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
109+
const res: operations.FindApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
110110
switch (true) {
111111
case httpRes?.status == 200:
112112
if (utils.matchContentType(contentType, `application/json`)) {
@@ -166,7 +166,7 @@ export class ApiEndpoints {
166166
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
167167

168168
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
169-
const res: operations.GenerateOpenApiSpecForApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
169+
const res: operations.GenerateOpenApiSpecForApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
170170
switch (true) {
171171
case httpRes?.status == 200:
172172
if (utils.matchContentType(contentType, `application/json`)) {
@@ -225,7 +225,7 @@ export class ApiEndpoints {
225225
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
226226

227227
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
228-
const res: operations.GeneratePostmanCollectionForApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
228+
const res: operations.GeneratePostmanCollectionForApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
229229
switch (true) {
230230
case httpRes?.status == 200:
231231
if (utils.matchContentType(contentType, `application/octet-stream`)) {
@@ -281,7 +281,7 @@ export class ApiEndpoints {
281281
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
282282

283283
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
284-
const res: operations.GetAllApiEndpointsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
284+
const res: operations.GetAllApiEndpointsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
285285
switch (true) {
286286
case httpRes?.status == 200:
287287
if (utils.matchContentType(contentType, `application/json`)) {
@@ -334,7 +334,7 @@ export class ApiEndpoints {
334334
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
335335

336336
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
337-
const res: operations.GetAllForVersionApiEndpointsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
337+
const res: operations.GetAllForVersionApiEndpointsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
338338
switch (true) {
339339
case httpRes?.status == 200:
340340
if (utils.matchContentType(contentType, `application/json`)) {
@@ -387,7 +387,7 @@ export class ApiEndpoints {
387387
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
388388

389389
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
390-
const res: operations.GetApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
390+
const res: operations.GetApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
391391
switch (true) {
392392
case httpRes?.status == 200:
393393
if (utils.matchContentType(contentType, `application/json`)) {
@@ -458,7 +458,7 @@ export class ApiEndpoints {
458458
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
459459

460460
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
461-
const res: operations.UpsertApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
461+
const res: operations.UpsertApiEndpointResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
462462
switch (true) {
463463
case httpRes?.status == 200:
464464
if (utils.matchContentType(contentType, `application/json`)) {

src/sdk/apis.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class Apis {
5353
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
5454

5555
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
56-
const res: operations.DeleteApiResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
56+
const res: operations.DeleteApiResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5757
switch (true) {
5858
case httpRes?.status == 200:
5959
break;
@@ -106,7 +106,7 @@ export class Apis {
106106
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
107107

108108
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
109-
const res: operations.GenerateOpenApiSpecResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
109+
const res: operations.GenerateOpenApiSpecResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
110110
switch (true) {
111111
case httpRes?.status == 200:
112112
if (utils.matchContentType(contentType, `application/json`)) {
@@ -165,7 +165,7 @@ export class Apis {
165165
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
166166

167167
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
168-
const res: operations.GeneratePostmanCollectionResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
168+
const res: operations.GeneratePostmanCollectionResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
169169
switch (true) {
170170
case httpRes?.status == 200:
171171
if (utils.matchContentType(contentType, `application/octet-stream`)) {
@@ -225,7 +225,7 @@ export class Apis {
225225
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
226226

227227
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
228-
const res: operations.GetAllApiVersionsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
228+
const res: operations.GetAllApiVersionsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
229229
switch (true) {
230230
case httpRes?.status == 200:
231231
if (utils.matchContentType(contentType, `application/json`)) {
@@ -282,7 +282,7 @@ export class Apis {
282282
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
283283

284284
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
285-
const res: operations.GetApisResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
285+
const res: operations.GetApisResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
286286
switch (true) {
287287
case httpRes?.status == 200:
288288
if (utils.matchContentType(contentType, `application/json`)) {
@@ -350,7 +350,7 @@ export class Apis {
350350
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
351351

352352
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
353-
const res: operations.UpsertApiResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
353+
const res: operations.UpsertApiResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
354354
switch (true) {
355355
case httpRes?.status == 200:
356356
if (utils.matchContentType(contentType, `application/json`)) {

src/sdk/embeds.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Embeds {
5555
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
5656

5757
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
58-
const res: operations.GetEmbedAccessTokenResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
58+
const res: operations.GetEmbedAccessTokenResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5959
switch (true) {
6060
case httpRes?.status == 200:
6161
if (utils.matchContentType(contentType, `application/json`)) {
@@ -107,7 +107,7 @@ export class Embeds {
107107
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
108108

109109
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
110-
const res: operations.GetValidEmbedAccessTokensResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
110+
const res: operations.GetValidEmbedAccessTokensResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
111111
switch (true) {
112112
case httpRes?.status == 200:
113113
if (utils.matchContentType(contentType, `application/json`)) {
@@ -160,7 +160,7 @@ export class Embeds {
160160
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
161161

162162
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
163-
const res: operations.RevokeEmbedAccessTokenResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
163+
const res: operations.RevokeEmbedAccessTokenResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
164164
switch (true) {
165165
case httpRes?.status == 200:
166166
break;

src/sdk/metadata.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class Metadata {
5151
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
5252

5353
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
54-
const res: operations.DeleteVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
54+
const res: operations.DeleteVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5555
switch (true) {
5656
case httpRes?.status == 200:
5757
break;
@@ -101,7 +101,7 @@ export class Metadata {
101101
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
102102

103103
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
104-
const res: operations.GetVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
104+
const res: operations.GetVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
105105
switch (true) {
106106
case httpRes?.status == 200:
107107
if (utils.matchContentType(contentType, `application/json`)) {
@@ -166,7 +166,7 @@ export class Metadata {
166166
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
167167

168168
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
169-
const res: operations.InsertVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
169+
const res: operations.InsertVersionMetadataResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
170170
switch (true) {
171171
case httpRes?.status == 200:
172172
if (utils.matchContentType(contentType, `application/json`)) {

src/sdk/plugins.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class Plugins {
4646
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
4747

4848
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
49-
const res: operations.GetPluginsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
49+
const res: operations.GetPluginsResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5050
switch (true) {
5151
case httpRes?.status == 200:
5252
if (utils.matchContentType(contentType, `application/json`)) {
@@ -100,7 +100,7 @@ export class Plugins {
100100
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
101101

102102
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
103-
const res: operations.RunPluginResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
103+
const res: operations.RunPluginResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
104104
switch (true) {
105105
case httpRes?.status == 200:
106106
if (utils.matchContentType(contentType, `application/json`)) {
@@ -165,7 +165,7 @@ export class Plugins {
165165
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
166166

167167
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
168-
const res: operations.UpsertPluginResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
168+
const res: operations.UpsertPluginResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
169169
switch (true) {
170170
case httpRes?.status == 200:
171171
if (utils.matchContentType(contentType, `application/json`)) {

src/sdk/requests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class Requests {
5454
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
5555

5656
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
57-
const res: operations.GenerateRequestPostmanCollectionResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
57+
const res: operations.GenerateRequestPostmanCollectionResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
5858
switch (true) {
5959
case httpRes?.status == 200:
6060
if (utils.matchContentType(contentType, `application/octet-stream`)) {
@@ -110,7 +110,7 @@ export class Requests {
110110
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
111111

112112
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
113-
const res: operations.GetRequestFromEventLogResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
113+
const res: operations.GetRequestFromEventLogResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
114114
switch (true) {
115115
case httpRes?.status == 200:
116116
if (utils.matchContentType(contentType, `application/json`)) {
@@ -171,7 +171,7 @@ export class Requests {
171171
const contentType: string = httpRes?.headers?.["content-type"] ?? "";
172172

173173
if (httpRes?.status == null) throw new Error(`status code not found in response: ${httpRes}`);
174-
const res: operations.QueryEventLogResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes,};
174+
const res: operations.QueryEventLogResponse = {statusCode: httpRes.status, contentType: contentType, rawResponse: httpRes};
175175
switch (true) {
176176
case httpRes?.status == 200:
177177
if (utils.matchContentType(contentType, `application/json`)) {

0 commit comments

Comments
 (0)