twitter-openapi-typescript-generated 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/DefaultApi.d.ts +1 -0
  3. package/dist/apis/DefaultApi.d.ts.map +1 -1
  4. package/dist/apis/DefaultApi.js +100 -94
  5. package/dist/apis/DefaultApi.js.map +1 -1
  6. package/dist/apis/OtherApi.js +47 -47
  7. package/dist/apis/OtherApi.js.map +1 -1
  8. package/dist/apis/PostApi.d.ts +25 -1
  9. package/dist/apis/PostApi.d.ts.map +1 -1
  10. package/dist/apis/PostApi.js +670 -282
  11. package/dist/apis/PostApi.js.map +1 -1
  12. package/dist/apis/TweetApi.js +517 -517
  13. package/dist/apis/TweetApi.js.map +1 -1
  14. package/dist/apis/UserApi.js +94 -94
  15. package/dist/apis/UserApi.js.map +1 -1
  16. package/dist/apis/UserListApi.js +235 -235
  17. package/dist/apis/UserListApi.js.map +1 -1
  18. package/dist/apis/UsersApi.js +47 -47
  19. package/dist/apis/UsersApi.js.map +1 -1
  20. package/dist/apis/V11GetApi.js +94 -94
  21. package/dist/apis/V11GetApi.js.map +1 -1
  22. package/dist/apis/V11PostApi.js +94 -94
  23. package/dist/apis/V11PostApi.js.map +1 -1
  24. package/dist/apis/V20GetApi.js +47 -47
  25. package/dist/apis/V20GetApi.js.map +1 -1
  26. package/dist/models/AllowDownloadStatus.d.ts +32 -0
  27. package/dist/models/AllowDownloadStatus.d.ts.map +1 -0
  28. package/dist/models/AllowDownloadStatus.js +48 -0
  29. package/dist/models/AllowDownloadStatus.js.map +1 -0
  30. package/dist/models/ArticleLifecycleState.d.ts +32 -0
  31. package/dist/models/ArticleLifecycleState.d.ts.map +1 -0
  32. package/dist/models/ArticleLifecycleState.js +48 -0
  33. package/dist/models/ArticleLifecycleState.js.map +1 -0
  34. package/dist/models/ArticleMetadata.d.ts +32 -0
  35. package/dist/models/ArticleMetadata.d.ts.map +1 -0
  36. package/dist/models/ArticleMetadata.js +48 -0
  37. package/dist/models/ArticleMetadata.js.map +1 -0
  38. package/dist/models/ArticleResult.d.ts +14 -0
  39. package/dist/models/ArticleResult.d.ts.map +1 -1
  40. package/dist/models/ArticleResult.js +8 -0
  41. package/dist/models/ArticleResult.js.map +1 -1
  42. package/dist/models/CreateBookmarkResponse.d.ts +33 -0
  43. package/dist/models/CreateBookmarkResponse.d.ts.map +1 -0
  44. package/dist/models/CreateBookmarkResponse.js +49 -0
  45. package/dist/models/CreateBookmarkResponse.js.map +1 -0
  46. package/dist/models/CreateBookmarkResponseData.d.ts +32 -0
  47. package/dist/models/CreateBookmarkResponseData.d.ts.map +1 -0
  48. package/dist/models/CreateBookmarkResponseData.js +48 -0
  49. package/dist/models/CreateBookmarkResponseData.js.map +1 -0
  50. package/dist/models/DeleteBookmarkResponse.d.ts +33 -0
  51. package/dist/models/DeleteBookmarkResponse.d.ts.map +1 -0
  52. package/dist/models/DeleteBookmarkResponse.js +49 -0
  53. package/dist/models/DeleteBookmarkResponse.js.map +1 -0
  54. package/dist/models/DeleteBookmarkResponseData.d.ts +32 -0
  55. package/dist/models/DeleteBookmarkResponseData.d.ts.map +1 -0
  56. package/dist/models/DeleteBookmarkResponseData.js +48 -0
  57. package/dist/models/DeleteBookmarkResponseData.js.map +1 -0
  58. package/dist/models/Media.d.ts +20 -8
  59. package/dist/models/Media.d.ts.map +1 -1
  60. package/dist/models/Media.js +12 -4
  61. package/dist/models/Media.js.map +1 -1
  62. package/dist/models/MediaExtended.d.ts +14 -0
  63. package/dist/models/MediaExtended.d.ts.map +1 -1
  64. package/dist/models/MediaExtended.js +6 -0
  65. package/dist/models/MediaExtended.js.map +1 -1
  66. package/dist/models/MediaResult.d.ts +32 -0
  67. package/dist/models/MediaResult.d.ts.map +1 -0
  68. package/dist/models/MediaResult.js +48 -0
  69. package/dist/models/MediaResult.js.map +1 -0
  70. package/dist/models/MediaResults.d.ts +33 -0
  71. package/dist/models/MediaResults.d.ts.map +1 -0
  72. package/dist/models/MediaResults.js +49 -0
  73. package/dist/models/MediaResults.js.map +1 -0
  74. package/dist/models/MediaVisibilityResults.d.ts +33 -0
  75. package/dist/models/MediaVisibilityResults.d.ts.map +1 -0
  76. package/dist/models/MediaVisibilityResults.js +49 -0
  77. package/dist/models/MediaVisibilityResults.js.map +1 -0
  78. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts +45 -0
  79. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.d.ts.map +1 -0
  80. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js +57 -0
  81. package/dist/models/MediaVisibilityResultsBlurredImageInterstitial.js.map +1 -0
  82. package/dist/models/PostCreateBookmark200Response.d.ts +23 -0
  83. package/dist/models/PostCreateBookmark200Response.d.ts.map +1 -0
  84. package/dist/models/PostCreateBookmark200Response.js +54 -0
  85. package/dist/models/PostCreateBookmark200Response.js.map +1 -0
  86. package/dist/models/PostCreateBookmarkRequest.d.ts +39 -0
  87. package/dist/models/PostCreateBookmarkRequest.d.ts.map +1 -0
  88. package/dist/models/PostCreateBookmarkRequest.js +53 -0
  89. package/dist/models/PostCreateBookmarkRequest.js.map +1 -0
  90. package/dist/models/PostCreateBookmarkRequestVariables.d.ts +32 -0
  91. package/dist/models/PostCreateBookmarkRequestVariables.d.ts.map +1 -0
  92. package/dist/models/PostCreateBookmarkRequestVariables.js +48 -0
  93. package/dist/models/PostCreateBookmarkRequestVariables.js.map +1 -0
  94. package/dist/models/PostDeleteBookmark200Response.d.ts +23 -0
  95. package/dist/models/PostDeleteBookmark200Response.d.ts.map +1 -0
  96. package/dist/models/PostDeleteBookmark200Response.js +54 -0
  97. package/dist/models/PostDeleteBookmark200Response.js.map +1 -0
  98. package/dist/models/PostDeleteBookmarkRequest.d.ts +39 -0
  99. package/dist/models/PostDeleteBookmarkRequest.d.ts.map +1 -0
  100. package/dist/models/PostDeleteBookmarkRequest.js +53 -0
  101. package/dist/models/PostDeleteBookmarkRequest.js.map +1 -0
  102. package/dist/models/TweetWithVisibilityResults.d.ts +7 -0
  103. package/dist/models/TweetWithVisibilityResults.d.ts.map +1 -1
  104. package/dist/models/TweetWithVisibilityResults.js +3 -0
  105. package/dist/models/TweetWithVisibilityResults.js.map +1 -1
  106. package/dist/models/Url.d.ts +1 -1
  107. package/dist/models/Url.d.ts.map +1 -1
  108. package/dist/models/Url.js +1 -3
  109. package/dist/models/Url.js.map +1 -1
  110. package/dist/models/User.d.ts +14 -0
  111. package/dist/models/User.d.ts.map +1 -1
  112. package/dist/models/User.js +6 -0
  113. package/dist/models/User.js.map +1 -1
  114. package/dist/models/UserLegacyExtendedProfile.d.ts +33 -0
  115. package/dist/models/UserLegacyExtendedProfile.d.ts.map +1 -0
  116. package/dist/models/UserLegacyExtendedProfile.js +47 -0
  117. package/dist/models/UserLegacyExtendedProfile.js.map +1 -0
  118. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts +78 -0
  119. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts.map +1 -0
  120. package/dist/models/UserLegacyExtendedProfileBirthdate.js +84 -0
  121. package/dist/models/UserLegacyExtendedProfileBirthdate.js.map +1 -0
  122. package/dist/models/UserTipJarSettings.d.ts +68 -0
  123. package/dist/models/UserTipJarSettings.d.ts.map +1 -0
  124. package/dist/models/UserTipJarSettings.js +58 -0
  125. package/dist/models/UserTipJarSettings.js.map +1 -0
  126. package/dist/models/index.d.ts +19 -0
  127. package/dist/models/index.d.ts.map +1 -1
  128. package/dist/models/index.js +19 -0
  129. package/dist/models/index.js.map +1 -1
  130. package/package.json +1 -1
@@ -80,7 +80,7 @@ var TweetApi = /** @class */ (function (_super) {
80
80
  */
81
81
  TweetApi.prototype.getBookmarksRaw = function (requestParameters, initOverrides) {
82
82
  return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
83
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
84
84
  return __generator(this, function (_10) {
85
85
  switch (_10.label) {
86
86
  case 0:
@@ -119,116 +119,116 @@ var TweetApi = /** @class */ (function (_super) {
119
119
  case 4:
120
120
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
121
121
  _e = headerParameters;
122
- _f = "Sec-Fetch-Dest";
123
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
122
+ _f = "Priority";
123
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
124
124
  case 5:
125
- _e[_f] = _10.sent(); // SecFetchDest authentication
125
+ _e[_f] = _10.sent(); // Priority authentication
126
126
  _10.label = 6;
127
127
  case 6:
128
128
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
129
129
  _g = headerParameters;
130
- _h = "Pragma";
131
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
130
+ _h = "Sec-Fetch-Dest";
131
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
132
132
  case 7:
133
- _g[_h] = _10.sent(); // Pragma authentication
133
+ _g[_h] = _10.sent(); // SecFetchDest authentication
134
134
  _10.label = 8;
135
135
  case 8:
136
136
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
137
137
  _j = headerParameters;
138
- _k = "Sec-Ch-Ua-Platform";
139
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
138
+ _k = "Referer";
139
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
140
140
  case 9:
141
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
141
+ _j[_k] = _10.sent(); // Referer authentication
142
142
  _10.label = 10;
143
143
  case 10:
144
144
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
145
145
  _l = headerParameters;
146
- _m = "Sec-Fetch-Mode";
147
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
146
+ _m = "Sec-Ch-Ua-Platform";
147
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
148
148
  case 11:
149
- _l[_m] = _10.sent(); // SecFetchMode authentication
149
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
150
150
  _10.label = 12;
151
151
  case 12:
152
152
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
153
153
  _o = headerParameters;
154
- _p = "x-csrf-token";
155
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
154
+ _p = "Sec-Fetch-Mode";
155
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
156
156
  case 13:
157
- _o[_p] = _10.sent(); // CsrfToken authentication
157
+ _o[_p] = _10.sent(); // SecFetchMode authentication
158
158
  _10.label = 14;
159
159
  case 14:
160
160
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
161
161
  _q = headerParameters;
162
- _r = "x-guest-token";
163
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
162
+ _r = "x-csrf-token";
163
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
164
164
  case 15:
165
- _q[_r] = _10.sent(); // GuestToken authentication
165
+ _q[_r] = _10.sent(); // CsrfToken authentication
166
166
  _10.label = 16;
167
167
  case 16:
168
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
168
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
169
+ _s = headerParameters;
170
+ _t = "x-guest-token";
171
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
172
+ case 17:
173
+ _s[_t] = _10.sent(); // GuestToken authentication
174
+ _10.label = 18;
175
+ case 18:
176
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
169
177
  token = this.configuration.accessToken;
170
178
  return [4 /*yield*/, token("BearerAuth", [])];
171
- case 17:
179
+ case 19:
172
180
  tokenString = _10.sent();
173
181
  if (tokenString) {
174
182
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
175
183
  }
176
- _10.label = 18;
177
- case 18:
178
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
179
- _s = headerParameters;
180
- _t = "Sec-Ch-Ua";
181
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
182
- case 19:
183
- _s[_t] = _10.sent(); // SecChUa authentication
184
184
  _10.label = 20;
185
185
  case 20:
186
186
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
187
187
  _u = headerParameters;
188
- _v = "x-twitter-active-user";
189
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
188
+ _v = "Sec-Ch-Ua";
189
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
190
190
  case 21:
191
- _u[_v] = _10.sent(); // ActiveUser authentication
191
+ _u[_v] = _10.sent(); // SecChUa authentication
192
192
  _10.label = 22;
193
193
  case 22:
194
194
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
195
195
  _w = headerParameters;
196
- _x = "user-agent";
197
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
196
+ _x = "x-twitter-active-user";
197
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
198
198
  case 23:
199
- _w[_x] = _10.sent(); // UserAgent authentication
199
+ _w[_x] = _10.sent(); // ActiveUser authentication
200
200
  _10.label = 24;
201
201
  case 24:
202
202
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
203
203
  _y = headerParameters;
204
- _z = "Accept-Language";
205
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
204
+ _z = "user-agent";
205
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
206
206
  case 25:
207
- _y[_z] = _10.sent(); // AcceptLanguage authentication
207
+ _y[_z] = _10.sent(); // UserAgent authentication
208
208
  _10.label = 26;
209
209
  case 26:
210
210
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
211
211
  _0 = headerParameters;
212
- _1 = "Sec-Fetch-Site";
213
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
212
+ _1 = "Accept-Language";
213
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
214
214
  case 27:
215
- _0[_1] = _10.sent(); // SecFetchSite authentication
215
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
216
216
  _10.label = 28;
217
217
  case 28:
218
218
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
219
219
  _2 = headerParameters;
220
- _3 = "x-twitter-auth-type";
221
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
220
+ _3 = "Sec-Fetch-Site";
221
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
222
222
  case 29:
223
- _2[_3] = _10.sent(); // AuthType authentication
223
+ _2[_3] = _10.sent(); // SecFetchSite authentication
224
224
  _10.label = 30;
225
225
  case 30:
226
226
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
227
227
  _4 = headerParameters;
228
- _5 = "Cache-Control";
229
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
228
+ _5 = "x-twitter-auth-type";
229
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
230
230
  case 31:
231
- _4[_5] = _10.sent(); // CacheControl authentication
231
+ _4[_5] = _10.sent(); // AuthType authentication
232
232
  _10.label = 32;
233
233
  case 32:
234
234
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -281,7 +281,7 @@ var TweetApi = /** @class */ (function (_super) {
281
281
  */
282
282
  TweetApi.prototype.getHomeLatestTimelineRaw = function (requestParameters, initOverrides) {
283
283
  return __awaiter(this, void 0, void 0, function () {
284
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
284
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
285
285
  return __generator(this, function (_10) {
286
286
  switch (_10.label) {
287
287
  case 0:
@@ -320,116 +320,116 @@ var TweetApi = /** @class */ (function (_super) {
320
320
  case 4:
321
321
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
322
322
  _e = headerParameters;
323
- _f = "Sec-Fetch-Dest";
324
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
323
+ _f = "Priority";
324
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
325
325
  case 5:
326
- _e[_f] = _10.sent(); // SecFetchDest authentication
326
+ _e[_f] = _10.sent(); // Priority authentication
327
327
  _10.label = 6;
328
328
  case 6:
329
329
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
330
330
  _g = headerParameters;
331
- _h = "Pragma";
332
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
331
+ _h = "Sec-Fetch-Dest";
332
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
333
333
  case 7:
334
- _g[_h] = _10.sent(); // Pragma authentication
334
+ _g[_h] = _10.sent(); // SecFetchDest authentication
335
335
  _10.label = 8;
336
336
  case 8:
337
337
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
338
338
  _j = headerParameters;
339
- _k = "Sec-Ch-Ua-Platform";
340
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
339
+ _k = "Referer";
340
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
341
341
  case 9:
342
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
342
+ _j[_k] = _10.sent(); // Referer authentication
343
343
  _10.label = 10;
344
344
  case 10:
345
345
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
346
346
  _l = headerParameters;
347
- _m = "Sec-Fetch-Mode";
348
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
347
+ _m = "Sec-Ch-Ua-Platform";
348
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
349
349
  case 11:
350
- _l[_m] = _10.sent(); // SecFetchMode authentication
350
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
351
351
  _10.label = 12;
352
352
  case 12:
353
353
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
354
354
  _o = headerParameters;
355
- _p = "x-csrf-token";
356
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
355
+ _p = "Sec-Fetch-Mode";
356
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
357
357
  case 13:
358
- _o[_p] = _10.sent(); // CsrfToken authentication
358
+ _o[_p] = _10.sent(); // SecFetchMode authentication
359
359
  _10.label = 14;
360
360
  case 14:
361
361
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
362
362
  _q = headerParameters;
363
- _r = "x-guest-token";
364
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
363
+ _r = "x-csrf-token";
364
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
365
365
  case 15:
366
- _q[_r] = _10.sent(); // GuestToken authentication
366
+ _q[_r] = _10.sent(); // CsrfToken authentication
367
367
  _10.label = 16;
368
368
  case 16:
369
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
369
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
370
+ _s = headerParameters;
371
+ _t = "x-guest-token";
372
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
373
+ case 17:
374
+ _s[_t] = _10.sent(); // GuestToken authentication
375
+ _10.label = 18;
376
+ case 18:
377
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
370
378
  token = this.configuration.accessToken;
371
379
  return [4 /*yield*/, token("BearerAuth", [])];
372
- case 17:
380
+ case 19:
373
381
  tokenString = _10.sent();
374
382
  if (tokenString) {
375
383
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
376
384
  }
377
- _10.label = 18;
378
- case 18:
379
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
380
- _s = headerParameters;
381
- _t = "Sec-Ch-Ua";
382
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
383
- case 19:
384
- _s[_t] = _10.sent(); // SecChUa authentication
385
385
  _10.label = 20;
386
386
  case 20:
387
387
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
388
388
  _u = headerParameters;
389
- _v = "x-twitter-active-user";
390
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
389
+ _v = "Sec-Ch-Ua";
390
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
391
391
  case 21:
392
- _u[_v] = _10.sent(); // ActiveUser authentication
392
+ _u[_v] = _10.sent(); // SecChUa authentication
393
393
  _10.label = 22;
394
394
  case 22:
395
395
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
396
396
  _w = headerParameters;
397
- _x = "user-agent";
398
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
397
+ _x = "x-twitter-active-user";
398
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
399
399
  case 23:
400
- _w[_x] = _10.sent(); // UserAgent authentication
400
+ _w[_x] = _10.sent(); // ActiveUser authentication
401
401
  _10.label = 24;
402
402
  case 24:
403
403
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
404
404
  _y = headerParameters;
405
- _z = "Accept-Language";
406
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
405
+ _z = "user-agent";
406
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
407
407
  case 25:
408
- _y[_z] = _10.sent(); // AcceptLanguage authentication
408
+ _y[_z] = _10.sent(); // UserAgent authentication
409
409
  _10.label = 26;
410
410
  case 26:
411
411
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
412
412
  _0 = headerParameters;
413
- _1 = "Sec-Fetch-Site";
414
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
413
+ _1 = "Accept-Language";
414
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
415
415
  case 27:
416
- _0[_1] = _10.sent(); // SecFetchSite authentication
416
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
417
417
  _10.label = 28;
418
418
  case 28:
419
419
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
420
420
  _2 = headerParameters;
421
- _3 = "x-twitter-auth-type";
422
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
421
+ _3 = "Sec-Fetch-Site";
422
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
423
423
  case 29:
424
- _2[_3] = _10.sent(); // AuthType authentication
424
+ _2[_3] = _10.sent(); // SecFetchSite authentication
425
425
  _10.label = 30;
426
426
  case 30:
427
427
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
428
428
  _4 = headerParameters;
429
- _5 = "Cache-Control";
430
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
429
+ _5 = "x-twitter-auth-type";
430
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
431
431
  case 31:
432
- _4[_5] = _10.sent(); // CacheControl authentication
432
+ _4[_5] = _10.sent(); // AuthType authentication
433
433
  _10.label = 32;
434
434
  case 32:
435
435
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -482,7 +482,7 @@ var TweetApi = /** @class */ (function (_super) {
482
482
  */
483
483
  TweetApi.prototype.getHomeTimelineRaw = function (requestParameters, initOverrides) {
484
484
  return __awaiter(this, void 0, void 0, function () {
485
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
485
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
486
486
  return __generator(this, function (_10) {
487
487
  switch (_10.label) {
488
488
  case 0:
@@ -521,116 +521,116 @@ var TweetApi = /** @class */ (function (_super) {
521
521
  case 4:
522
522
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
523
523
  _e = headerParameters;
524
- _f = "Sec-Fetch-Dest";
525
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
524
+ _f = "Priority";
525
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
526
526
  case 5:
527
- _e[_f] = _10.sent(); // SecFetchDest authentication
527
+ _e[_f] = _10.sent(); // Priority authentication
528
528
  _10.label = 6;
529
529
  case 6:
530
530
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
531
531
  _g = headerParameters;
532
- _h = "Pragma";
533
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
532
+ _h = "Sec-Fetch-Dest";
533
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
534
534
  case 7:
535
- _g[_h] = _10.sent(); // Pragma authentication
535
+ _g[_h] = _10.sent(); // SecFetchDest authentication
536
536
  _10.label = 8;
537
537
  case 8:
538
538
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
539
539
  _j = headerParameters;
540
- _k = "Sec-Ch-Ua-Platform";
541
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
540
+ _k = "Referer";
541
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
542
542
  case 9:
543
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
543
+ _j[_k] = _10.sent(); // Referer authentication
544
544
  _10.label = 10;
545
545
  case 10:
546
546
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
547
547
  _l = headerParameters;
548
- _m = "Sec-Fetch-Mode";
549
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
548
+ _m = "Sec-Ch-Ua-Platform";
549
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
550
550
  case 11:
551
- _l[_m] = _10.sent(); // SecFetchMode authentication
551
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
552
552
  _10.label = 12;
553
553
  case 12:
554
554
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
555
555
  _o = headerParameters;
556
- _p = "x-csrf-token";
557
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
556
+ _p = "Sec-Fetch-Mode";
557
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
558
558
  case 13:
559
- _o[_p] = _10.sent(); // CsrfToken authentication
559
+ _o[_p] = _10.sent(); // SecFetchMode authentication
560
560
  _10.label = 14;
561
561
  case 14:
562
562
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
563
563
  _q = headerParameters;
564
- _r = "x-guest-token";
565
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
564
+ _r = "x-csrf-token";
565
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
566
566
  case 15:
567
- _q[_r] = _10.sent(); // GuestToken authentication
567
+ _q[_r] = _10.sent(); // CsrfToken authentication
568
568
  _10.label = 16;
569
569
  case 16:
570
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
570
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
571
+ _s = headerParameters;
572
+ _t = "x-guest-token";
573
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
574
+ case 17:
575
+ _s[_t] = _10.sent(); // GuestToken authentication
576
+ _10.label = 18;
577
+ case 18:
578
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
571
579
  token = this.configuration.accessToken;
572
580
  return [4 /*yield*/, token("BearerAuth", [])];
573
- case 17:
581
+ case 19:
574
582
  tokenString = _10.sent();
575
583
  if (tokenString) {
576
584
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
577
585
  }
578
- _10.label = 18;
579
- case 18:
580
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
581
- _s = headerParameters;
582
- _t = "Sec-Ch-Ua";
583
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
584
- case 19:
585
- _s[_t] = _10.sent(); // SecChUa authentication
586
586
  _10.label = 20;
587
587
  case 20:
588
588
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
589
589
  _u = headerParameters;
590
- _v = "x-twitter-active-user";
591
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
590
+ _v = "Sec-Ch-Ua";
591
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
592
592
  case 21:
593
- _u[_v] = _10.sent(); // ActiveUser authentication
593
+ _u[_v] = _10.sent(); // SecChUa authentication
594
594
  _10.label = 22;
595
595
  case 22:
596
596
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
597
597
  _w = headerParameters;
598
- _x = "user-agent";
599
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
598
+ _x = "x-twitter-active-user";
599
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
600
600
  case 23:
601
- _w[_x] = _10.sent(); // UserAgent authentication
601
+ _w[_x] = _10.sent(); // ActiveUser authentication
602
602
  _10.label = 24;
603
603
  case 24:
604
604
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
605
605
  _y = headerParameters;
606
- _z = "Accept-Language";
607
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
606
+ _z = "user-agent";
607
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
608
608
  case 25:
609
- _y[_z] = _10.sent(); // AcceptLanguage authentication
609
+ _y[_z] = _10.sent(); // UserAgent authentication
610
610
  _10.label = 26;
611
611
  case 26:
612
612
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
613
613
  _0 = headerParameters;
614
- _1 = "Sec-Fetch-Site";
615
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
614
+ _1 = "Accept-Language";
615
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
616
616
  case 27:
617
- _0[_1] = _10.sent(); // SecFetchSite authentication
617
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
618
618
  _10.label = 28;
619
619
  case 28:
620
620
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
621
621
  _2 = headerParameters;
622
- _3 = "x-twitter-auth-type";
623
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
622
+ _3 = "Sec-Fetch-Site";
623
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
624
624
  case 29:
625
- _2[_3] = _10.sent(); // AuthType authentication
625
+ _2[_3] = _10.sent(); // SecFetchSite authentication
626
626
  _10.label = 30;
627
627
  case 30:
628
628
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
629
629
  _4 = headerParameters;
630
- _5 = "Cache-Control";
631
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
630
+ _5 = "x-twitter-auth-type";
631
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
632
632
  case 31:
633
- _4[_5] = _10.sent(); // CacheControl authentication
633
+ _4[_5] = _10.sent(); // AuthType authentication
634
634
  _10.label = 32;
635
635
  case 32:
636
636
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -683,7 +683,7 @@ var TweetApi = /** @class */ (function (_super) {
683
683
  */
684
684
  TweetApi.prototype.getLikesRaw = function (requestParameters, initOverrides) {
685
685
  return __awaiter(this, void 0, void 0, function () {
686
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
686
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
687
687
  return __generator(this, function (_10) {
688
688
  switch (_10.label) {
689
689
  case 0:
@@ -722,116 +722,116 @@ var TweetApi = /** @class */ (function (_super) {
722
722
  case 4:
723
723
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
724
724
  _e = headerParameters;
725
- _f = "Sec-Fetch-Dest";
726
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
725
+ _f = "Priority";
726
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
727
727
  case 5:
728
- _e[_f] = _10.sent(); // SecFetchDest authentication
728
+ _e[_f] = _10.sent(); // Priority authentication
729
729
  _10.label = 6;
730
730
  case 6:
731
731
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
732
732
  _g = headerParameters;
733
- _h = "Pragma";
734
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
733
+ _h = "Sec-Fetch-Dest";
734
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
735
735
  case 7:
736
- _g[_h] = _10.sent(); // Pragma authentication
736
+ _g[_h] = _10.sent(); // SecFetchDest authentication
737
737
  _10.label = 8;
738
738
  case 8:
739
739
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
740
740
  _j = headerParameters;
741
- _k = "Sec-Ch-Ua-Platform";
742
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
741
+ _k = "Referer";
742
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
743
743
  case 9:
744
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
744
+ _j[_k] = _10.sent(); // Referer authentication
745
745
  _10.label = 10;
746
746
  case 10:
747
747
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
748
748
  _l = headerParameters;
749
- _m = "Sec-Fetch-Mode";
750
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
749
+ _m = "Sec-Ch-Ua-Platform";
750
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
751
751
  case 11:
752
- _l[_m] = _10.sent(); // SecFetchMode authentication
752
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
753
753
  _10.label = 12;
754
754
  case 12:
755
755
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
756
756
  _o = headerParameters;
757
- _p = "x-csrf-token";
758
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
757
+ _p = "Sec-Fetch-Mode";
758
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
759
759
  case 13:
760
- _o[_p] = _10.sent(); // CsrfToken authentication
760
+ _o[_p] = _10.sent(); // SecFetchMode authentication
761
761
  _10.label = 14;
762
762
  case 14:
763
763
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
764
764
  _q = headerParameters;
765
- _r = "x-guest-token";
766
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
765
+ _r = "x-csrf-token";
766
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
767
767
  case 15:
768
- _q[_r] = _10.sent(); // GuestToken authentication
768
+ _q[_r] = _10.sent(); // CsrfToken authentication
769
769
  _10.label = 16;
770
770
  case 16:
771
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
771
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
772
+ _s = headerParameters;
773
+ _t = "x-guest-token";
774
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
775
+ case 17:
776
+ _s[_t] = _10.sent(); // GuestToken authentication
777
+ _10.label = 18;
778
+ case 18:
779
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
772
780
  token = this.configuration.accessToken;
773
781
  return [4 /*yield*/, token("BearerAuth", [])];
774
- case 17:
782
+ case 19:
775
783
  tokenString = _10.sent();
776
784
  if (tokenString) {
777
785
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
778
786
  }
779
- _10.label = 18;
780
- case 18:
781
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
782
- _s = headerParameters;
783
- _t = "Sec-Ch-Ua";
784
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
785
- case 19:
786
- _s[_t] = _10.sent(); // SecChUa authentication
787
787
  _10.label = 20;
788
788
  case 20:
789
789
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
790
790
  _u = headerParameters;
791
- _v = "x-twitter-active-user";
792
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
791
+ _v = "Sec-Ch-Ua";
792
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
793
793
  case 21:
794
- _u[_v] = _10.sent(); // ActiveUser authentication
794
+ _u[_v] = _10.sent(); // SecChUa authentication
795
795
  _10.label = 22;
796
796
  case 22:
797
797
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
798
798
  _w = headerParameters;
799
- _x = "user-agent";
800
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
799
+ _x = "x-twitter-active-user";
800
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
801
801
  case 23:
802
- _w[_x] = _10.sent(); // UserAgent authentication
802
+ _w[_x] = _10.sent(); // ActiveUser authentication
803
803
  _10.label = 24;
804
804
  case 24:
805
805
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
806
806
  _y = headerParameters;
807
- _z = "Accept-Language";
808
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
807
+ _z = "user-agent";
808
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
809
809
  case 25:
810
- _y[_z] = _10.sent(); // AcceptLanguage authentication
810
+ _y[_z] = _10.sent(); // UserAgent authentication
811
811
  _10.label = 26;
812
812
  case 26:
813
813
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
814
814
  _0 = headerParameters;
815
- _1 = "Sec-Fetch-Site";
816
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
815
+ _1 = "Accept-Language";
816
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
817
817
  case 27:
818
- _0[_1] = _10.sent(); // SecFetchSite authentication
818
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
819
819
  _10.label = 28;
820
820
  case 28:
821
821
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
822
822
  _2 = headerParameters;
823
- _3 = "x-twitter-auth-type";
824
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
823
+ _3 = "Sec-Fetch-Site";
824
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
825
825
  case 29:
826
- _2[_3] = _10.sent(); // AuthType authentication
826
+ _2[_3] = _10.sent(); // SecFetchSite authentication
827
827
  _10.label = 30;
828
828
  case 30:
829
829
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
830
830
  _4 = headerParameters;
831
- _5 = "Cache-Control";
832
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
831
+ _5 = "x-twitter-auth-type";
832
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
833
833
  case 31:
834
- _4[_5] = _10.sent(); // CacheControl authentication
834
+ _4[_5] = _10.sent(); // AuthType authentication
835
835
  _10.label = 32;
836
836
  case 32:
837
837
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -884,7 +884,7 @@ var TweetApi = /** @class */ (function (_super) {
884
884
  */
885
885
  TweetApi.prototype.getListLatestTweetsTimelineRaw = function (requestParameters, initOverrides) {
886
886
  return __awaiter(this, void 0, void 0, function () {
887
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
887
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
888
888
  return __generator(this, function (_10) {
889
889
  switch (_10.label) {
890
890
  case 0:
@@ -923,116 +923,116 @@ var TweetApi = /** @class */ (function (_super) {
923
923
  case 4:
924
924
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
925
925
  _e = headerParameters;
926
- _f = "Sec-Fetch-Dest";
927
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
926
+ _f = "Priority";
927
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
928
928
  case 5:
929
- _e[_f] = _10.sent(); // SecFetchDest authentication
929
+ _e[_f] = _10.sent(); // Priority authentication
930
930
  _10.label = 6;
931
931
  case 6:
932
932
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
933
933
  _g = headerParameters;
934
- _h = "Pragma";
935
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
934
+ _h = "Sec-Fetch-Dest";
935
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
936
936
  case 7:
937
- _g[_h] = _10.sent(); // Pragma authentication
937
+ _g[_h] = _10.sent(); // SecFetchDest authentication
938
938
  _10.label = 8;
939
939
  case 8:
940
940
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
941
941
  _j = headerParameters;
942
- _k = "Sec-Ch-Ua-Platform";
943
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
942
+ _k = "Referer";
943
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
944
944
  case 9:
945
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
945
+ _j[_k] = _10.sent(); // Referer authentication
946
946
  _10.label = 10;
947
947
  case 10:
948
948
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
949
949
  _l = headerParameters;
950
- _m = "Sec-Fetch-Mode";
951
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
950
+ _m = "Sec-Ch-Ua-Platform";
951
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
952
952
  case 11:
953
- _l[_m] = _10.sent(); // SecFetchMode authentication
953
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
954
954
  _10.label = 12;
955
955
  case 12:
956
956
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
957
957
  _o = headerParameters;
958
- _p = "x-csrf-token";
959
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
958
+ _p = "Sec-Fetch-Mode";
959
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
960
960
  case 13:
961
- _o[_p] = _10.sent(); // CsrfToken authentication
961
+ _o[_p] = _10.sent(); // SecFetchMode authentication
962
962
  _10.label = 14;
963
963
  case 14:
964
964
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
965
965
  _q = headerParameters;
966
- _r = "x-guest-token";
967
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
966
+ _r = "x-csrf-token";
967
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
968
968
  case 15:
969
- _q[_r] = _10.sent(); // GuestToken authentication
969
+ _q[_r] = _10.sent(); // CsrfToken authentication
970
970
  _10.label = 16;
971
971
  case 16:
972
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
972
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
973
+ _s = headerParameters;
974
+ _t = "x-guest-token";
975
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
976
+ case 17:
977
+ _s[_t] = _10.sent(); // GuestToken authentication
978
+ _10.label = 18;
979
+ case 18:
980
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
973
981
  token = this.configuration.accessToken;
974
982
  return [4 /*yield*/, token("BearerAuth", [])];
975
- case 17:
983
+ case 19:
976
984
  tokenString = _10.sent();
977
985
  if (tokenString) {
978
986
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
979
987
  }
980
- _10.label = 18;
981
- case 18:
982
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
983
- _s = headerParameters;
984
- _t = "Sec-Ch-Ua";
985
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
986
- case 19:
987
- _s[_t] = _10.sent(); // SecChUa authentication
988
988
  _10.label = 20;
989
989
  case 20:
990
990
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
991
991
  _u = headerParameters;
992
- _v = "x-twitter-active-user";
993
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
992
+ _v = "Sec-Ch-Ua";
993
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
994
994
  case 21:
995
- _u[_v] = _10.sent(); // ActiveUser authentication
995
+ _u[_v] = _10.sent(); // SecChUa authentication
996
996
  _10.label = 22;
997
997
  case 22:
998
998
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
999
999
  _w = headerParameters;
1000
- _x = "user-agent";
1001
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1000
+ _x = "x-twitter-active-user";
1001
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1002
1002
  case 23:
1003
- _w[_x] = _10.sent(); // UserAgent authentication
1003
+ _w[_x] = _10.sent(); // ActiveUser authentication
1004
1004
  _10.label = 24;
1005
1005
  case 24:
1006
1006
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1007
1007
  _y = headerParameters;
1008
- _z = "Accept-Language";
1009
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1008
+ _z = "user-agent";
1009
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1010
1010
  case 25:
1011
- _y[_z] = _10.sent(); // AcceptLanguage authentication
1011
+ _y[_z] = _10.sent(); // UserAgent authentication
1012
1012
  _10.label = 26;
1013
1013
  case 26:
1014
1014
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1015
1015
  _0 = headerParameters;
1016
- _1 = "Sec-Fetch-Site";
1017
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1016
+ _1 = "Accept-Language";
1017
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1018
1018
  case 27:
1019
- _0[_1] = _10.sent(); // SecFetchSite authentication
1019
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
1020
1020
  _10.label = 28;
1021
1021
  case 28:
1022
1022
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1023
1023
  _2 = headerParameters;
1024
- _3 = "x-twitter-auth-type";
1025
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1024
+ _3 = "Sec-Fetch-Site";
1025
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1026
1026
  case 29:
1027
- _2[_3] = _10.sent(); // AuthType authentication
1027
+ _2[_3] = _10.sent(); // SecFetchSite authentication
1028
1028
  _10.label = 30;
1029
1029
  case 30:
1030
1030
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1031
1031
  _4 = headerParameters;
1032
- _5 = "Cache-Control";
1033
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
1032
+ _5 = "x-twitter-auth-type";
1033
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1034
1034
  case 31:
1035
- _4[_5] = _10.sent(); // CacheControl authentication
1035
+ _4[_5] = _10.sent(); // AuthType authentication
1036
1036
  _10.label = 32;
1037
1037
  case 32:
1038
1038
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -1085,7 +1085,7 @@ var TweetApi = /** @class */ (function (_super) {
1085
1085
  */
1086
1086
  TweetApi.prototype.getSearchTimelineRaw = function (requestParameters, initOverrides) {
1087
1087
  return __awaiter(this, void 0, void 0, function () {
1088
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1088
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1089
1089
  return __generator(this, function (_10) {
1090
1090
  switch (_10.label) {
1091
1091
  case 0:
@@ -1124,116 +1124,116 @@ var TweetApi = /** @class */ (function (_super) {
1124
1124
  case 4:
1125
1125
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1126
1126
  _e = headerParameters;
1127
- _f = "Sec-Fetch-Dest";
1128
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1127
+ _f = "Priority";
1128
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
1129
1129
  case 5:
1130
- _e[_f] = _10.sent(); // SecFetchDest authentication
1130
+ _e[_f] = _10.sent(); // Priority authentication
1131
1131
  _10.label = 6;
1132
1132
  case 6:
1133
1133
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1134
1134
  _g = headerParameters;
1135
- _h = "Pragma";
1136
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
1135
+ _h = "Sec-Fetch-Dest";
1136
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1137
1137
  case 7:
1138
- _g[_h] = _10.sent(); // Pragma authentication
1138
+ _g[_h] = _10.sent(); // SecFetchDest authentication
1139
1139
  _10.label = 8;
1140
1140
  case 8:
1141
1141
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1142
1142
  _j = headerParameters;
1143
- _k = "Sec-Ch-Ua-Platform";
1144
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1143
+ _k = "Referer";
1144
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1145
1145
  case 9:
1146
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
1146
+ _j[_k] = _10.sent(); // Referer authentication
1147
1147
  _10.label = 10;
1148
1148
  case 10:
1149
1149
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1150
1150
  _l = headerParameters;
1151
- _m = "Sec-Fetch-Mode";
1152
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1151
+ _m = "Sec-Ch-Ua-Platform";
1152
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1153
1153
  case 11:
1154
- _l[_m] = _10.sent(); // SecFetchMode authentication
1154
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
1155
1155
  _10.label = 12;
1156
1156
  case 12:
1157
1157
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1158
1158
  _o = headerParameters;
1159
- _p = "x-csrf-token";
1160
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1159
+ _p = "Sec-Fetch-Mode";
1160
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1161
1161
  case 13:
1162
- _o[_p] = _10.sent(); // CsrfToken authentication
1162
+ _o[_p] = _10.sent(); // SecFetchMode authentication
1163
1163
  _10.label = 14;
1164
1164
  case 14:
1165
1165
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1166
1166
  _q = headerParameters;
1167
- _r = "x-guest-token";
1168
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1167
+ _r = "x-csrf-token";
1168
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1169
1169
  case 15:
1170
- _q[_r] = _10.sent(); // GuestToken authentication
1170
+ _q[_r] = _10.sent(); // CsrfToken authentication
1171
1171
  _10.label = 16;
1172
1172
  case 16:
1173
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1173
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1174
+ _s = headerParameters;
1175
+ _t = "x-guest-token";
1176
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1177
+ case 17:
1178
+ _s[_t] = _10.sent(); // GuestToken authentication
1179
+ _10.label = 18;
1180
+ case 18:
1181
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1174
1182
  token = this.configuration.accessToken;
1175
1183
  return [4 /*yield*/, token("BearerAuth", [])];
1176
- case 17:
1184
+ case 19:
1177
1185
  tokenString = _10.sent();
1178
1186
  if (tokenString) {
1179
1187
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1180
1188
  }
1181
- _10.label = 18;
1182
- case 18:
1183
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1184
- _s = headerParameters;
1185
- _t = "Sec-Ch-Ua";
1186
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1187
- case 19:
1188
- _s[_t] = _10.sent(); // SecChUa authentication
1189
1189
  _10.label = 20;
1190
1190
  case 20:
1191
1191
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1192
1192
  _u = headerParameters;
1193
- _v = "x-twitter-active-user";
1194
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1193
+ _v = "Sec-Ch-Ua";
1194
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1195
1195
  case 21:
1196
- _u[_v] = _10.sent(); // ActiveUser authentication
1196
+ _u[_v] = _10.sent(); // SecChUa authentication
1197
1197
  _10.label = 22;
1198
1198
  case 22:
1199
1199
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1200
1200
  _w = headerParameters;
1201
- _x = "user-agent";
1202
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1201
+ _x = "x-twitter-active-user";
1202
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1203
1203
  case 23:
1204
- _w[_x] = _10.sent(); // UserAgent authentication
1204
+ _w[_x] = _10.sent(); // ActiveUser authentication
1205
1205
  _10.label = 24;
1206
1206
  case 24:
1207
1207
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1208
1208
  _y = headerParameters;
1209
- _z = "Accept-Language";
1210
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1209
+ _z = "user-agent";
1210
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1211
1211
  case 25:
1212
- _y[_z] = _10.sent(); // AcceptLanguage authentication
1212
+ _y[_z] = _10.sent(); // UserAgent authentication
1213
1213
  _10.label = 26;
1214
1214
  case 26:
1215
1215
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1216
1216
  _0 = headerParameters;
1217
- _1 = "Sec-Fetch-Site";
1218
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1217
+ _1 = "Accept-Language";
1218
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1219
1219
  case 27:
1220
- _0[_1] = _10.sent(); // SecFetchSite authentication
1220
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
1221
1221
  _10.label = 28;
1222
1222
  case 28:
1223
1223
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1224
1224
  _2 = headerParameters;
1225
- _3 = "x-twitter-auth-type";
1226
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1225
+ _3 = "Sec-Fetch-Site";
1226
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1227
1227
  case 29:
1228
- _2[_3] = _10.sent(); // AuthType authentication
1228
+ _2[_3] = _10.sent(); // SecFetchSite authentication
1229
1229
  _10.label = 30;
1230
1230
  case 30:
1231
1231
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1232
1232
  _4 = headerParameters;
1233
- _5 = "Cache-Control";
1234
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
1233
+ _5 = "x-twitter-auth-type";
1234
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1235
1235
  case 31:
1236
- _4[_5] = _10.sent(); // CacheControl authentication
1236
+ _4[_5] = _10.sent(); // AuthType authentication
1237
1237
  _10.label = 32;
1238
1238
  case 32:
1239
1239
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -1286,7 +1286,7 @@ var TweetApi = /** @class */ (function (_super) {
1286
1286
  */
1287
1287
  TweetApi.prototype.getTweetDetailRaw = function (requestParameters, initOverrides) {
1288
1288
  return __awaiter(this, void 0, void 0, function () {
1289
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1289
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1290
1290
  return __generator(this, function (_10) {
1291
1291
  switch (_10.label) {
1292
1292
  case 0:
@@ -1331,116 +1331,116 @@ var TweetApi = /** @class */ (function (_super) {
1331
1331
  case 4:
1332
1332
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1333
1333
  _e = headerParameters;
1334
- _f = "Sec-Fetch-Dest";
1335
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1334
+ _f = "Priority";
1335
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
1336
1336
  case 5:
1337
- _e[_f] = _10.sent(); // SecFetchDest authentication
1337
+ _e[_f] = _10.sent(); // Priority authentication
1338
1338
  _10.label = 6;
1339
1339
  case 6:
1340
1340
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1341
1341
  _g = headerParameters;
1342
- _h = "Pragma";
1343
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
1342
+ _h = "Sec-Fetch-Dest";
1343
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1344
1344
  case 7:
1345
- _g[_h] = _10.sent(); // Pragma authentication
1345
+ _g[_h] = _10.sent(); // SecFetchDest authentication
1346
1346
  _10.label = 8;
1347
1347
  case 8:
1348
1348
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1349
1349
  _j = headerParameters;
1350
- _k = "Sec-Ch-Ua-Platform";
1351
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1350
+ _k = "Referer";
1351
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1352
1352
  case 9:
1353
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
1353
+ _j[_k] = _10.sent(); // Referer authentication
1354
1354
  _10.label = 10;
1355
1355
  case 10:
1356
1356
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1357
1357
  _l = headerParameters;
1358
- _m = "Sec-Fetch-Mode";
1359
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1358
+ _m = "Sec-Ch-Ua-Platform";
1359
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1360
1360
  case 11:
1361
- _l[_m] = _10.sent(); // SecFetchMode authentication
1361
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
1362
1362
  _10.label = 12;
1363
1363
  case 12:
1364
1364
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1365
1365
  _o = headerParameters;
1366
- _p = "x-csrf-token";
1367
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1366
+ _p = "Sec-Fetch-Mode";
1367
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1368
1368
  case 13:
1369
- _o[_p] = _10.sent(); // CsrfToken authentication
1369
+ _o[_p] = _10.sent(); // SecFetchMode authentication
1370
1370
  _10.label = 14;
1371
1371
  case 14:
1372
1372
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1373
1373
  _q = headerParameters;
1374
- _r = "x-guest-token";
1375
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1374
+ _r = "x-csrf-token";
1375
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1376
1376
  case 15:
1377
- _q[_r] = _10.sent(); // GuestToken authentication
1377
+ _q[_r] = _10.sent(); // CsrfToken authentication
1378
1378
  _10.label = 16;
1379
1379
  case 16:
1380
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1380
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1381
+ _s = headerParameters;
1382
+ _t = "x-guest-token";
1383
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1384
+ case 17:
1385
+ _s[_t] = _10.sent(); // GuestToken authentication
1386
+ _10.label = 18;
1387
+ case 18:
1388
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1381
1389
  token = this.configuration.accessToken;
1382
1390
  return [4 /*yield*/, token("BearerAuth", [])];
1383
- case 17:
1391
+ case 19:
1384
1392
  tokenString = _10.sent();
1385
1393
  if (tokenString) {
1386
1394
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1387
1395
  }
1388
- _10.label = 18;
1389
- case 18:
1390
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1391
- _s = headerParameters;
1392
- _t = "Sec-Ch-Ua";
1393
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1394
- case 19:
1395
- _s[_t] = _10.sent(); // SecChUa authentication
1396
1396
  _10.label = 20;
1397
1397
  case 20:
1398
1398
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1399
1399
  _u = headerParameters;
1400
- _v = "x-twitter-active-user";
1401
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1400
+ _v = "Sec-Ch-Ua";
1401
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1402
1402
  case 21:
1403
- _u[_v] = _10.sent(); // ActiveUser authentication
1403
+ _u[_v] = _10.sent(); // SecChUa authentication
1404
1404
  _10.label = 22;
1405
1405
  case 22:
1406
1406
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1407
1407
  _w = headerParameters;
1408
- _x = "user-agent";
1409
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1408
+ _x = "x-twitter-active-user";
1409
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1410
1410
  case 23:
1411
- _w[_x] = _10.sent(); // UserAgent authentication
1411
+ _w[_x] = _10.sent(); // ActiveUser authentication
1412
1412
  _10.label = 24;
1413
1413
  case 24:
1414
1414
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1415
1415
  _y = headerParameters;
1416
- _z = "Accept-Language";
1417
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1416
+ _z = "user-agent";
1417
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1418
1418
  case 25:
1419
- _y[_z] = _10.sent(); // AcceptLanguage authentication
1419
+ _y[_z] = _10.sent(); // UserAgent authentication
1420
1420
  _10.label = 26;
1421
1421
  case 26:
1422
1422
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1423
1423
  _0 = headerParameters;
1424
- _1 = "Sec-Fetch-Site";
1425
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1424
+ _1 = "Accept-Language";
1425
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1426
1426
  case 27:
1427
- _0[_1] = _10.sent(); // SecFetchSite authentication
1427
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
1428
1428
  _10.label = 28;
1429
1429
  case 28:
1430
1430
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1431
1431
  _2 = headerParameters;
1432
- _3 = "x-twitter-auth-type";
1433
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1432
+ _3 = "Sec-Fetch-Site";
1433
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1434
1434
  case 29:
1435
- _2[_3] = _10.sent(); // AuthType authentication
1435
+ _2[_3] = _10.sent(); // SecFetchSite authentication
1436
1436
  _10.label = 30;
1437
1437
  case 30:
1438
1438
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1439
1439
  _4 = headerParameters;
1440
- _5 = "Cache-Control";
1441
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
1440
+ _5 = "x-twitter-auth-type";
1441
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1442
1442
  case 31:
1443
- _4[_5] = _10.sent(); // CacheControl authentication
1443
+ _4[_5] = _10.sent(); // AuthType authentication
1444
1444
  _10.label = 32;
1445
1445
  case 32:
1446
1446
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -1493,7 +1493,7 @@ var TweetApi = /** @class */ (function (_super) {
1493
1493
  */
1494
1494
  TweetApi.prototype.getUserHighlightsTweetsRaw = function (requestParameters, initOverrides) {
1495
1495
  return __awaiter(this, void 0, void 0, function () {
1496
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1496
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1497
1497
  return __generator(this, function (_10) {
1498
1498
  switch (_10.label) {
1499
1499
  case 0:
@@ -1532,116 +1532,116 @@ var TweetApi = /** @class */ (function (_super) {
1532
1532
  case 4:
1533
1533
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1534
1534
  _e = headerParameters;
1535
- _f = "Sec-Fetch-Dest";
1536
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1535
+ _f = "Priority";
1536
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
1537
1537
  case 5:
1538
- _e[_f] = _10.sent(); // SecFetchDest authentication
1538
+ _e[_f] = _10.sent(); // Priority authentication
1539
1539
  _10.label = 6;
1540
1540
  case 6:
1541
1541
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1542
1542
  _g = headerParameters;
1543
- _h = "Pragma";
1544
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
1543
+ _h = "Sec-Fetch-Dest";
1544
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1545
1545
  case 7:
1546
- _g[_h] = _10.sent(); // Pragma authentication
1546
+ _g[_h] = _10.sent(); // SecFetchDest authentication
1547
1547
  _10.label = 8;
1548
1548
  case 8:
1549
1549
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1550
1550
  _j = headerParameters;
1551
- _k = "Sec-Ch-Ua-Platform";
1552
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1551
+ _k = "Referer";
1552
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1553
1553
  case 9:
1554
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
1554
+ _j[_k] = _10.sent(); // Referer authentication
1555
1555
  _10.label = 10;
1556
1556
  case 10:
1557
1557
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1558
1558
  _l = headerParameters;
1559
- _m = "Sec-Fetch-Mode";
1560
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1559
+ _m = "Sec-Ch-Ua-Platform";
1560
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1561
1561
  case 11:
1562
- _l[_m] = _10.sent(); // SecFetchMode authentication
1562
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
1563
1563
  _10.label = 12;
1564
1564
  case 12:
1565
1565
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1566
1566
  _o = headerParameters;
1567
- _p = "x-csrf-token";
1568
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1567
+ _p = "Sec-Fetch-Mode";
1568
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1569
1569
  case 13:
1570
- _o[_p] = _10.sent(); // CsrfToken authentication
1570
+ _o[_p] = _10.sent(); // SecFetchMode authentication
1571
1571
  _10.label = 14;
1572
1572
  case 14:
1573
1573
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1574
1574
  _q = headerParameters;
1575
- _r = "x-guest-token";
1576
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1575
+ _r = "x-csrf-token";
1576
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1577
1577
  case 15:
1578
- _q[_r] = _10.sent(); // GuestToken authentication
1578
+ _q[_r] = _10.sent(); // CsrfToken authentication
1579
1579
  _10.label = 16;
1580
1580
  case 16:
1581
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1581
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1582
+ _s = headerParameters;
1583
+ _t = "x-guest-token";
1584
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1585
+ case 17:
1586
+ _s[_t] = _10.sent(); // GuestToken authentication
1587
+ _10.label = 18;
1588
+ case 18:
1589
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1582
1590
  token = this.configuration.accessToken;
1583
1591
  return [4 /*yield*/, token("BearerAuth", [])];
1584
- case 17:
1592
+ case 19:
1585
1593
  tokenString = _10.sent();
1586
1594
  if (tokenString) {
1587
1595
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1588
1596
  }
1589
- _10.label = 18;
1590
- case 18:
1591
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1592
- _s = headerParameters;
1593
- _t = "Sec-Ch-Ua";
1594
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1595
- case 19:
1596
- _s[_t] = _10.sent(); // SecChUa authentication
1597
1597
  _10.label = 20;
1598
1598
  case 20:
1599
1599
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1600
1600
  _u = headerParameters;
1601
- _v = "x-twitter-active-user";
1602
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1601
+ _v = "Sec-Ch-Ua";
1602
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1603
1603
  case 21:
1604
- _u[_v] = _10.sent(); // ActiveUser authentication
1604
+ _u[_v] = _10.sent(); // SecChUa authentication
1605
1605
  _10.label = 22;
1606
1606
  case 22:
1607
1607
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1608
1608
  _w = headerParameters;
1609
- _x = "user-agent";
1610
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1609
+ _x = "x-twitter-active-user";
1610
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1611
1611
  case 23:
1612
- _w[_x] = _10.sent(); // UserAgent authentication
1612
+ _w[_x] = _10.sent(); // ActiveUser authentication
1613
1613
  _10.label = 24;
1614
1614
  case 24:
1615
1615
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1616
1616
  _y = headerParameters;
1617
- _z = "Accept-Language";
1618
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1617
+ _z = "user-agent";
1618
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1619
1619
  case 25:
1620
- _y[_z] = _10.sent(); // AcceptLanguage authentication
1620
+ _y[_z] = _10.sent(); // UserAgent authentication
1621
1621
  _10.label = 26;
1622
1622
  case 26:
1623
1623
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1624
1624
  _0 = headerParameters;
1625
- _1 = "Sec-Fetch-Site";
1626
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1625
+ _1 = "Accept-Language";
1626
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1627
1627
  case 27:
1628
- _0[_1] = _10.sent(); // SecFetchSite authentication
1628
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
1629
1629
  _10.label = 28;
1630
1630
  case 28:
1631
1631
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1632
1632
  _2 = headerParameters;
1633
- _3 = "x-twitter-auth-type";
1634
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1633
+ _3 = "Sec-Fetch-Site";
1634
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1635
1635
  case 29:
1636
- _2[_3] = _10.sent(); // AuthType authentication
1636
+ _2[_3] = _10.sent(); // SecFetchSite authentication
1637
1637
  _10.label = 30;
1638
1638
  case 30:
1639
1639
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1640
1640
  _4 = headerParameters;
1641
- _5 = "Cache-Control";
1642
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
1641
+ _5 = "x-twitter-auth-type";
1642
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1643
1643
  case 31:
1644
- _4[_5] = _10.sent(); // CacheControl authentication
1644
+ _4[_5] = _10.sent(); // AuthType authentication
1645
1645
  _10.label = 32;
1646
1646
  case 32:
1647
1647
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -1694,7 +1694,7 @@ var TweetApi = /** @class */ (function (_super) {
1694
1694
  */
1695
1695
  TweetApi.prototype.getUserMediaRaw = function (requestParameters, initOverrides) {
1696
1696
  return __awaiter(this, void 0, void 0, function () {
1697
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1697
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1698
1698
  return __generator(this, function (_10) {
1699
1699
  switch (_10.label) {
1700
1700
  case 0:
@@ -1733,116 +1733,116 @@ var TweetApi = /** @class */ (function (_super) {
1733
1733
  case 4:
1734
1734
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1735
1735
  _e = headerParameters;
1736
- _f = "Sec-Fetch-Dest";
1737
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1736
+ _f = "Priority";
1737
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
1738
1738
  case 5:
1739
- _e[_f] = _10.sent(); // SecFetchDest authentication
1739
+ _e[_f] = _10.sent(); // Priority authentication
1740
1740
  _10.label = 6;
1741
1741
  case 6:
1742
1742
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1743
1743
  _g = headerParameters;
1744
- _h = "Pragma";
1745
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
1744
+ _h = "Sec-Fetch-Dest";
1745
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1746
1746
  case 7:
1747
- _g[_h] = _10.sent(); // Pragma authentication
1747
+ _g[_h] = _10.sent(); // SecFetchDest authentication
1748
1748
  _10.label = 8;
1749
1749
  case 8:
1750
1750
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1751
1751
  _j = headerParameters;
1752
- _k = "Sec-Ch-Ua-Platform";
1753
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1752
+ _k = "Referer";
1753
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1754
1754
  case 9:
1755
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
1755
+ _j[_k] = _10.sent(); // Referer authentication
1756
1756
  _10.label = 10;
1757
1757
  case 10:
1758
1758
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1759
1759
  _l = headerParameters;
1760
- _m = "Sec-Fetch-Mode";
1761
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1760
+ _m = "Sec-Ch-Ua-Platform";
1761
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1762
1762
  case 11:
1763
- _l[_m] = _10.sent(); // SecFetchMode authentication
1763
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
1764
1764
  _10.label = 12;
1765
1765
  case 12:
1766
1766
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1767
1767
  _o = headerParameters;
1768
- _p = "x-csrf-token";
1769
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1768
+ _p = "Sec-Fetch-Mode";
1769
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1770
1770
  case 13:
1771
- _o[_p] = _10.sent(); // CsrfToken authentication
1771
+ _o[_p] = _10.sent(); // SecFetchMode authentication
1772
1772
  _10.label = 14;
1773
1773
  case 14:
1774
1774
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1775
1775
  _q = headerParameters;
1776
- _r = "x-guest-token";
1777
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1776
+ _r = "x-csrf-token";
1777
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1778
1778
  case 15:
1779
- _q[_r] = _10.sent(); // GuestToken authentication
1779
+ _q[_r] = _10.sent(); // CsrfToken authentication
1780
1780
  _10.label = 16;
1781
1781
  case 16:
1782
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1782
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1783
+ _s = headerParameters;
1784
+ _t = "x-guest-token";
1785
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1786
+ case 17:
1787
+ _s[_t] = _10.sent(); // GuestToken authentication
1788
+ _10.label = 18;
1789
+ case 18:
1790
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1783
1791
  token = this.configuration.accessToken;
1784
1792
  return [4 /*yield*/, token("BearerAuth", [])];
1785
- case 17:
1793
+ case 19:
1786
1794
  tokenString = _10.sent();
1787
1795
  if (tokenString) {
1788
1796
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1789
1797
  }
1790
- _10.label = 18;
1791
- case 18:
1792
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1793
- _s = headerParameters;
1794
- _t = "Sec-Ch-Ua";
1795
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1796
- case 19:
1797
- _s[_t] = _10.sent(); // SecChUa authentication
1798
1798
  _10.label = 20;
1799
1799
  case 20:
1800
1800
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
1801
1801
  _u = headerParameters;
1802
- _v = "x-twitter-active-user";
1803
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1802
+ _v = "Sec-Ch-Ua";
1803
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1804
1804
  case 21:
1805
- _u[_v] = _10.sent(); // ActiveUser authentication
1805
+ _u[_v] = _10.sent(); // SecChUa authentication
1806
1806
  _10.label = 22;
1807
1807
  case 22:
1808
1808
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
1809
1809
  _w = headerParameters;
1810
- _x = "user-agent";
1811
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1810
+ _x = "x-twitter-active-user";
1811
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1812
1812
  case 23:
1813
- _w[_x] = _10.sent(); // UserAgent authentication
1813
+ _w[_x] = _10.sent(); // ActiveUser authentication
1814
1814
  _10.label = 24;
1815
1815
  case 24:
1816
1816
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1817
1817
  _y = headerParameters;
1818
- _z = "Accept-Language";
1819
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1818
+ _z = "user-agent";
1819
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1820
1820
  case 25:
1821
- _y[_z] = _10.sent(); // AcceptLanguage authentication
1821
+ _y[_z] = _10.sent(); // UserAgent authentication
1822
1822
  _10.label = 26;
1823
1823
  case 26:
1824
1824
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1825
1825
  _0 = headerParameters;
1826
- _1 = "Sec-Fetch-Site";
1827
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1826
+ _1 = "Accept-Language";
1827
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1828
1828
  case 27:
1829
- _0[_1] = _10.sent(); // SecFetchSite authentication
1829
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
1830
1830
  _10.label = 28;
1831
1831
  case 28:
1832
1832
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1833
1833
  _2 = headerParameters;
1834
- _3 = "x-twitter-auth-type";
1835
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1834
+ _3 = "Sec-Fetch-Site";
1835
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1836
1836
  case 29:
1837
- _2[_3] = _10.sent(); // AuthType authentication
1837
+ _2[_3] = _10.sent(); // SecFetchSite authentication
1838
1838
  _10.label = 30;
1839
1839
  case 30:
1840
1840
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1841
1841
  _4 = headerParameters;
1842
- _5 = "Cache-Control";
1843
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
1842
+ _5 = "x-twitter-auth-type";
1843
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1844
1844
  case 31:
1845
- _4[_5] = _10.sent(); // CacheControl authentication
1845
+ _4[_5] = _10.sent(); // AuthType authentication
1846
1846
  _10.label = 32;
1847
1847
  case 32:
1848
1848
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -1895,7 +1895,7 @@ var TweetApi = /** @class */ (function (_super) {
1895
1895
  */
1896
1896
  TweetApi.prototype.getUserTweetsRaw = function (requestParameters, initOverrides) {
1897
1897
  return __awaiter(this, void 0, void 0, function () {
1898
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1898
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
1899
1899
  return __generator(this, function (_10) {
1900
1900
  switch (_10.label) {
1901
1901
  case 0:
@@ -1934,116 +1934,116 @@ var TweetApi = /** @class */ (function (_super) {
1934
1934
  case 4:
1935
1935
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
1936
1936
  _e = headerParameters;
1937
- _f = "Sec-Fetch-Dest";
1938
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1937
+ _f = "Priority";
1938
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
1939
1939
  case 5:
1940
- _e[_f] = _10.sent(); // SecFetchDest authentication
1940
+ _e[_f] = _10.sent(); // Priority authentication
1941
1941
  _10.label = 6;
1942
1942
  case 6:
1943
1943
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
1944
1944
  _g = headerParameters;
1945
- _h = "Pragma";
1946
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
1945
+ _h = "Sec-Fetch-Dest";
1946
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
1947
1947
  case 7:
1948
- _g[_h] = _10.sent(); // Pragma authentication
1948
+ _g[_h] = _10.sent(); // SecFetchDest authentication
1949
1949
  _10.label = 8;
1950
1950
  case 8:
1951
1951
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
1952
1952
  _j = headerParameters;
1953
- _k = "Sec-Ch-Ua-Platform";
1954
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1953
+ _k = "Referer";
1954
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
1955
1955
  case 9:
1956
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
1956
+ _j[_k] = _10.sent(); // Referer authentication
1957
1957
  _10.label = 10;
1958
1958
  case 10:
1959
1959
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
1960
1960
  _l = headerParameters;
1961
- _m = "Sec-Fetch-Mode";
1962
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1961
+ _m = "Sec-Ch-Ua-Platform";
1962
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
1963
1963
  case 11:
1964
- _l[_m] = _10.sent(); // SecFetchMode authentication
1964
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
1965
1965
  _10.label = 12;
1966
1966
  case 12:
1967
1967
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
1968
1968
  _o = headerParameters;
1969
- _p = "x-csrf-token";
1970
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1969
+ _p = "Sec-Fetch-Mode";
1970
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
1971
1971
  case 13:
1972
- _o[_p] = _10.sent(); // CsrfToken authentication
1972
+ _o[_p] = _10.sent(); // SecFetchMode authentication
1973
1973
  _10.label = 14;
1974
1974
  case 14:
1975
1975
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
1976
1976
  _q = headerParameters;
1977
- _r = "x-guest-token";
1978
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1977
+ _r = "x-csrf-token";
1978
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
1979
1979
  case 15:
1980
- _q[_r] = _10.sent(); // GuestToken authentication
1980
+ _q[_r] = _10.sent(); // CsrfToken authentication
1981
1981
  _10.label = 16;
1982
1982
  case 16:
1983
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
1983
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
1984
+ _s = headerParameters;
1985
+ _t = "x-guest-token";
1986
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1987
+ case 17:
1988
+ _s[_t] = _10.sent(); // GuestToken authentication
1989
+ _10.label = 18;
1990
+ case 18:
1991
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
1984
1992
  token = this.configuration.accessToken;
1985
1993
  return [4 /*yield*/, token("BearerAuth", [])];
1986
- case 17:
1994
+ case 19:
1987
1995
  tokenString = _10.sent();
1988
1996
  if (tokenString) {
1989
1997
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1990
1998
  }
1991
- _10.label = 18;
1992
- case 18:
1993
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1994
- _s = headerParameters;
1995
- _t = "Sec-Ch-Ua";
1996
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
1997
- case 19:
1998
- _s[_t] = _10.sent(); // SecChUa authentication
1999
1999
  _10.label = 20;
2000
2000
  case 20:
2001
2001
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
2002
2002
  _u = headerParameters;
2003
- _v = "x-twitter-active-user";
2004
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2003
+ _v = "Sec-Ch-Ua";
2004
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
2005
2005
  case 21:
2006
- _u[_v] = _10.sent(); // ActiveUser authentication
2006
+ _u[_v] = _10.sent(); // SecChUa authentication
2007
2007
  _10.label = 22;
2008
2008
  case 22:
2009
2009
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
2010
2010
  _w = headerParameters;
2011
- _x = "user-agent";
2012
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2011
+ _x = "x-twitter-active-user";
2012
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2013
2013
  case 23:
2014
- _w[_x] = _10.sent(); // UserAgent authentication
2014
+ _w[_x] = _10.sent(); // ActiveUser authentication
2015
2015
  _10.label = 24;
2016
2016
  case 24:
2017
2017
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
2018
2018
  _y = headerParameters;
2019
- _z = "Accept-Language";
2020
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2019
+ _z = "user-agent";
2020
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2021
2021
  case 25:
2022
- _y[_z] = _10.sent(); // AcceptLanguage authentication
2022
+ _y[_z] = _10.sent(); // UserAgent authentication
2023
2023
  _10.label = 26;
2024
2024
  case 26:
2025
2025
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
2026
2026
  _0 = headerParameters;
2027
- _1 = "Sec-Fetch-Site";
2028
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2027
+ _1 = "Accept-Language";
2028
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2029
2029
  case 27:
2030
- _0[_1] = _10.sent(); // SecFetchSite authentication
2030
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
2031
2031
  _10.label = 28;
2032
2032
  case 28:
2033
2033
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
2034
2034
  _2 = headerParameters;
2035
- _3 = "x-twitter-auth-type";
2036
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2035
+ _3 = "Sec-Fetch-Site";
2036
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2037
2037
  case 29:
2038
- _2[_3] = _10.sent(); // AuthType authentication
2038
+ _2[_3] = _10.sent(); // SecFetchSite authentication
2039
2039
  _10.label = 30;
2040
2040
  case 30:
2041
2041
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
2042
2042
  _4 = headerParameters;
2043
- _5 = "Cache-Control";
2044
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
2043
+ _5 = "x-twitter-auth-type";
2044
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2045
2045
  case 31:
2046
- _4[_5] = _10.sent(); // CacheControl authentication
2046
+ _4[_5] = _10.sent(); // AuthType authentication
2047
2047
  _10.label = 32;
2048
2048
  case 32:
2049
2049
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
@@ -2096,7 +2096,7 @@ var TweetApi = /** @class */ (function (_super) {
2096
2096
  */
2097
2097
  TweetApi.prototype.getUserTweetsAndRepliesRaw = function (requestParameters, initOverrides) {
2098
2098
  return __awaiter(this, void 0, void 0, function () {
2099
- var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, token, tokenString, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
2099
+ var queryParameters, headerParameters, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
2100
2100
  return __generator(this, function (_10) {
2101
2101
  switch (_10.label) {
2102
2102
  case 0:
@@ -2135,116 +2135,116 @@ var TweetApi = /** @class */ (function (_super) {
2135
2135
  case 4:
2136
2136
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
2137
2137
  _e = headerParameters;
2138
- _f = "Sec-Fetch-Dest";
2139
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
2138
+ _f = "Priority";
2139
+ return [4 /*yield*/, this.configuration.apiKey("Priority")];
2140
2140
  case 5:
2141
- _e[_f] = _10.sent(); // SecFetchDest authentication
2141
+ _e[_f] = _10.sent(); // Priority authentication
2142
2142
  _10.label = 6;
2143
2143
  case 6:
2144
2144
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
2145
2145
  _g = headerParameters;
2146
- _h = "Pragma";
2147
- return [4 /*yield*/, this.configuration.apiKey("Pragma")];
2146
+ _h = "Sec-Fetch-Dest";
2147
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
2148
2148
  case 7:
2149
- _g[_h] = _10.sent(); // Pragma authentication
2149
+ _g[_h] = _10.sent(); // SecFetchDest authentication
2150
2150
  _10.label = 8;
2151
2151
  case 8:
2152
2152
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
2153
2153
  _j = headerParameters;
2154
- _k = "Sec-Ch-Ua-Platform";
2155
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
2154
+ _k = "Referer";
2155
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
2156
2156
  case 9:
2157
- _j[_k] = _10.sent(); // SecChUaPlatform authentication
2157
+ _j[_k] = _10.sent(); // Referer authentication
2158
2158
  _10.label = 10;
2159
2159
  case 10:
2160
2160
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
2161
2161
  _l = headerParameters;
2162
- _m = "Sec-Fetch-Mode";
2163
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
2162
+ _m = "Sec-Ch-Ua-Platform";
2163
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
2164
2164
  case 11:
2165
- _l[_m] = _10.sent(); // SecFetchMode authentication
2165
+ _l[_m] = _10.sent(); // SecChUaPlatform authentication
2166
2166
  _10.label = 12;
2167
2167
  case 12:
2168
2168
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
2169
2169
  _o = headerParameters;
2170
- _p = "x-csrf-token";
2171
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
2170
+ _p = "Sec-Fetch-Mode";
2171
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
2172
2172
  case 13:
2173
- _o[_p] = _10.sent(); // CsrfToken authentication
2173
+ _o[_p] = _10.sent(); // SecFetchMode authentication
2174
2174
  _10.label = 14;
2175
2175
  case 14:
2176
2176
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
2177
2177
  _q = headerParameters;
2178
- _r = "x-guest-token";
2179
- return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2178
+ _r = "x-csrf-token";
2179
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
2180
2180
  case 15:
2181
- _q[_r] = _10.sent(); // GuestToken authentication
2181
+ _q[_r] = _10.sent(); // CsrfToken authentication
2182
2182
  _10.label = 16;
2183
2183
  case 16:
2184
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
2184
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 18];
2185
+ _s = headerParameters;
2186
+ _t = "x-guest-token";
2187
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
2188
+ case 17:
2189
+ _s[_t] = _10.sent(); // GuestToken authentication
2190
+ _10.label = 18;
2191
+ case 18:
2192
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 20];
2185
2193
  token = this.configuration.accessToken;
2186
2194
  return [4 /*yield*/, token("BearerAuth", [])];
2187
- case 17:
2195
+ case 19:
2188
2196
  tokenString = _10.sent();
2189
2197
  if (tokenString) {
2190
2198
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
2191
2199
  }
2192
- _10.label = 18;
2193
- case 18:
2194
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
2195
- _s = headerParameters;
2196
- _t = "Sec-Ch-Ua";
2197
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
2198
- case 19:
2199
- _s[_t] = _10.sent(); // SecChUa authentication
2200
2200
  _10.label = 20;
2201
2201
  case 20:
2202
2202
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
2203
2203
  _u = headerParameters;
2204
- _v = "x-twitter-active-user";
2205
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2204
+ _v = "Sec-Ch-Ua";
2205
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
2206
2206
  case 21:
2207
- _u[_v] = _10.sent(); // ActiveUser authentication
2207
+ _u[_v] = _10.sent(); // SecChUa authentication
2208
2208
  _10.label = 22;
2209
2209
  case 22:
2210
2210
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
2211
2211
  _w = headerParameters;
2212
- _x = "user-agent";
2213
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2212
+ _x = "x-twitter-active-user";
2213
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
2214
2214
  case 23:
2215
- _w[_x] = _10.sent(); // UserAgent authentication
2215
+ _w[_x] = _10.sent(); // ActiveUser authentication
2216
2216
  _10.label = 24;
2217
2217
  case 24:
2218
2218
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
2219
2219
  _y = headerParameters;
2220
- _z = "Accept-Language";
2221
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2220
+ _z = "user-agent";
2221
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
2222
2222
  case 25:
2223
- _y[_z] = _10.sent(); // AcceptLanguage authentication
2223
+ _y[_z] = _10.sent(); // UserAgent authentication
2224
2224
  _10.label = 26;
2225
2225
  case 26:
2226
2226
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
2227
2227
  _0 = headerParameters;
2228
- _1 = "Sec-Fetch-Site";
2229
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2228
+ _1 = "Accept-Language";
2229
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
2230
2230
  case 27:
2231
- _0[_1] = _10.sent(); // SecFetchSite authentication
2231
+ _0[_1] = _10.sent(); // AcceptLanguage authentication
2232
2232
  _10.label = 28;
2233
2233
  case 28:
2234
2234
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
2235
2235
  _2 = headerParameters;
2236
- _3 = "x-twitter-auth-type";
2237
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2236
+ _3 = "Sec-Fetch-Site";
2237
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
2238
2238
  case 29:
2239
- _2[_3] = _10.sent(); // AuthType authentication
2239
+ _2[_3] = _10.sent(); // SecFetchSite authentication
2240
2240
  _10.label = 30;
2241
2241
  case 30:
2242
2242
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
2243
2243
  _4 = headerParameters;
2244
- _5 = "Cache-Control";
2245
- return [4 /*yield*/, this.configuration.apiKey("Cache-Control")];
2244
+ _5 = "x-twitter-auth-type";
2245
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
2246
2246
  case 31:
2247
- _4[_5] = _10.sent(); // CacheControl authentication
2247
+ _4[_5] = _10.sent(); // AuthType authentication
2248
2248
  _10.label = 32;
2249
2249
  case 32:
2250
2250
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];