Skip to content

Commit 0107dc3

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.3.1
1 parent 2a543da commit 0107dc3

File tree

12 files changed

+115
-12
lines changed

12 files changed

+115
-12
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,12 @@ Based on:
2222
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
2323
- Speakeasy CLI 1.2.0 https://github.com/speakeasy-api/speakeasy
2424
### Releases
25-
- [NPM v1.2.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.2.0 - .
25+
- [NPM v1.2.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.2.0 - .
26+
27+
## Version 1.3.0
28+
### Changes
29+
Based on:
30+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
31+
- Speakeasy CLI 1.3.1 https://github.com/speakeasy-api/speakeasy
32+
### Releases
33+
- [NPM v1.3.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.3.0 - .

gen.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
management:
2-
openapi-checksum: 2bba3b8f9d211b02569b3f9aff0d34b4
3-
openapi-version: 0.3.0
4-
speakeasy-version: 1.2.0
2+
openapi-checksum: 2bba3b8f9d211b02569b3f9aff0d34b4
3+
openapi-version: 0.3.0
4+
speakeasy-version: 1.3.1
55
typescript:
6-
version: 1.2.0
7-
packagename: "@speakeasy-api/speakeasy-client-sdk-typescript"
8-
author: Speakeasy
6+
version: 1.3.0
7+
packagename: '@speakeasy-api/speakeasy-client-sdk-typescript'
8+
author: Speakeasy
99
telemetryenabled: true

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.2.0",
3+
"version": "1.3.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/apiendpoints.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ export class ApiEndpoints {
3737

3838
const client: AxiosInstance = this._securityClient!;
3939

40+
const headers = {...config?.headers};
41+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
4042

4143
const r = client.request({
4244
url: url,
4345
method: "delete",
46+
headers: headers,
4447
...config,
4548
});
4649

@@ -83,10 +86,13 @@ export class ApiEndpoints {
8386

8487
const client: AxiosInstance = this._securityClient!;
8588

89+
const headers = {...config?.headers};
90+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
8691

8792
const r = client.request({
8893
url: url,
8994
method: "get",
95+
headers: headers,
9096
...config,
9197
});
9298

@@ -132,10 +138,13 @@ export class ApiEndpoints {
132138

133139
const client: AxiosInstance = this._securityClient!;
134140

141+
const headers = {...config?.headers};
142+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
135143

136144
const r = client.request({
137145
url: url,
138146
method: "get",
147+
headers: headers,
139148
...config,
140149
});
141150

@@ -180,10 +189,13 @@ export class ApiEndpoints {
180189

181190
const client: AxiosInstance = this._securityClient!;
182191

192+
const headers = {...config?.headers};
193+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
183194

184195
const r = client.request({
185196
url: url,
186197
method: "get",
198+
headers: headers,
187199
...config,
188200
});
189201

@@ -229,10 +241,13 @@ export class ApiEndpoints {
229241

230242
const client: AxiosInstance = this._securityClient!;
231243

244+
const headers = {...config?.headers};
245+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
232246

233247
const r = client.request({
234248
url: url,
235249
method: "get",
250+
headers: headers,
236251
...config,
237252
});
238253

@@ -275,10 +290,13 @@ export class ApiEndpoints {
275290

276291
const client: AxiosInstance = this._securityClient!;
277292

293+
const headers = {...config?.headers};
294+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
278295

279296
const r = client.request({
280297
url: url,
281298
method: "get",
299+
headers: headers,
282300
...config,
283301
});
284302

@@ -321,10 +339,13 @@ export class ApiEndpoints {
321339

322340
const client: AxiosInstance = this._securityClient!;
323341

342+
const headers = {...config?.headers};
343+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
324344

325345
const r = client.request({
326346
url: url,
327347
method: "get",
348+
headers: headers,
328349
...config,
329350
});
330351

@@ -381,6 +402,7 @@ export class ApiEndpoints {
381402

382403
const headers = {...reqBodyHeaders, ...config?.headers};
383404
if (reqBody == null || Object.keys(reqBody).length === 0) throw new Error("request body is required");
405+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
384406

385407
const r = client.request({
386408
url: url,

src/sdk/apis.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ export class Apis {
3737

3838
const client: AxiosInstance = this._securityClient!;
3939

40+
const headers = {...config?.headers};
41+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
4042

4143
const r = client.request({
4244
url: url,
4345
method: "delete",
46+
headers: headers,
4447
...config,
4548
});
4649

@@ -83,10 +86,13 @@ export class Apis {
8386

8487
const client: AxiosInstance = this._securityClient!;
8588

89+
const headers = {...config?.headers};
90+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
8691

8792
const r = client.request({
8893
url: url,
8994
method: "get",
95+
headers: headers,
9096
...config,
9197
});
9298

@@ -131,10 +137,13 @@ export class Apis {
131137

132138
const client: AxiosInstance = this._securityClient!;
133139

140+
const headers = {...config?.headers};
141+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
134142

135143
const r = client.request({
136144
url: url,
137145
method: "get",
146+
headers: headers,
138147
...config,
139148
});
140149

@@ -183,6 +192,7 @@ export class Apis {
183192

184193
const client: AxiosInstance = this._securityClient!;
185194

195+
const headers = {...config?.headers};
186196
const qpSerializer: ParamsSerializerOptions = utils.getQueryParamSerializer(req.queryParams);
187197

188198
const requestConfig: AxiosRequestConfig = {
@@ -191,10 +201,12 @@ export class Apis {
191201
paramsSerializer: qpSerializer,
192202
};
193203

204+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
194205

195206
const r = client.request({
196207
url: url,
197208
method: "get",
209+
headers: headers,
198210
...requestConfig,
199211
});
200212

@@ -240,6 +252,7 @@ export class Apis {
240252

241253
const client: AxiosInstance = this._securityClient!;
242254

255+
const headers = {...config?.headers};
243256
const qpSerializer: ParamsSerializerOptions = utils.getQueryParamSerializer(req.queryParams);
244257

245258
const requestConfig: AxiosRequestConfig = {
@@ -248,10 +261,12 @@ export class Apis {
248261
paramsSerializer: qpSerializer,
249262
};
250263

264+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
251265

252266
const r = client.request({
253267
url: url,
254268
method: "get",
269+
headers: headers,
255270
...requestConfig,
256271
});
257272

@@ -309,6 +324,7 @@ export class Apis {
309324

310325
const headers = {...reqBodyHeaders, ...config?.headers};
311326
if (reqBody == null || Object.keys(reqBody).length === 0) throw new Error("request body is required");
327+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
312328

313329
const r = client.request({
314330
url: url,

src/sdk/embeds.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class Embeds {
3838

3939
const client: AxiosInstance = this._securityClient!;
4040

41+
const headers = {...config?.headers};
4142
const qpSerializer: ParamsSerializerOptions = utils.getQueryParamSerializer(req.queryParams);
4243

4344
const requestConfig: AxiosRequestConfig = {
@@ -46,10 +47,12 @@ export class Embeds {
4647
paramsSerializer: qpSerializer,
4748
};
4849

50+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
4951

5052
const r = client.request({
5153
url: url,
5254
method: "get",
55+
headers: headers,
5356
...requestConfig,
5457
});
5558

@@ -87,10 +90,13 @@ export class Embeds {
8790

8891
const client: AxiosInstance = this._securityClient!;
8992

93+
const headers = {...config?.headers};
94+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
9095

9196
const r = client.request({
9297
url: url,
9398
method: "get",
99+
headers: headers,
94100
...config,
95101
});
96102

@@ -133,10 +139,13 @@ export class Embeds {
133139

134140
const client: AxiosInstance = this._securityClient!;
135141

142+
const headers = {...config?.headers};
143+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
136144

137145
const r = client.request({
138146
url: url,
139147
method: "delete",
148+
headers: headers,
140149
...config,
141150
});
142151

src/sdk/metadata.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ export class Metadata {
3535

3636
const client: AxiosInstance = this._securityClient!;
3737

38+
const headers = {...config?.headers};
39+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
3840

3941
const r = client.request({
4042
url: url,
4143
method: "delete",
44+
headers: headers,
4245
...config,
4346
});
4447

@@ -78,10 +81,13 @@ export class Metadata {
7881

7982
const client: AxiosInstance = this._securityClient!;
8083

84+
const headers = {...config?.headers};
85+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
8186

8287
const r = client.request({
8388
url: url,
8489
method: "get",
90+
headers: headers,
8591
...config,
8692
});
8793

@@ -136,6 +142,7 @@ export class Metadata {
136142

137143
const headers = {...reqBodyHeaders, ...config?.headers};
138144
if (reqBody == null || Object.keys(reqBody).length === 0) throw new Error("request body is required");
145+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
139146

140147
const r = client.request({
141148
url: url,

src/sdk/plugins.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ export class Plugins {
3030

3131
const client: AxiosInstance = this._securityClient!;
3232

33+
const headers = {...config?.headers};
34+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
3335

3436
const r = client.request({
3537
url: url,
3638
method: "get",
39+
headers: headers,
3740
...config,
3841
});
3942

@@ -76,6 +79,7 @@ export class Plugins {
7679

7780
const client: AxiosInstance = this._securityClient!;
7881

82+
const headers = {...config?.headers};
7983
const qpSerializer: ParamsSerializerOptions = utils.getQueryParamSerializer(req.queryParams);
8084

8185
const requestConfig: AxiosRequestConfig = {
@@ -84,10 +88,12 @@ export class Plugins {
8488
paramsSerializer: qpSerializer,
8589
};
8690

91+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
8792

8893
const r = client.request({
8994
url: url,
9095
method: "post",
96+
headers: headers,
9197
...requestConfig,
9298
});
9399

@@ -142,6 +148,7 @@ export class Plugins {
142148

143149
const headers = {...reqBodyHeaders, ...config?.headers};
144150
if (reqBody == null || Object.keys(reqBody).length === 0) throw new Error("request body is required");
151+
headers["user-agent"] = `speakeasy-sdk/${this._language} ${this._sdkVersion} ${this._genVersion}`;
145152

146153
const r = client.request({
147154
url: url,

0 commit comments

Comments
 (0)