Skip to content

Commit 4bc3369

Browse files
committed
Merge branch 'master' of github.com:fa0311/twitter-openapi-typescript
Signed-off-by: ふぁ <yuki@yuki0311.com>
2 parents c24cb66 + 4ff5bf8 commit 4bc3369

File tree

16 files changed

+110
-10
lines changed

16 files changed

+110
-10
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ updates:
33
- package-ecosystem: npm
44
directory: /twitter-openapi-typescript
55
schedule:
6-
interval: daily
6+
interval: weekly
77
# - package-ecosystem: npm
88
# directory: /twitter-openapi-typescript-generated
99
# schedule:
10-
# interval: daily
10+
# interval: weekly
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.6.0
1+
6.5.0

twitter-openapi-typescript-generated/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## twitter-openapi-typescript-generated@0.0.3
1+
## twitter-openapi-typescript-generated@0.0.4
22

33
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
44

@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
3636
_published:_
3737

3838
```
39-
npm install twitter-openapi-typescript-generated@0.0.3 --save
39+
npm install twitter-openapi-typescript-generated@0.0.4 --save
4040
```
4141

4242
_unPublished (not recommended):_

twitter-openapi-typescript-generated/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.

twitter-openapi-typescript-generated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "twitter-openapi-typescript-generated",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "OpenAPI client for twitter-openapi-typescript-generated",
55
"author": "fa0311",
66
"repository": {

twitter-openapi-typescript-generated/src/apis/DefaultApi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export class DefaultApi extends runtime.BaseAPI {
8585
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
8686
}
8787

88+
if (this.configuration && this.configuration.apiKey) {
89+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
90+
}
91+
8892
if (this.configuration && this.configuration.accessToken) {
8993
const token = this.configuration.accessToken;
9094
const tokenString = await token("BearerAuth", []);

twitter-openapi-typescript-generated/src/apis/OtherApi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export class OtherApi extends runtime.BaseAPI {
5555
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
5656
}
5757

58+
if (this.configuration && this.configuration.apiKey) {
59+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
60+
}
61+
5862
if (this.configuration && this.configuration.accessToken) {
5963
const token = this.configuration.accessToken;
6064
const tokenString = await token("BearerAuth", []);

twitter-openapi-typescript-generated/src/apis/PostApi.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ export class PostApi extends runtime.BaseAPI {
118118
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
119119
}
120120

121+
if (this.configuration && this.configuration.apiKey) {
122+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
123+
}
124+
121125
if (this.configuration && this.configuration.accessToken) {
122126
const token = this.configuration.accessToken;
123127
const tokenString = await token("BearerAuth", []);
@@ -179,6 +183,10 @@ export class PostApi extends runtime.BaseAPI {
179183
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
180184
}
181185

186+
if (this.configuration && this.configuration.apiKey) {
187+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
188+
}
189+
182190
if (this.configuration && this.configuration.accessToken) {
183191
const token = this.configuration.accessToken;
184192
const tokenString = await token("BearerAuth", []);
@@ -240,6 +248,10 @@ export class PostApi extends runtime.BaseAPI {
240248
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
241249
}
242250

251+
if (this.configuration && this.configuration.apiKey) {
252+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
253+
}
254+
243255
if (this.configuration && this.configuration.accessToken) {
244256
const token = this.configuration.accessToken;
245257
const tokenString = await token("BearerAuth", []);
@@ -301,6 +313,10 @@ export class PostApi extends runtime.BaseAPI {
301313
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
302314
}
303315

316+
if (this.configuration && this.configuration.apiKey) {
317+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
318+
}
319+
304320
if (this.configuration && this.configuration.accessToken) {
305321
const token = this.configuration.accessToken;
306322
const tokenString = await token("BearerAuth", []);
@@ -362,6 +378,10 @@ export class PostApi extends runtime.BaseAPI {
362378
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
363379
}
364380

381+
if (this.configuration && this.configuration.apiKey) {
382+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
383+
}
384+
365385
if (this.configuration && this.configuration.accessToken) {
366386
const token = this.configuration.accessToken;
367387
const tokenString = await token("BearerAuth", []);
@@ -423,6 +443,10 @@ export class PostApi extends runtime.BaseAPI {
423443
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
424444
}
425445

446+
if (this.configuration && this.configuration.apiKey) {
447+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
448+
}
449+
426450
if (this.configuration && this.configuration.accessToken) {
427451
const token = this.configuration.accessToken;
428452
const tokenString = await token("BearerAuth", []);

twitter-openapi-typescript-generated/src/apis/TweetApi.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ export class TweetApi extends runtime.BaseAPI {
145145
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
146146
}
147147

148+
if (this.configuration && this.configuration.apiKey) {
149+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
150+
}
151+
148152
if (this.configuration && this.configuration.accessToken) {
149153
const token = this.configuration.accessToken;
150154
const tokenString = await token("BearerAuth", []);
@@ -223,6 +227,10 @@ export class TweetApi extends runtime.BaseAPI {
223227
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
224228
}
225229

230+
if (this.configuration && this.configuration.apiKey) {
231+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
232+
}
233+
226234
if (this.configuration && this.configuration.accessToken) {
227235
const token = this.configuration.accessToken;
228236
const tokenString = await token("BearerAuth", []);
@@ -301,6 +309,10 @@ export class TweetApi extends runtime.BaseAPI {
301309
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
302310
}
303311

312+
if (this.configuration && this.configuration.apiKey) {
313+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
314+
}
315+
304316
if (this.configuration && this.configuration.accessToken) {
305317
const token = this.configuration.accessToken;
306318
const tokenString = await token("BearerAuth", []);
@@ -379,6 +391,10 @@ export class TweetApi extends runtime.BaseAPI {
379391
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
380392
}
381393

394+
if (this.configuration && this.configuration.apiKey) {
395+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
396+
}
397+
382398
if (this.configuration && this.configuration.accessToken) {
383399
const token = this.configuration.accessToken;
384400
const tokenString = await token("BearerAuth", []);
@@ -457,6 +473,10 @@ export class TweetApi extends runtime.BaseAPI {
457473
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
458474
}
459475

476+
if (this.configuration && this.configuration.apiKey) {
477+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
478+
}
479+
460480
if (this.configuration && this.configuration.accessToken) {
461481
const token = this.configuration.accessToken;
462482
const tokenString = await token("BearerAuth", []);
@@ -535,6 +555,10 @@ export class TweetApi extends runtime.BaseAPI {
535555
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
536556
}
537557

558+
if (this.configuration && this.configuration.apiKey) {
559+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
560+
}
561+
538562
if (this.configuration && this.configuration.accessToken) {
539563
const token = this.configuration.accessToken;
540564
const tokenString = await token("BearerAuth", []);
@@ -613,6 +637,10 @@ export class TweetApi extends runtime.BaseAPI {
613637
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
614638
}
615639

640+
if (this.configuration && this.configuration.apiKey) {
641+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
642+
}
643+
616644
if (this.configuration && this.configuration.accessToken) {
617645
const token = this.configuration.accessToken;
618646
const tokenString = await token("BearerAuth", []);
@@ -691,6 +719,10 @@ export class TweetApi extends runtime.BaseAPI {
691719
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
692720
}
693721

722+
if (this.configuration && this.configuration.apiKey) {
723+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
724+
}
725+
694726
if (this.configuration && this.configuration.accessToken) {
695727
const token = this.configuration.accessToken;
696728
const tokenString = await token("BearerAuth", []);
@@ -769,6 +801,10 @@ export class TweetApi extends runtime.BaseAPI {
769801
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
770802
}
771803

804+
if (this.configuration && this.configuration.apiKey) {
805+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
806+
}
807+
772808
if (this.configuration && this.configuration.accessToken) {
773809
const token = this.configuration.accessToken;
774810
const tokenString = await token("BearerAuth", []);

twitter-openapi-typescript-generated/src/apis/UserApi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export class UserApi extends runtime.BaseAPI {
8585
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
8686
}
8787

88+
if (this.configuration && this.configuration.apiKey) {
89+
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
90+
}
91+
8892
if (this.configuration && this.configuration.accessToken) {
8993
const token = this.configuration.accessToken;
9094
const tokenString = await token("BearerAuth", []);

0 commit comments

Comments
 (0)