Skip to content

Commit a801a5d

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.35.0
1 parent 901a966 commit a801a5d

File tree

12 files changed

+54
-9
lines changed

12 files changed

+54
-9
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,4 +470,12 @@ Based on:
470470
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
471471
- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy
472472
### Releases
473-
- [NPM v1.27.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.27.0 - .
473+
- [NPM v1.27.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.27.0 - .
474+
475+
## 2023-05-19 00:10:37
476+
### Changes
477+
Based on:
478+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
479+
- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy
480+
### Releases
481+
- [NPM v1.28.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.28.0 - .

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.34.0
6-
generationVersion: 2.30.0
5+
speakeasyVersion: 1.35.0
6+
generationVersion: 2.31.0
77
generation:
88
sdkClassName: speakeasy
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
typescript:
12-
version: 1.27.0
12+
version: 1.28.0
1313
author: Speakeasy
1414
maxMethodParams: 0
1515
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.27.0",
3+
"version": "1.28.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/apiendpoints.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class ApiEndpoints {
5858
const client: AxiosInstance = this._securityClient || this._defaultClient;
5959

6060
const headers = { ...config?.headers };
61+
headers["Accept"] = "application/json";
6162
headers[
6263
"user-agent"
6364
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -120,6 +121,7 @@ export class ApiEndpoints {
120121
const client: AxiosInstance = this._securityClient || this._defaultClient;
121122

122123
const headers = { ...config?.headers };
124+
headers["Accept"] = "application/json;q=1, application/json;q=0";
123125
headers[
124126
"user-agent"
125127
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -188,6 +190,7 @@ export class ApiEndpoints {
188190
const client: AxiosInstance = this._securityClient || this._defaultClient;
189191

190192
const headers = { ...config?.headers };
193+
headers["Accept"] = "application/json;q=1, application/json;q=0";
191194
headers[
192195
"user-agent"
193196
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -255,6 +258,7 @@ export class ApiEndpoints {
255258
const client: AxiosInstance = this._securityClient || this._defaultClient;
256259

257260
const headers = { ...config?.headers };
261+
headers["Accept"] = "application/json;q=1, application/octet-stream;q=0";
258262
headers[
259263
"user-agent"
260264
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -320,6 +324,7 @@ export class ApiEndpoints {
320324
const client: AxiosInstance = this._securityClient || this._defaultClient;
321325

322326
const headers = { ...config?.headers };
327+
headers["Accept"] = "application/json;q=1, application/json;q=0";
323328
headers[
324329
"user-agent"
325330
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -387,6 +392,7 @@ export class ApiEndpoints {
387392
const client: AxiosInstance = this._securityClient || this._defaultClient;
388393

389394
const headers = { ...config?.headers };
395+
headers["Accept"] = "application/json;q=1, application/json;q=0";
390396
headers[
391397
"user-agent"
392398
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -454,6 +460,7 @@ export class ApiEndpoints {
454460
const client: AxiosInstance = this._securityClient || this._defaultClient;
455461

456462
const headers = { ...config?.headers };
463+
headers["Accept"] = "application/json;q=1, application/json;q=0";
457464
headers[
458465
"user-agent"
459466
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -537,6 +544,7 @@ export class ApiEndpoints {
537544
const headers = { ...reqBodyHeaders, ...config?.headers };
538545
if (reqBody == null || Object.keys(reqBody).length === 0)
539546
throw new Error("request body is required");
547+
headers["Accept"] = "application/json;q=1, application/json;q=0";
540548
headers[
541549
"user-agent"
542550
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

src/sdk/apis.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class Apis {
5858
const client: AxiosInstance = this._securityClient || this._defaultClient;
5959

6060
const headers = { ...config?.headers };
61+
headers["Accept"] = "application/json";
6162
headers[
6263
"user-agent"
6364
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -119,6 +120,7 @@ export class Apis {
119120
const client: AxiosInstance = this._securityClient || this._defaultClient;
120121

121122
const headers = { ...config?.headers };
123+
headers["Accept"] = "application/json;q=1, application/json;q=0";
122124
headers[
123125
"user-agent"
124126
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -186,6 +188,7 @@ export class Apis {
186188
const client: AxiosInstance = this._securityClient || this._defaultClient;
187189

188190
const headers = { ...config?.headers };
191+
headers["Accept"] = "application/json;q=1, application/octet-stream;q=0";
189192
headers[
190193
"user-agent"
191194
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -252,6 +255,7 @@ export class Apis {
252255

253256
const headers = { ...config?.headers };
254257
const queryParams: string = utils.serializeQueryParams(req);
258+
headers["Accept"] = "application/json;q=1, application/json;q=0";
255259
headers[
256260
"user-agent"
257261
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -320,6 +324,7 @@ export class Apis {
320324

321325
const headers = { ...config?.headers };
322326
const queryParams: string = utils.serializeQueryParams(req);
327+
headers["Accept"] = "application/json;q=1, application/json;q=0";
323328
headers[
324329
"user-agent"
325330
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -402,6 +407,7 @@ export class Apis {
402407
const headers = { ...reqBodyHeaders, ...config?.headers };
403408
if (reqBody == null || Object.keys(reqBody).length === 0)
404409
throw new Error("request body is required");
410+
headers["Accept"] = "application/json;q=1, application/json;q=0";
405411
headers[
406412
"user-agent"
407413
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

src/sdk/embeds.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class Embeds {
5757

5858
const headers = { ...config?.headers };
5959
const queryParams: string = utils.serializeQueryParams(req);
60+
headers["Accept"] = "application/json;q=1, application/json;q=0";
6061
headers[
6162
"user-agent"
6263
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -113,6 +114,7 @@ export class Embeds {
113114
const client: AxiosInstance = this._securityClient || this._defaultClient;
114115

115116
const headers = { ...config?.headers };
117+
headers["Accept"] = "application/json;q=1, application/json;q=0";
116118
headers[
117119
"user-agent"
118120
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -180,6 +182,7 @@ export class Embeds {
180182
const client: AxiosInstance = this._securityClient || this._defaultClient;
181183

182184
const headers = { ...config?.headers };
185+
headers["Accept"] = "application/json";
183186
headers[
184187
"user-agent"
185188
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

src/sdk/metadata.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class Metadata {
5555
const client: AxiosInstance = this._securityClient || this._defaultClient;
5656

5757
const headers = { ...config?.headers };
58+
headers["Accept"] = "application/json";
5859
headers[
5960
"user-agent"
6061
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -113,6 +114,7 @@ export class Metadata {
113114
const client: AxiosInstance = this._securityClient || this._defaultClient;
114115

115116
const headers = { ...config?.headers };
117+
headers["Accept"] = "application/json;q=1, application/json;q=0";
116118
headers[
117119
"user-agent"
118120
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -196,6 +198,7 @@ export class Metadata {
196198
const headers = { ...reqBodyHeaders, ...config?.headers };
197199
if (reqBody == null || Object.keys(reqBody).length === 0)
198200
throw new Error("request body is required");
201+
headers["Accept"] = "application/json;q=1, application/json;q=0";
199202
headers[
200203
"user-agent"
201204
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

src/sdk/plugins.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class Plugins {
4646
const client: AxiosInstance = this._securityClient || this._defaultClient;
4747

4848
const headers = { ...config?.headers };
49+
headers["Accept"] = "application/json;q=1, application/json;q=0";
4950
headers[
5051
"user-agent"
5152
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -114,6 +115,7 @@ export class Plugins {
114115

115116
const headers = { ...config?.headers };
116117
const queryParams: string = utils.serializeQueryParams(req);
118+
headers["Accept"] = "application/json;q=1, application/json;q=0";
117119
headers[
118120
"user-agent"
119121
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -192,6 +194,7 @@ export class Plugins {
192194
const headers = { ...reqBodyHeaders, ...config?.headers };
193195
if (reqBody == null || Object.keys(reqBody).length === 0)
194196
throw new Error("request body is required");
197+
headers["Accept"] = "application/json;q=1, application/json;q=0";
195198
headers[
196199
"user-agent"
197200
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

src/sdk/requests.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class Requests {
5959
const client: AxiosInstance = this._securityClient || this._defaultClient;
6060

6161
const headers = { ...config?.headers };
62+
headers["Accept"] = "application/json;q=1, application/octet-stream;q=0";
6263
headers[
6364
"user-agent"
6465
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -124,6 +125,7 @@ export class Requests {
124125
const client: AxiosInstance = this._securityClient || this._defaultClient;
125126

126127
const headers = { ...config?.headers };
128+
headers["Accept"] = "application/json;q=1, application/json;q=0";
127129
headers[
128130
"user-agent"
129131
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
@@ -189,6 +191,7 @@ export class Requests {
189191

190192
const headers = { ...config?.headers };
191193
const queryParams: string = utils.serializeQueryParams(req);
194+
headers["Accept"] = "application/json;q=1, application/json;q=0";
192195
headers[
193196
"user-agent"
194197
] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;

0 commit comments

Comments
 (0)