@@ -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" , [ ] ) ;
0 commit comments