@@ -75,15 +75,23 @@ export class DefaultApi extends runtime.BaseAPI {
7575 }
7676
7777 if ( this . configuration && this . configuration . apiKey ) {
78- headerParameters [ "x-twitter-active-user " ] = this . configuration . apiKey ( "x-twitter-active-user " ) ; // ActiveUser authentication
78+ headerParameters [ "Accept " ] = this . configuration . apiKey ( "Accept " ) ; // Accept authentication
7979 }
8080
8181 if ( this . configuration && this . configuration . apiKey ) {
82- headerParameters [ "user-agent " ] = this . configuration . apiKey ( "user-agent " ) ; // UserAgent authentication
82+ headerParameters [ "Sec-Fetch-Dest " ] = this . configuration . apiKey ( "Sec-Fetch-Dest " ) ; // SecFetchDest authentication
8383 }
8484
8585 if ( this . configuration && this . configuration . apiKey ) {
86- headerParameters [ "x-twitter-auth-type" ] = this . configuration . apiKey ( "x-twitter-auth-type" ) ; // AuthType authentication
86+ headerParameters [ "Pragma" ] = this . configuration . apiKey ( "Pragma" ) ; // Pragma authentication
87+ }
88+
89+ if ( this . configuration && this . configuration . apiKey ) {
90+ headerParameters [ "Sec-Ch-Ua-Platform" ] = this . configuration . apiKey ( "Sec-Ch-Ua-Platform" ) ; // SecChUaPlatform authentication
91+ }
92+
93+ if ( this . configuration && this . configuration . apiKey ) {
94+ headerParameters [ "Sec-Fetch-Mode" ] = this . configuration . apiKey ( "Sec-Fetch-Mode" ) ; // SecFetchMode authentication
8795 }
8896
8997 if ( this . configuration && this . configuration . apiKey ) {
@@ -102,6 +110,42 @@ export class DefaultApi extends runtime.BaseAPI {
102110 headerParameters [ "Authorization" ] = `Bearer ${ tokenString } ` ;
103111 }
104112 }
113+ if ( this . configuration && this . configuration . apiKey ) {
114+ headerParameters [ "Sec-Ch-Ua" ] = this . configuration . apiKey ( "Sec-Ch-Ua" ) ; // SecChUa authentication
115+ }
116+
117+ if ( this . configuration && this . configuration . apiKey ) {
118+ headerParameters [ "x-twitter-active-user" ] = this . configuration . apiKey ( "x-twitter-active-user" ) ; // ActiveUser authentication
119+ }
120+
121+ if ( this . configuration && this . configuration . apiKey ) {
122+ headerParameters [ "user-agent" ] = this . configuration . apiKey ( "user-agent" ) ; // UserAgent authentication
123+ }
124+
125+ if ( this . configuration && this . configuration . apiKey ) {
126+ headerParameters [ "Accept-Language" ] = this . configuration . apiKey ( "Accept-Language" ) ; // AcceptLanguage authentication
127+ }
128+
129+ if ( this . configuration && this . configuration . apiKey ) {
130+ headerParameters [ "Sec-Fetch-Site" ] = this . configuration . apiKey ( "Sec-Fetch-Site" ) ; // SecFetchSite authentication
131+ }
132+
133+ if ( this . configuration && this . configuration . apiKey ) {
134+ headerParameters [ "x-twitter-auth-type" ] = this . configuration . apiKey ( "x-twitter-auth-type" ) ; // AuthType authentication
135+ }
136+
137+ if ( this . configuration && this . configuration . apiKey ) {
138+ headerParameters [ "Cache-Control" ] = this . configuration . apiKey ( "Cache-Control" ) ; // CacheControl authentication
139+ }
140+
141+ if ( this . configuration && this . configuration . apiKey ) {
142+ headerParameters [ "Sec-Ch-Ua-Mobile" ] = this . configuration . apiKey ( "Sec-Ch-Ua-Mobile" ) ; // SecChUaMobile authentication
143+ }
144+
145+ if ( this . configuration && this . configuration . apiKey ) {
146+ headerParameters [ "Accept-Encoding" ] = this . configuration . apiKey ( "Accept-Encoding" ) ; // AcceptEncoding authentication
147+ }
148+
105149 const response = await this . request ( {
106150 path : `/graphql/{pathQueryId}/ProfileSpotlightsQuery` . replace ( `{${ "pathQueryId" } }` , encodeURIComponent ( String ( requestParameters . pathQueryId ) ) ) ,
107151 method : 'GET' ,
@@ -153,15 +197,23 @@ export class DefaultApi extends runtime.BaseAPI {
153197 }
154198
155199 if ( this . configuration && this . configuration . apiKey ) {
156- headerParameters [ "x-twitter-active-user " ] = this . configuration . apiKey ( "x-twitter-active-user " ) ; // ActiveUser authentication
200+ headerParameters [ "Accept " ] = this . configuration . apiKey ( "Accept " ) ; // Accept authentication
157201 }
158202
159203 if ( this . configuration && this . configuration . apiKey ) {
160- headerParameters [ "user-agent " ] = this . configuration . apiKey ( "user-agent " ) ; // UserAgent authentication
204+ headerParameters [ "Sec-Fetch-Dest " ] = this . configuration . apiKey ( "Sec-Fetch-Dest " ) ; // SecFetchDest authentication
161205 }
162206
163207 if ( this . configuration && this . configuration . apiKey ) {
164- headerParameters [ "x-twitter-auth-type" ] = this . configuration . apiKey ( "x-twitter-auth-type" ) ; // AuthType authentication
208+ headerParameters [ "Pragma" ] = this . configuration . apiKey ( "Pragma" ) ; // Pragma authentication
209+ }
210+
211+ if ( this . configuration && this . configuration . apiKey ) {
212+ headerParameters [ "Sec-Ch-Ua-Platform" ] = this . configuration . apiKey ( "Sec-Ch-Ua-Platform" ) ; // SecChUaPlatform authentication
213+ }
214+
215+ if ( this . configuration && this . configuration . apiKey ) {
216+ headerParameters [ "Sec-Fetch-Mode" ] = this . configuration . apiKey ( "Sec-Fetch-Mode" ) ; // SecFetchMode authentication
165217 }
166218
167219 if ( this . configuration && this . configuration . apiKey ) {
@@ -180,6 +232,42 @@ export class DefaultApi extends runtime.BaseAPI {
180232 headerParameters [ "Authorization" ] = `Bearer ${ tokenString } ` ;
181233 }
182234 }
235+ if ( this . configuration && this . configuration . apiKey ) {
236+ headerParameters [ "Sec-Ch-Ua" ] = this . configuration . apiKey ( "Sec-Ch-Ua" ) ; // SecChUa authentication
237+ }
238+
239+ if ( this . configuration && this . configuration . apiKey ) {
240+ headerParameters [ "x-twitter-active-user" ] = this . configuration . apiKey ( "x-twitter-active-user" ) ; // ActiveUser authentication
241+ }
242+
243+ if ( this . configuration && this . configuration . apiKey ) {
244+ headerParameters [ "user-agent" ] = this . configuration . apiKey ( "user-agent" ) ; // UserAgent authentication
245+ }
246+
247+ if ( this . configuration && this . configuration . apiKey ) {
248+ headerParameters [ "Accept-Language" ] = this . configuration . apiKey ( "Accept-Language" ) ; // AcceptLanguage authentication
249+ }
250+
251+ if ( this . configuration && this . configuration . apiKey ) {
252+ headerParameters [ "Sec-Fetch-Site" ] = this . configuration . apiKey ( "Sec-Fetch-Site" ) ; // SecFetchSite authentication
253+ }
254+
255+ if ( this . configuration && this . configuration . apiKey ) {
256+ headerParameters [ "x-twitter-auth-type" ] = this . configuration . apiKey ( "x-twitter-auth-type" ) ; // AuthType authentication
257+ }
258+
259+ if ( this . configuration && this . configuration . apiKey ) {
260+ headerParameters [ "Cache-Control" ] = this . configuration . apiKey ( "Cache-Control" ) ; // CacheControl authentication
261+ }
262+
263+ if ( this . configuration && this . configuration . apiKey ) {
264+ headerParameters [ "Sec-Ch-Ua-Mobile" ] = this . configuration . apiKey ( "Sec-Ch-Ua-Mobile" ) ; // SecChUaMobile authentication
265+ }
266+
267+ if ( this . configuration && this . configuration . apiKey ) {
268+ headerParameters [ "Accept-Encoding" ] = this . configuration . apiKey ( "Accept-Encoding" ) ; // AcceptEncoding authentication
269+ }
270+
183271 const response = await this . request ( {
184272 path : `/graphql/{pathQueryId}/TweetResultByRestId` . replace ( `{${ "pathQueryId" } }` , encodeURIComponent ( String ( requestParameters . pathQueryId ) ) ) ,
185273 method : 'GET' ,
0 commit comments