twitter-openapi-typescript-generated 0.0.25 → 0.0.27

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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/DefaultApi.d.ts.map +1 -1
  3. package/dist/apis/DefaultApi.js +172 -156
  4. package/dist/apis/DefaultApi.js.map +1 -1
  5. package/dist/apis/OtherApi.d.ts.map +1 -1
  6. package/dist/apis/OtherApi.js +86 -78
  7. package/dist/apis/OtherApi.js.map +1 -1
  8. package/dist/apis/PostApi.d.ts.map +1 -1
  9. package/dist/apis/PostApi.js +688 -624
  10. package/dist/apis/PostApi.js.map +1 -1
  11. package/dist/apis/TweetApi.d.ts +4 -0
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +970 -858
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts.map +1 -1
  16. package/dist/apis/UserApi.js +172 -156
  17. package/dist/apis/UserApi.js.map +1 -1
  18. package/dist/apis/UserListApi.d.ts.map +1 -1
  19. package/dist/apis/UserListApi.js +430 -390
  20. package/dist/apis/UserListApi.js.map +1 -1
  21. package/dist/apis/UsersApi.d.ts.map +1 -1
  22. package/dist/apis/UsersApi.js +86 -78
  23. package/dist/apis/UsersApi.js.map +1 -1
  24. package/dist/apis/V11GetApi.d.ts.map +1 -1
  25. package/dist/apis/V11GetApi.js +172 -156
  26. package/dist/apis/V11GetApi.js.map +1 -1
  27. package/dist/apis/V11PostApi.d.ts.map +1 -1
  28. package/dist/apis/V11PostApi.js +170 -154
  29. package/dist/apis/V11PostApi.js.map +1 -1
  30. package/dist/apis/V20GetApi.d.ts.map +1 -1
  31. package/dist/apis/V20GetApi.js +86 -78
  32. package/dist/apis/V20GetApi.js.map +1 -1
  33. package/dist/models/AuthorCommunityRelationship.d.ts +1 -0
  34. package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -1
  35. package/dist/models/AuthorCommunityRelationship.js +2 -1
  36. package/dist/models/AuthorCommunityRelationship.js.map +1 -1
  37. package/dist/models/CommunityActions.d.ts +11 -4
  38. package/dist/models/CommunityActions.d.ts.map +1 -1
  39. package/dist/models/CommunityActions.js +7 -12
  40. package/dist/models/CommunityActions.js.map +1 -1
  41. package/dist/models/CommunityData.d.ts +1 -1
  42. package/dist/models/CommunityData.d.ts.map +1 -1
  43. package/dist/models/CommunityData.js +1 -3
  44. package/dist/models/CommunityData.js.map +1 -1
  45. package/dist/models/CommunityRelationship.d.ts +53 -0
  46. package/dist/models/CommunityRelationship.d.ts.map +1 -0
  47. package/dist/models/CommunityRelationship.js +61 -0
  48. package/dist/models/CommunityRelationship.js.map +1 -0
  49. package/dist/models/CommunityUnpinActionResult.d.ts +33 -0
  50. package/dist/models/CommunityUnpinActionResult.d.ts.map +1 -0
  51. package/dist/models/CommunityUnpinActionResult.js +49 -0
  52. package/dist/models/CommunityUnpinActionResult.js.map +1 -0
  53. package/dist/models/CursorType.d.ts +1 -0
  54. package/dist/models/CursorType.d.ts.map +1 -1
  55. package/dist/models/CursorType.js +2 -1
  56. package/dist/models/CursorType.js.map +1 -1
  57. package/dist/models/DisplayTreatment.d.ts +6 -0
  58. package/dist/models/DisplayTreatment.d.ts.map +1 -1
  59. package/dist/models/DisplayTreatment.js +2 -0
  60. package/dist/models/DisplayTreatment.js.map +1 -1
  61. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +1 -1
  62. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
  63. package/dist/models/PostCreateTweetRequestVariablesMedia.js +2 -4
  64. package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
  65. package/dist/models/TimelineGeneralContext.d.ts +1 -0
  66. package/dist/models/TimelineGeneralContext.d.ts.map +1 -1
  67. package/dist/models/TimelineGeneralContext.js +2 -1
  68. package/dist/models/TimelineGeneralContext.js.map +1 -1
  69. package/dist/models/Tweet.d.ts +7 -0
  70. package/dist/models/Tweet.d.ts.map +1 -1
  71. package/dist/models/Tweet.js +3 -0
  72. package/dist/models/Tweet.js.map +1 -1
  73. package/dist/models/TypeName.d.ts +1 -0
  74. package/dist/models/TypeName.d.ts.map +1 -1
  75. package/dist/models/TypeName.js +1 -0
  76. package/dist/models/TypeName.js.map +1 -1
  77. package/dist/models/UserResponseData.d.ts +1 -1
  78. package/dist/models/UserResponseData.d.ts.map +1 -1
  79. package/dist/models/UserResponseData.js +1 -3
  80. package/dist/models/UserResponseData.js.map +1 -1
  81. package/dist/models/index.d.ts +2 -0
  82. package/dist/models/index.d.ts.map +1 -1
  83. package/dist/models/index.js +2 -0
  84. package/dist/models/index.js.map +1 -1
  85. package/package.json +1 -1
@@ -80,9 +80,9 @@ 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, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
84
- return __generator(this, function (_10) {
85
- switch (_10.label) {
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, _10, _11, response;
84
+ return __generator(this, function (_12) {
85
+ switch (_12.label) {
86
86
  case 0:
87
87
  if (requestParameters['pathQueryId'] == null) {
88
88
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFavoriters().');
@@ -103,157 +103,165 @@ var UserListApi = /** @class */ (function (_super) {
103
103
  headerParameters = {};
104
104
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
105
105
  _a = headerParameters;
106
- _b = "x-twitter-client-language";
107
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
106
+ _b = "Accept";
107
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
108
108
  case 1:
109
- _a[_b] = _10.sent(); // ClientLanguage authentication
110
- _10.label = 2;
109
+ _a[_b] = _12.sent(); // Accept authentication
110
+ _12.label = 2;
111
111
  case 2:
112
112
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
113
113
  _c = headerParameters;
114
- _d = "Accept";
115
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
114
+ _d = "x-twitter-client-language";
115
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
116
116
  case 3:
117
- _c[_d] = _10.sent(); // Accept authentication
118
- _10.label = 4;
117
+ _c[_d] = _12.sent(); // ClientLanguage authentication
118
+ _12.label = 4;
119
119
  case 4:
120
120
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
121
121
  _e = headerParameters;
122
- _f = "Priority";
123
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
122
+ _f = "Referer";
123
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
124
124
  case 5:
125
- _e[_f] = _10.sent(); // Priority authentication
126
- _10.label = 6;
125
+ _e[_f] = _12.sent(); // Referer authentication
126
+ _12.label = 6;
127
127
  case 6:
128
128
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
129
129
  _g = headerParameters;
130
130
  _h = "Sec-Fetch-Dest";
131
131
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
132
132
  case 7:
133
- _g[_h] = _10.sent(); // SecFetchDest authentication
134
- _10.label = 8;
133
+ _g[_h] = _12.sent(); // SecFetchDest authentication
134
+ _12.label = 8;
135
135
  case 8:
136
136
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
137
137
  _j = headerParameters;
138
- _k = "Referer";
139
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
138
+ _k = "Sec-Ch-Ua-Platform";
139
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
140
140
  case 9:
141
- _j[_k] = _10.sent(); // Referer authentication
142
- _10.label = 10;
141
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
142
+ _12.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-Ch-Ua-Platform";
147
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
146
+ _m = "Sec-Fetch-Mode";
147
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
148
148
  case 11:
149
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
150
- _10.label = 12;
149
+ _l[_m] = _12.sent(); // SecFetchMode authentication
150
+ _12.label = 12;
151
151
  case 12:
152
152
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
153
153
  _o = headerParameters;
154
- _p = "Sec-Fetch-Mode";
155
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
154
+ _p = "x-csrf-token";
155
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
156
156
  case 13:
157
- _o[_p] = _10.sent(); // SecFetchMode authentication
158
- _10.label = 14;
157
+ _o[_p] = _12.sent(); // CsrfToken authentication
158
+ _12.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-csrf-token";
163
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
162
+ _r = "x-client-uuid";
163
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
164
164
  case 15:
165
- _q[_r] = _10.sent(); // CsrfToken authentication
166
- _10.label = 16;
165
+ _q[_r] = _12.sent(); // ClientUuid authentication
166
+ _12.label = 16;
167
167
  case 16:
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];
168
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
177
169
  token = this.configuration.accessToken;
178
170
  return [4 /*yield*/, token("BearerAuth", [])];
179
- case 19:
180
- tokenString = _10.sent();
171
+ case 17:
172
+ tokenString = _12.sent();
181
173
  if (tokenString) {
182
174
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
183
175
  }
184
- _10.label = 20;
176
+ _12.label = 18;
177
+ case 18:
178
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
179
+ _s = headerParameters;
180
+ _t = "x-guest-token";
181
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
182
+ case 19:
183
+ _s[_t] = _12.sent(); // GuestToken authentication
184
+ _12.label = 20;
185
185
  case 20:
186
186
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
187
187
  _u = headerParameters;
188
188
  _v = "Sec-Ch-Ua";
189
189
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
190
190
  case 21:
191
- _u[_v] = _10.sent(); // SecChUa authentication
192
- _10.label = 22;
191
+ _u[_v] = _12.sent(); // SecChUa authentication
192
+ _12.label = 22;
193
193
  case 22:
194
194
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
195
195
  _w = headerParameters;
196
- _x = "x-twitter-active-user";
197
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
196
+ _x = "x-client-transaction-id";
197
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
198
198
  case 23:
199
- _w[_x] = _10.sent(); // ActiveUser authentication
200
- _10.label = 24;
199
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
200
+ _12.label = 24;
201
201
  case 24:
202
202
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
203
203
  _y = headerParameters;
204
- _z = "user-agent";
205
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
204
+ _z = "x-twitter-active-user";
205
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
206
206
  case 25:
207
- _y[_z] = _10.sent(); // UserAgent authentication
208
- _10.label = 26;
207
+ _y[_z] = _12.sent(); // ActiveUser authentication
208
+ _12.label = 26;
209
209
  case 26:
210
210
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
211
211
  _0 = headerParameters;
212
- _1 = "Accept-Language";
213
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
212
+ _1 = "user-agent";
213
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
214
214
  case 27:
215
- _0[_1] = _10.sent(); // AcceptLanguage authentication
216
- _10.label = 28;
215
+ _0[_1] = _12.sent(); // UserAgent authentication
216
+ _12.label = 28;
217
217
  case 28:
218
218
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
219
219
  _2 = headerParameters;
220
- _3 = "Sec-Fetch-Site";
221
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
220
+ _3 = "Accept-Language";
221
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
222
222
  case 29:
223
- _2[_3] = _10.sent(); // SecFetchSite authentication
224
- _10.label = 30;
223
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
224
+ _12.label = 30;
225
225
  case 30:
226
226
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
227
227
  _4 = headerParameters;
228
- _5 = "x-twitter-auth-type";
229
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
228
+ _5 = "Sec-Fetch-Site";
229
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
230
230
  case 31:
231
- _4[_5] = _10.sent(); // AuthType authentication
232
- _10.label = 32;
231
+ _4[_5] = _12.sent(); // SecFetchSite authentication
232
+ _12.label = 32;
233
233
  case 32:
234
234
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
235
235
  _6 = headerParameters;
236
- _7 = "Sec-Ch-Ua-Mobile";
237
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
236
+ _7 = "x-twitter-auth-type";
237
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
238
238
  case 33:
239
- _6[_7] = _10.sent(); // SecChUaMobile authentication
240
- _10.label = 34;
239
+ _6[_7] = _12.sent(); // AuthType authentication
240
+ _12.label = 34;
241
241
  case 34:
242
242
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
243
243
  _8 = headerParameters;
244
- _9 = "Accept-Encoding";
245
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
244
+ _9 = "Sec-Ch-Ua-Mobile";
245
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
246
246
  case 35:
247
- _8[_9] = _10.sent(); // AcceptEncoding authentication
248
- _10.label = 36;
249
- case 36: return [4 /*yield*/, this.request({
247
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
248
+ _12.label = 36;
249
+ case 36:
250
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
251
+ _10 = headerParameters;
252
+ _11 = "Accept-Encoding";
253
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
254
+ case 37:
255
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
256
+ _12.label = 38;
257
+ case 38: return [4 /*yield*/, this.request({
250
258
  path: "/graphql/{pathQueryId}/Favoriters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
251
259
  method: 'GET',
252
260
  headers: headerParameters,
253
261
  query: queryParameters,
254
262
  }, initOverrides)];
255
- case 37:
256
- response = _10.sent();
263
+ case 39:
264
+ response = _12.sent();
257
265
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetFavoriters200ResponseFromJSON)(jsonValue); })];
258
266
  }
259
267
  });
@@ -281,9 +289,9 @@ var UserListApi = /** @class */ (function (_super) {
281
289
  */
282
290
  UserListApi.prototype.getFollowersRaw = function (requestParameters, initOverrides) {
283
291
  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, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
285
- return __generator(this, function (_10) {
286
- switch (_10.label) {
292
+ 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, _10, _11, response;
293
+ return __generator(this, function (_12) {
294
+ switch (_12.label) {
287
295
  case 0:
288
296
  if (requestParameters['pathQueryId'] == null) {
289
297
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowers().');
@@ -304,157 +312,165 @@ var UserListApi = /** @class */ (function (_super) {
304
312
  headerParameters = {};
305
313
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
306
314
  _a = headerParameters;
307
- _b = "x-twitter-client-language";
308
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
315
+ _b = "Accept";
316
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
309
317
  case 1:
310
- _a[_b] = _10.sent(); // ClientLanguage authentication
311
- _10.label = 2;
318
+ _a[_b] = _12.sent(); // Accept authentication
319
+ _12.label = 2;
312
320
  case 2:
313
321
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
314
322
  _c = headerParameters;
315
- _d = "Accept";
316
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
323
+ _d = "x-twitter-client-language";
324
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
317
325
  case 3:
318
- _c[_d] = _10.sent(); // Accept authentication
319
- _10.label = 4;
326
+ _c[_d] = _12.sent(); // ClientLanguage authentication
327
+ _12.label = 4;
320
328
  case 4:
321
329
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
322
330
  _e = headerParameters;
323
- _f = "Priority";
324
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
331
+ _f = "Referer";
332
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
325
333
  case 5:
326
- _e[_f] = _10.sent(); // Priority authentication
327
- _10.label = 6;
334
+ _e[_f] = _12.sent(); // Referer authentication
335
+ _12.label = 6;
328
336
  case 6:
329
337
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
330
338
  _g = headerParameters;
331
339
  _h = "Sec-Fetch-Dest";
332
340
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
333
341
  case 7:
334
- _g[_h] = _10.sent(); // SecFetchDest authentication
335
- _10.label = 8;
342
+ _g[_h] = _12.sent(); // SecFetchDest authentication
343
+ _12.label = 8;
336
344
  case 8:
337
345
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
338
346
  _j = headerParameters;
339
- _k = "Referer";
340
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
347
+ _k = "Sec-Ch-Ua-Platform";
348
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
341
349
  case 9:
342
- _j[_k] = _10.sent(); // Referer authentication
343
- _10.label = 10;
350
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
351
+ _12.label = 10;
344
352
  case 10:
345
353
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
346
354
  _l = headerParameters;
347
- _m = "Sec-Ch-Ua-Platform";
348
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
355
+ _m = "Sec-Fetch-Mode";
356
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
349
357
  case 11:
350
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
351
- _10.label = 12;
358
+ _l[_m] = _12.sent(); // SecFetchMode authentication
359
+ _12.label = 12;
352
360
  case 12:
353
361
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
354
362
  _o = headerParameters;
355
- _p = "Sec-Fetch-Mode";
356
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
363
+ _p = "x-csrf-token";
364
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
357
365
  case 13:
358
- _o[_p] = _10.sent(); // SecFetchMode authentication
359
- _10.label = 14;
366
+ _o[_p] = _12.sent(); // CsrfToken authentication
367
+ _12.label = 14;
360
368
  case 14:
361
369
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
362
370
  _q = headerParameters;
363
- _r = "x-csrf-token";
364
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
371
+ _r = "x-client-uuid";
372
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
365
373
  case 15:
366
- _q[_r] = _10.sent(); // CsrfToken authentication
367
- _10.label = 16;
374
+ _q[_r] = _12.sent(); // ClientUuid authentication
375
+ _12.label = 16;
368
376
  case 16:
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];
377
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
378
378
  token = this.configuration.accessToken;
379
379
  return [4 /*yield*/, token("BearerAuth", [])];
380
- case 19:
381
- tokenString = _10.sent();
380
+ case 17:
381
+ tokenString = _12.sent();
382
382
  if (tokenString) {
383
383
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
384
384
  }
385
- _10.label = 20;
385
+ _12.label = 18;
386
+ case 18:
387
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
388
+ _s = headerParameters;
389
+ _t = "x-guest-token";
390
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
391
+ case 19:
392
+ _s[_t] = _12.sent(); // GuestToken authentication
393
+ _12.label = 20;
386
394
  case 20:
387
395
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
388
396
  _u = headerParameters;
389
397
  _v = "Sec-Ch-Ua";
390
398
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
391
399
  case 21:
392
- _u[_v] = _10.sent(); // SecChUa authentication
393
- _10.label = 22;
400
+ _u[_v] = _12.sent(); // SecChUa authentication
401
+ _12.label = 22;
394
402
  case 22:
395
403
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
396
404
  _w = headerParameters;
397
- _x = "x-twitter-active-user";
398
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
405
+ _x = "x-client-transaction-id";
406
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
399
407
  case 23:
400
- _w[_x] = _10.sent(); // ActiveUser authentication
401
- _10.label = 24;
408
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
409
+ _12.label = 24;
402
410
  case 24:
403
411
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
404
412
  _y = headerParameters;
405
- _z = "user-agent";
406
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
413
+ _z = "x-twitter-active-user";
414
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
407
415
  case 25:
408
- _y[_z] = _10.sent(); // UserAgent authentication
409
- _10.label = 26;
416
+ _y[_z] = _12.sent(); // ActiveUser authentication
417
+ _12.label = 26;
410
418
  case 26:
411
419
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
412
420
  _0 = headerParameters;
413
- _1 = "Accept-Language";
414
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
421
+ _1 = "user-agent";
422
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
415
423
  case 27:
416
- _0[_1] = _10.sent(); // AcceptLanguage authentication
417
- _10.label = 28;
424
+ _0[_1] = _12.sent(); // UserAgent authentication
425
+ _12.label = 28;
418
426
  case 28:
419
427
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
420
428
  _2 = headerParameters;
421
- _3 = "Sec-Fetch-Site";
422
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
429
+ _3 = "Accept-Language";
430
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
423
431
  case 29:
424
- _2[_3] = _10.sent(); // SecFetchSite authentication
425
- _10.label = 30;
432
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
433
+ _12.label = 30;
426
434
  case 30:
427
435
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
428
436
  _4 = headerParameters;
429
- _5 = "x-twitter-auth-type";
430
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
437
+ _5 = "Sec-Fetch-Site";
438
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
431
439
  case 31:
432
- _4[_5] = _10.sent(); // AuthType authentication
433
- _10.label = 32;
440
+ _4[_5] = _12.sent(); // SecFetchSite authentication
441
+ _12.label = 32;
434
442
  case 32:
435
443
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
436
444
  _6 = headerParameters;
437
- _7 = "Sec-Ch-Ua-Mobile";
438
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
445
+ _7 = "x-twitter-auth-type";
446
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
439
447
  case 33:
440
- _6[_7] = _10.sent(); // SecChUaMobile authentication
441
- _10.label = 34;
448
+ _6[_7] = _12.sent(); // AuthType authentication
449
+ _12.label = 34;
442
450
  case 34:
443
451
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
444
452
  _8 = headerParameters;
445
- _9 = "Accept-Encoding";
446
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
453
+ _9 = "Sec-Ch-Ua-Mobile";
454
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
447
455
  case 35:
448
- _8[_9] = _10.sent(); // AcceptEncoding authentication
449
- _10.label = 36;
450
- case 36: return [4 /*yield*/, this.request({
456
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
457
+ _12.label = 36;
458
+ case 36:
459
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
460
+ _10 = headerParameters;
461
+ _11 = "Accept-Encoding";
462
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
463
+ case 37:
464
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
465
+ _12.label = 38;
466
+ case 38: return [4 /*yield*/, this.request({
451
467
  path: "/graphql/{pathQueryId}/Followers".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
452
468
  method: 'GET',
453
469
  headers: headerParameters,
454
470
  query: queryParameters,
455
471
  }, initOverrides)];
456
- case 37:
457
- response = _10.sent();
472
+ case 39:
473
+ response = _12.sent();
458
474
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetFollowers200ResponseFromJSON)(jsonValue); })];
459
475
  }
460
476
  });
@@ -482,9 +498,9 @@ var UserListApi = /** @class */ (function (_super) {
482
498
  */
483
499
  UserListApi.prototype.getFollowersYouKnowRaw = function (requestParameters, initOverrides) {
484
500
  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, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
486
- return __generator(this, function (_10) {
487
- switch (_10.label) {
501
+ 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, _10, _11, response;
502
+ return __generator(this, function (_12) {
503
+ switch (_12.label) {
488
504
  case 0:
489
505
  if (requestParameters['pathQueryId'] == null) {
490
506
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowersYouKnow().');
@@ -505,157 +521,165 @@ var UserListApi = /** @class */ (function (_super) {
505
521
  headerParameters = {};
506
522
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
507
523
  _a = headerParameters;
508
- _b = "x-twitter-client-language";
509
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
524
+ _b = "Accept";
525
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
510
526
  case 1:
511
- _a[_b] = _10.sent(); // ClientLanguage authentication
512
- _10.label = 2;
527
+ _a[_b] = _12.sent(); // Accept authentication
528
+ _12.label = 2;
513
529
  case 2:
514
530
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
515
531
  _c = headerParameters;
516
- _d = "Accept";
517
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
532
+ _d = "x-twitter-client-language";
533
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
518
534
  case 3:
519
- _c[_d] = _10.sent(); // Accept authentication
520
- _10.label = 4;
535
+ _c[_d] = _12.sent(); // ClientLanguage authentication
536
+ _12.label = 4;
521
537
  case 4:
522
538
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
523
539
  _e = headerParameters;
524
- _f = "Priority";
525
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
540
+ _f = "Referer";
541
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
526
542
  case 5:
527
- _e[_f] = _10.sent(); // Priority authentication
528
- _10.label = 6;
543
+ _e[_f] = _12.sent(); // Referer authentication
544
+ _12.label = 6;
529
545
  case 6:
530
546
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
531
547
  _g = headerParameters;
532
548
  _h = "Sec-Fetch-Dest";
533
549
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
534
550
  case 7:
535
- _g[_h] = _10.sent(); // SecFetchDest authentication
536
- _10.label = 8;
551
+ _g[_h] = _12.sent(); // SecFetchDest authentication
552
+ _12.label = 8;
537
553
  case 8:
538
554
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
539
555
  _j = headerParameters;
540
- _k = "Referer";
541
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
556
+ _k = "Sec-Ch-Ua-Platform";
557
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
542
558
  case 9:
543
- _j[_k] = _10.sent(); // Referer authentication
544
- _10.label = 10;
559
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
560
+ _12.label = 10;
545
561
  case 10:
546
562
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
547
563
  _l = headerParameters;
548
- _m = "Sec-Ch-Ua-Platform";
549
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
564
+ _m = "Sec-Fetch-Mode";
565
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
550
566
  case 11:
551
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
552
- _10.label = 12;
567
+ _l[_m] = _12.sent(); // SecFetchMode authentication
568
+ _12.label = 12;
553
569
  case 12:
554
570
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
555
571
  _o = headerParameters;
556
- _p = "Sec-Fetch-Mode";
557
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
572
+ _p = "x-csrf-token";
573
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
558
574
  case 13:
559
- _o[_p] = _10.sent(); // SecFetchMode authentication
560
- _10.label = 14;
575
+ _o[_p] = _12.sent(); // CsrfToken authentication
576
+ _12.label = 14;
561
577
  case 14:
562
578
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
563
579
  _q = headerParameters;
564
- _r = "x-csrf-token";
565
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
580
+ _r = "x-client-uuid";
581
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
566
582
  case 15:
567
- _q[_r] = _10.sent(); // CsrfToken authentication
568
- _10.label = 16;
583
+ _q[_r] = _12.sent(); // ClientUuid authentication
584
+ _12.label = 16;
569
585
  case 16:
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];
586
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
579
587
  token = this.configuration.accessToken;
580
588
  return [4 /*yield*/, token("BearerAuth", [])];
581
- case 19:
582
- tokenString = _10.sent();
589
+ case 17:
590
+ tokenString = _12.sent();
583
591
  if (tokenString) {
584
592
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
585
593
  }
586
- _10.label = 20;
594
+ _12.label = 18;
595
+ case 18:
596
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
597
+ _s = headerParameters;
598
+ _t = "x-guest-token";
599
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
600
+ case 19:
601
+ _s[_t] = _12.sent(); // GuestToken authentication
602
+ _12.label = 20;
587
603
  case 20:
588
604
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
589
605
  _u = headerParameters;
590
606
  _v = "Sec-Ch-Ua";
591
607
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
592
608
  case 21:
593
- _u[_v] = _10.sent(); // SecChUa authentication
594
- _10.label = 22;
609
+ _u[_v] = _12.sent(); // SecChUa authentication
610
+ _12.label = 22;
595
611
  case 22:
596
612
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
597
613
  _w = headerParameters;
598
- _x = "x-twitter-active-user";
599
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
614
+ _x = "x-client-transaction-id";
615
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
600
616
  case 23:
601
- _w[_x] = _10.sent(); // ActiveUser authentication
602
- _10.label = 24;
617
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
618
+ _12.label = 24;
603
619
  case 24:
604
620
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
605
621
  _y = headerParameters;
606
- _z = "user-agent";
607
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
622
+ _z = "x-twitter-active-user";
623
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
608
624
  case 25:
609
- _y[_z] = _10.sent(); // UserAgent authentication
610
- _10.label = 26;
625
+ _y[_z] = _12.sent(); // ActiveUser authentication
626
+ _12.label = 26;
611
627
  case 26:
612
628
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
613
629
  _0 = headerParameters;
614
- _1 = "Accept-Language";
615
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
630
+ _1 = "user-agent";
631
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
616
632
  case 27:
617
- _0[_1] = _10.sent(); // AcceptLanguage authentication
618
- _10.label = 28;
633
+ _0[_1] = _12.sent(); // UserAgent authentication
634
+ _12.label = 28;
619
635
  case 28:
620
636
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
621
637
  _2 = headerParameters;
622
- _3 = "Sec-Fetch-Site";
623
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
638
+ _3 = "Accept-Language";
639
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
624
640
  case 29:
625
- _2[_3] = _10.sent(); // SecFetchSite authentication
626
- _10.label = 30;
641
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
642
+ _12.label = 30;
627
643
  case 30:
628
644
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
629
645
  _4 = headerParameters;
630
- _5 = "x-twitter-auth-type";
631
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
646
+ _5 = "Sec-Fetch-Site";
647
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
632
648
  case 31:
633
- _4[_5] = _10.sent(); // AuthType authentication
634
- _10.label = 32;
649
+ _4[_5] = _12.sent(); // SecFetchSite authentication
650
+ _12.label = 32;
635
651
  case 32:
636
652
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
637
653
  _6 = headerParameters;
638
- _7 = "Sec-Ch-Ua-Mobile";
639
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
654
+ _7 = "x-twitter-auth-type";
655
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
640
656
  case 33:
641
- _6[_7] = _10.sent(); // SecChUaMobile authentication
642
- _10.label = 34;
657
+ _6[_7] = _12.sent(); // AuthType authentication
658
+ _12.label = 34;
643
659
  case 34:
644
660
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
645
661
  _8 = headerParameters;
646
- _9 = "Accept-Encoding";
647
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
662
+ _9 = "Sec-Ch-Ua-Mobile";
663
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
648
664
  case 35:
649
- _8[_9] = _10.sent(); // AcceptEncoding authentication
650
- _10.label = 36;
651
- case 36: return [4 /*yield*/, this.request({
665
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
666
+ _12.label = 36;
667
+ case 36:
668
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
669
+ _10 = headerParameters;
670
+ _11 = "Accept-Encoding";
671
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
672
+ case 37:
673
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
674
+ _12.label = 38;
675
+ case 38: return [4 /*yield*/, this.request({
652
676
  path: "/graphql/{pathQueryId}/FollowersYouKnow".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
653
677
  method: 'GET',
654
678
  headers: headerParameters,
655
679
  query: queryParameters,
656
680
  }, initOverrides)];
657
- case 37:
658
- response = _10.sent();
681
+ case 39:
682
+ response = _12.sent();
659
683
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetFollowers200ResponseFromJSON)(jsonValue); })];
660
684
  }
661
685
  });
@@ -683,9 +707,9 @@ var UserListApi = /** @class */ (function (_super) {
683
707
  */
684
708
  UserListApi.prototype.getFollowingRaw = function (requestParameters, initOverrides) {
685
709
  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, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
687
- return __generator(this, function (_10) {
688
- switch (_10.label) {
710
+ 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, _10, _11, response;
711
+ return __generator(this, function (_12) {
712
+ switch (_12.label) {
689
713
  case 0:
690
714
  if (requestParameters['pathQueryId'] == null) {
691
715
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getFollowing().');
@@ -706,157 +730,165 @@ var UserListApi = /** @class */ (function (_super) {
706
730
  headerParameters = {};
707
731
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
708
732
  _a = headerParameters;
709
- _b = "x-twitter-client-language";
710
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
733
+ _b = "Accept";
734
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
711
735
  case 1:
712
- _a[_b] = _10.sent(); // ClientLanguage authentication
713
- _10.label = 2;
736
+ _a[_b] = _12.sent(); // Accept authentication
737
+ _12.label = 2;
714
738
  case 2:
715
739
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
716
740
  _c = headerParameters;
717
- _d = "Accept";
718
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
741
+ _d = "x-twitter-client-language";
742
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
719
743
  case 3:
720
- _c[_d] = _10.sent(); // Accept authentication
721
- _10.label = 4;
744
+ _c[_d] = _12.sent(); // ClientLanguage authentication
745
+ _12.label = 4;
722
746
  case 4:
723
747
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
724
748
  _e = headerParameters;
725
- _f = "Priority";
726
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
749
+ _f = "Referer";
750
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
727
751
  case 5:
728
- _e[_f] = _10.sent(); // Priority authentication
729
- _10.label = 6;
752
+ _e[_f] = _12.sent(); // Referer authentication
753
+ _12.label = 6;
730
754
  case 6:
731
755
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
732
756
  _g = headerParameters;
733
757
  _h = "Sec-Fetch-Dest";
734
758
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
735
759
  case 7:
736
- _g[_h] = _10.sent(); // SecFetchDest authentication
737
- _10.label = 8;
760
+ _g[_h] = _12.sent(); // SecFetchDest authentication
761
+ _12.label = 8;
738
762
  case 8:
739
763
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
740
764
  _j = headerParameters;
741
- _k = "Referer";
742
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
765
+ _k = "Sec-Ch-Ua-Platform";
766
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
743
767
  case 9:
744
- _j[_k] = _10.sent(); // Referer authentication
745
- _10.label = 10;
768
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
769
+ _12.label = 10;
746
770
  case 10:
747
771
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
748
772
  _l = headerParameters;
749
- _m = "Sec-Ch-Ua-Platform";
750
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
773
+ _m = "Sec-Fetch-Mode";
774
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
751
775
  case 11:
752
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
753
- _10.label = 12;
776
+ _l[_m] = _12.sent(); // SecFetchMode authentication
777
+ _12.label = 12;
754
778
  case 12:
755
779
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
756
780
  _o = headerParameters;
757
- _p = "Sec-Fetch-Mode";
758
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
781
+ _p = "x-csrf-token";
782
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
759
783
  case 13:
760
- _o[_p] = _10.sent(); // SecFetchMode authentication
761
- _10.label = 14;
784
+ _o[_p] = _12.sent(); // CsrfToken authentication
785
+ _12.label = 14;
762
786
  case 14:
763
787
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
764
788
  _q = headerParameters;
765
- _r = "x-csrf-token";
766
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
789
+ _r = "x-client-uuid";
790
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
767
791
  case 15:
768
- _q[_r] = _10.sent(); // CsrfToken authentication
769
- _10.label = 16;
792
+ _q[_r] = _12.sent(); // ClientUuid authentication
793
+ _12.label = 16;
770
794
  case 16:
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];
795
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
780
796
  token = this.configuration.accessToken;
781
797
  return [4 /*yield*/, token("BearerAuth", [])];
782
- case 19:
783
- tokenString = _10.sent();
798
+ case 17:
799
+ tokenString = _12.sent();
784
800
  if (tokenString) {
785
801
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
786
802
  }
787
- _10.label = 20;
803
+ _12.label = 18;
804
+ case 18:
805
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
806
+ _s = headerParameters;
807
+ _t = "x-guest-token";
808
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
809
+ case 19:
810
+ _s[_t] = _12.sent(); // GuestToken authentication
811
+ _12.label = 20;
788
812
  case 20:
789
813
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
790
814
  _u = headerParameters;
791
815
  _v = "Sec-Ch-Ua";
792
816
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
793
817
  case 21:
794
- _u[_v] = _10.sent(); // SecChUa authentication
795
- _10.label = 22;
818
+ _u[_v] = _12.sent(); // SecChUa authentication
819
+ _12.label = 22;
796
820
  case 22:
797
821
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
798
822
  _w = headerParameters;
799
- _x = "x-twitter-active-user";
800
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
823
+ _x = "x-client-transaction-id";
824
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
801
825
  case 23:
802
- _w[_x] = _10.sent(); // ActiveUser authentication
803
- _10.label = 24;
826
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
827
+ _12.label = 24;
804
828
  case 24:
805
829
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
806
830
  _y = headerParameters;
807
- _z = "user-agent";
808
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
831
+ _z = "x-twitter-active-user";
832
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
809
833
  case 25:
810
- _y[_z] = _10.sent(); // UserAgent authentication
811
- _10.label = 26;
834
+ _y[_z] = _12.sent(); // ActiveUser authentication
835
+ _12.label = 26;
812
836
  case 26:
813
837
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
814
838
  _0 = headerParameters;
815
- _1 = "Accept-Language";
816
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
839
+ _1 = "user-agent";
840
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
817
841
  case 27:
818
- _0[_1] = _10.sent(); // AcceptLanguage authentication
819
- _10.label = 28;
842
+ _0[_1] = _12.sent(); // UserAgent authentication
843
+ _12.label = 28;
820
844
  case 28:
821
845
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
822
846
  _2 = headerParameters;
823
- _3 = "Sec-Fetch-Site";
824
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
847
+ _3 = "Accept-Language";
848
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
825
849
  case 29:
826
- _2[_3] = _10.sent(); // SecFetchSite authentication
827
- _10.label = 30;
850
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
851
+ _12.label = 30;
828
852
  case 30:
829
853
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
830
854
  _4 = headerParameters;
831
- _5 = "x-twitter-auth-type";
832
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
855
+ _5 = "Sec-Fetch-Site";
856
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
833
857
  case 31:
834
- _4[_5] = _10.sent(); // AuthType authentication
835
- _10.label = 32;
858
+ _4[_5] = _12.sent(); // SecFetchSite authentication
859
+ _12.label = 32;
836
860
  case 32:
837
861
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
838
862
  _6 = headerParameters;
839
- _7 = "Sec-Ch-Ua-Mobile";
840
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
863
+ _7 = "x-twitter-auth-type";
864
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
841
865
  case 33:
842
- _6[_7] = _10.sent(); // SecChUaMobile authentication
843
- _10.label = 34;
866
+ _6[_7] = _12.sent(); // AuthType authentication
867
+ _12.label = 34;
844
868
  case 34:
845
869
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
846
870
  _8 = headerParameters;
847
- _9 = "Accept-Encoding";
848
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
871
+ _9 = "Sec-Ch-Ua-Mobile";
872
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
849
873
  case 35:
850
- _8[_9] = _10.sent(); // AcceptEncoding authentication
851
- _10.label = 36;
852
- case 36: return [4 /*yield*/, this.request({
874
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
875
+ _12.label = 36;
876
+ case 36:
877
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
878
+ _10 = headerParameters;
879
+ _11 = "Accept-Encoding";
880
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
881
+ case 37:
882
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
883
+ _12.label = 38;
884
+ case 38: return [4 /*yield*/, this.request({
853
885
  path: "/graphql/{pathQueryId}/Following".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
854
886
  method: 'GET',
855
887
  headers: headerParameters,
856
888
  query: queryParameters,
857
889
  }, initOverrides)];
858
- case 37:
859
- response = _10.sent();
890
+ case 39:
891
+ response = _12.sent();
860
892
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetFollowers200ResponseFromJSON)(jsonValue); })];
861
893
  }
862
894
  });
@@ -884,9 +916,9 @@ var UserListApi = /** @class */ (function (_super) {
884
916
  */
885
917
  UserListApi.prototype.getRetweetersRaw = function (requestParameters, initOverrides) {
886
918
  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, _s, _t, token, tokenString, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, response;
888
- return __generator(this, function (_10) {
889
- switch (_10.label) {
919
+ 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, _10, _11, response;
920
+ return __generator(this, function (_12) {
921
+ switch (_12.label) {
890
922
  case 0:
891
923
  if (requestParameters['pathQueryId'] == null) {
892
924
  throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getRetweeters().');
@@ -907,157 +939,165 @@ var UserListApi = /** @class */ (function (_super) {
907
939
  headerParameters = {};
908
940
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
909
941
  _a = headerParameters;
910
- _b = "x-twitter-client-language";
911
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
942
+ _b = "Accept";
943
+ return [4 /*yield*/, this.configuration.apiKey("Accept")];
912
944
  case 1:
913
- _a[_b] = _10.sent(); // ClientLanguage authentication
914
- _10.label = 2;
945
+ _a[_b] = _12.sent(); // Accept authentication
946
+ _12.label = 2;
915
947
  case 2:
916
948
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 4];
917
949
  _c = headerParameters;
918
- _d = "Accept";
919
- return [4 /*yield*/, this.configuration.apiKey("Accept")];
950
+ _d = "x-twitter-client-language";
951
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-client-language")];
920
952
  case 3:
921
- _c[_d] = _10.sent(); // Accept authentication
922
- _10.label = 4;
953
+ _c[_d] = _12.sent(); // ClientLanguage authentication
954
+ _12.label = 4;
923
955
  case 4:
924
956
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 6];
925
957
  _e = headerParameters;
926
- _f = "Priority";
927
- return [4 /*yield*/, this.configuration.apiKey("Priority")];
958
+ _f = "Referer";
959
+ return [4 /*yield*/, this.configuration.apiKey("Referer")];
928
960
  case 5:
929
- _e[_f] = _10.sent(); // Priority authentication
930
- _10.label = 6;
961
+ _e[_f] = _12.sent(); // Referer authentication
962
+ _12.label = 6;
931
963
  case 6:
932
964
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 8];
933
965
  _g = headerParameters;
934
966
  _h = "Sec-Fetch-Dest";
935
967
  return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Dest")];
936
968
  case 7:
937
- _g[_h] = _10.sent(); // SecFetchDest authentication
938
- _10.label = 8;
969
+ _g[_h] = _12.sent(); // SecFetchDest authentication
970
+ _12.label = 8;
939
971
  case 8:
940
972
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 10];
941
973
  _j = headerParameters;
942
- _k = "Referer";
943
- return [4 /*yield*/, this.configuration.apiKey("Referer")];
974
+ _k = "Sec-Ch-Ua-Platform";
975
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
944
976
  case 9:
945
- _j[_k] = _10.sent(); // Referer authentication
946
- _10.label = 10;
977
+ _j[_k] = _12.sent(); // SecChUaPlatform authentication
978
+ _12.label = 10;
947
979
  case 10:
948
980
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 12];
949
981
  _l = headerParameters;
950
- _m = "Sec-Ch-Ua-Platform";
951
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Platform")];
982
+ _m = "Sec-Fetch-Mode";
983
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
952
984
  case 11:
953
- _l[_m] = _10.sent(); // SecChUaPlatform authentication
954
- _10.label = 12;
985
+ _l[_m] = _12.sent(); // SecFetchMode authentication
986
+ _12.label = 12;
955
987
  case 12:
956
988
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 14];
957
989
  _o = headerParameters;
958
- _p = "Sec-Fetch-Mode";
959
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Mode")];
990
+ _p = "x-csrf-token";
991
+ return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
960
992
  case 13:
961
- _o[_p] = _10.sent(); // SecFetchMode authentication
962
- _10.label = 14;
993
+ _o[_p] = _12.sent(); // CsrfToken authentication
994
+ _12.label = 14;
963
995
  case 14:
964
996
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 16];
965
997
  _q = headerParameters;
966
- _r = "x-csrf-token";
967
- return [4 /*yield*/, this.configuration.apiKey("x-csrf-token")];
998
+ _r = "x-client-uuid";
999
+ return [4 /*yield*/, this.configuration.apiKey("x-client-uuid")];
968
1000
  case 15:
969
- _q[_r] = _10.sent(); // CsrfToken authentication
970
- _10.label = 16;
1001
+ _q[_r] = _12.sent(); // ClientUuid authentication
1002
+ _12.label = 16;
971
1003
  case 16:
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];
1004
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 18];
981
1005
  token = this.configuration.accessToken;
982
1006
  return [4 /*yield*/, token("BearerAuth", [])];
983
- case 19:
984
- tokenString = _10.sent();
1007
+ case 17:
1008
+ tokenString = _12.sent();
985
1009
  if (tokenString) {
986
1010
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
987
1011
  }
988
- _10.label = 20;
1012
+ _12.label = 18;
1013
+ case 18:
1014
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 20];
1015
+ _s = headerParameters;
1016
+ _t = "x-guest-token";
1017
+ return [4 /*yield*/, this.configuration.apiKey("x-guest-token")];
1018
+ case 19:
1019
+ _s[_t] = _12.sent(); // GuestToken authentication
1020
+ _12.label = 20;
989
1021
  case 20:
990
1022
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 22];
991
1023
  _u = headerParameters;
992
1024
  _v = "Sec-Ch-Ua";
993
1025
  return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua")];
994
1026
  case 21:
995
- _u[_v] = _10.sent(); // SecChUa authentication
996
- _10.label = 22;
1027
+ _u[_v] = _12.sent(); // SecChUa authentication
1028
+ _12.label = 22;
997
1029
  case 22:
998
1030
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 24];
999
1031
  _w = headerParameters;
1000
- _x = "x-twitter-active-user";
1001
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1032
+ _x = "x-client-transaction-id";
1033
+ return [4 /*yield*/, this.configuration.apiKey("x-client-transaction-id")];
1002
1034
  case 23:
1003
- _w[_x] = _10.sent(); // ActiveUser authentication
1004
- _10.label = 24;
1035
+ _w[_x] = _12.sent(); // ClientTransactionId authentication
1036
+ _12.label = 24;
1005
1037
  case 24:
1006
1038
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 26];
1007
1039
  _y = headerParameters;
1008
- _z = "user-agent";
1009
- return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1040
+ _z = "x-twitter-active-user";
1041
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-active-user")];
1010
1042
  case 25:
1011
- _y[_z] = _10.sent(); // UserAgent authentication
1012
- _10.label = 26;
1043
+ _y[_z] = _12.sent(); // ActiveUser authentication
1044
+ _12.label = 26;
1013
1045
  case 26:
1014
1046
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 28];
1015
1047
  _0 = headerParameters;
1016
- _1 = "Accept-Language";
1017
- return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1048
+ _1 = "user-agent";
1049
+ return [4 /*yield*/, this.configuration.apiKey("user-agent")];
1018
1050
  case 27:
1019
- _0[_1] = _10.sent(); // AcceptLanguage authentication
1020
- _10.label = 28;
1051
+ _0[_1] = _12.sent(); // UserAgent authentication
1052
+ _12.label = 28;
1021
1053
  case 28:
1022
1054
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 30];
1023
1055
  _2 = headerParameters;
1024
- _3 = "Sec-Fetch-Site";
1025
- return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1056
+ _3 = "Accept-Language";
1057
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Language")];
1026
1058
  case 29:
1027
- _2[_3] = _10.sent(); // SecFetchSite authentication
1028
- _10.label = 30;
1059
+ _2[_3] = _12.sent(); // AcceptLanguage authentication
1060
+ _12.label = 30;
1029
1061
  case 30:
1030
1062
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 32];
1031
1063
  _4 = headerParameters;
1032
- _5 = "x-twitter-auth-type";
1033
- return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1064
+ _5 = "Sec-Fetch-Site";
1065
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Fetch-Site")];
1034
1066
  case 31:
1035
- _4[_5] = _10.sent(); // AuthType authentication
1036
- _10.label = 32;
1067
+ _4[_5] = _12.sent(); // SecFetchSite authentication
1068
+ _12.label = 32;
1037
1069
  case 32:
1038
1070
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 34];
1039
1071
  _6 = headerParameters;
1040
- _7 = "Sec-Ch-Ua-Mobile";
1041
- return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1072
+ _7 = "x-twitter-auth-type";
1073
+ return [4 /*yield*/, this.configuration.apiKey("x-twitter-auth-type")];
1042
1074
  case 33:
1043
- _6[_7] = _10.sent(); // SecChUaMobile authentication
1044
- _10.label = 34;
1075
+ _6[_7] = _12.sent(); // AuthType authentication
1076
+ _12.label = 34;
1045
1077
  case 34:
1046
1078
  if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 36];
1047
1079
  _8 = headerParameters;
1048
- _9 = "Accept-Encoding";
1049
- return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1080
+ _9 = "Sec-Ch-Ua-Mobile";
1081
+ return [4 /*yield*/, this.configuration.apiKey("Sec-Ch-Ua-Mobile")];
1050
1082
  case 35:
1051
- _8[_9] = _10.sent(); // AcceptEncoding authentication
1052
- _10.label = 36;
1053
- case 36: return [4 /*yield*/, this.request({
1083
+ _8[_9] = _12.sent(); // SecChUaMobile authentication
1084
+ _12.label = 36;
1085
+ case 36:
1086
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 38];
1087
+ _10 = headerParameters;
1088
+ _11 = "Accept-Encoding";
1089
+ return [4 /*yield*/, this.configuration.apiKey("Accept-Encoding")];
1090
+ case 37:
1091
+ _10[_11] = _12.sent(); // AcceptEncoding authentication
1092
+ _12.label = 38;
1093
+ case 38: return [4 /*yield*/, this.request({
1054
1094
  path: "/graphql/{pathQueryId}/Retweeters".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters['pathQueryId']))),
1055
1095
  method: 'GET',
1056
1096
  headers: headerParameters,
1057
1097
  query: queryParameters,
1058
1098
  }, initOverrides)];
1059
- case 37:
1060
- response = _10.sent();
1099
+ case 39:
1100
+ response = _12.sent();
1061
1101
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetRetweeters200ResponseFromJSON)(jsonValue); })];
1062
1102
  }
1063
1103
  });