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 UserListApi = /** @class */ (function (_super) {
80
80
  */
81
81
  UserListApi.prototype.getFavoritersRaw = 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 UserListApi = /** @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 UserListApi = /** @class */ (function (_super) {
281
281
  */
282
282
  UserListApi.prototype.getFollowersRaw = 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 UserListApi = /** @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 UserListApi = /** @class */ (function (_super) {
482
482
  */
483
483
  UserListApi.prototype.getFollowersYouKnowRaw = 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 UserListApi = /** @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 UserListApi = /** @class */ (function (_super) {
683
683
  */
684
684
  UserListApi.prototype.getFollowingRaw = 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 UserListApi = /** @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 UserListApi = /** @class */ (function (_super) {
884
884
  */
885
885
  UserListApi.prototype.getRetweetersRaw = 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 UserListApi = /** @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];