twitter-openapi-typescript-generated 0.0.6 → 0.0.8

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 (241) hide show
  1. package/.openapi-generator/FILES +18 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +0 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +0 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/TweetApi.d.ts +17 -12
  8. package/dist/apis/TweetApi.d.ts.map +1 -1
  9. package/dist/apis/TweetApi.js +90 -55
  10. package/dist/apis/TweetApi.js.map +1 -1
  11. package/dist/apis/UserApi.d.ts +27 -2
  12. package/dist/apis/UserApi.d.ts.map +1 -1
  13. package/dist/apis/UserApi.js +166 -6
  14. package/dist/apis/UserApi.js.map +1 -1
  15. package/dist/apis/UserListApi.d.ts +41 -3
  16. package/dist/apis/UserListApi.d.ts.map +1 -1
  17. package/dist/apis/UserListApi.js +255 -12
  18. package/dist/apis/UserListApi.js.map +1 -1
  19. package/dist/models/ContentItemType.d.ts +2 -0
  20. package/dist/models/ContentItemType.d.ts.map +1 -1
  21. package/dist/models/ContentItemType.js +3 -1
  22. package/dist/models/ContentItemType.js.map +1 -1
  23. package/dist/models/InstructionType.d.ts +3 -0
  24. package/dist/models/InstructionType.d.ts.map +1 -1
  25. package/dist/models/InstructionType.js +3 -0
  26. package/dist/models/InstructionType.js.map +1 -1
  27. package/dist/models/InstructionUnion.d.ts +9 -0
  28. package/dist/models/InstructionUnion.d.ts.map +1 -1
  29. package/dist/models/InstructionUnion.js +15 -0
  30. package/dist/models/InstructionUnion.js.map +1 -1
  31. package/dist/models/ItemContentUnion.d.ts +6 -0
  32. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  33. package/dist/models/ItemContentUnion.js +10 -0
  34. package/dist/models/ItemContentUnion.js.map +1 -1
  35. package/dist/models/ListLatestTweetsTimelineResponse.d.ts +33 -0
  36. package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -0
  37. package/dist/models/ListLatestTweetsTimelineResponse.js +52 -0
  38. package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -0
  39. package/dist/models/SearchByRawQuery.d.ts +33 -0
  40. package/dist/models/SearchByRawQuery.d.ts.map +1 -0
  41. package/dist/models/SearchByRawQuery.js +52 -0
  42. package/dist/models/SearchByRawQuery.js.map +1 -0
  43. package/dist/models/SearchTimeline.d.ts +33 -0
  44. package/dist/models/SearchTimeline.d.ts.map +1 -0
  45. package/dist/models/SearchTimeline.js +52 -0
  46. package/dist/models/SearchTimeline.js.map +1 -0
  47. package/dist/models/SearchTimelineData.d.ts +33 -0
  48. package/dist/models/SearchTimelineData.d.ts.map +1 -0
  49. package/dist/models/SearchTimelineData.js +52 -0
  50. package/dist/models/SearchTimelineData.js.map +1 -0
  51. package/dist/models/SearchTimelineResponse.d.ts +33 -0
  52. package/dist/models/SearchTimelineResponse.d.ts.map +1 -0
  53. package/dist/models/SearchTimelineResponse.js +52 -0
  54. package/dist/models/SearchTimelineResponse.js.map +1 -0
  55. package/dist/models/TimelineAddToModule.d.ts +52 -0
  56. package/dist/models/TimelineAddToModule.d.ts.map +1 -0
  57. package/dist/models/TimelineAddToModule.js +62 -0
  58. package/dist/models/TimelineAddToModule.js.map +1 -0
  59. package/dist/models/TimelineMessagePrompt.d.ts +33 -0
  60. package/dist/models/TimelineMessagePrompt.d.ts.map +1 -0
  61. package/dist/models/TimelineMessagePrompt.js +52 -0
  62. package/dist/models/TimelineMessagePrompt.js.map +1 -0
  63. package/dist/models/TimelinePrompt.d.ts +33 -0
  64. package/dist/models/TimelinePrompt.d.ts.map +1 -0
  65. package/dist/models/TimelinePrompt.js +52 -0
  66. package/dist/models/TimelinePrompt.js.map +1 -0
  67. package/dist/models/TimelineReplaceEntry.d.ts +46 -0
  68. package/dist/models/TimelineReplaceEntry.d.ts.map +1 -0
  69. package/dist/models/TimelineReplaceEntry.js +59 -0
  70. package/dist/models/TimelineReplaceEntry.js.map +1 -0
  71. package/dist/models/TimelineShowAlert.d.ts +97 -0
  72. package/dist/models/TimelineShowAlert.d.ts.map +1 -0
  73. package/dist/models/TimelineShowAlert.js +85 -0
  74. package/dist/models/TimelineShowAlert.js.map +1 -0
  75. package/dist/models/TimelineShowAlertRichText.d.ts +38 -0
  76. package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -0
  77. package/dist/models/TimelineShowAlertRichText.js +53 -0
  78. package/dist/models/TimelineShowAlertRichText.js.map +1 -0
  79. package/dist/models/TweetFavoritersResponse.d.ts +33 -0
  80. package/dist/models/TweetFavoritersResponse.d.ts.map +1 -0
  81. package/dist/models/TweetFavoritersResponse.js +52 -0
  82. package/dist/models/TweetFavoritersResponse.js.map +1 -0
  83. package/dist/models/TweetFavoritersResponseData.d.ts +33 -0
  84. package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -0
  85. package/dist/models/TweetFavoritersResponseData.js +52 -0
  86. package/dist/models/TweetFavoritersResponseData.js.map +1 -0
  87. package/dist/models/TweetLegacy.d.ts +7 -0
  88. package/dist/models/TweetLegacy.d.ts.map +1 -1
  89. package/dist/models/TweetLegacy.js +3 -0
  90. package/dist/models/TweetLegacy.js.map +1 -1
  91. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  92. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  93. package/dist/models/TweetLegacySelfThread.js +51 -0
  94. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  95. package/dist/models/TweetRetweetersResponse.d.ts +33 -0
  96. package/dist/models/TweetRetweetersResponse.d.ts.map +1 -0
  97. package/dist/models/TweetRetweetersResponse.js +52 -0
  98. package/dist/models/TweetRetweetersResponse.js.map +1 -0
  99. package/dist/models/TweetRetweetersResponseData.d.ts +33 -0
  100. package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -0
  101. package/dist/models/TweetRetweetersResponseData.js +52 -0
  102. package/dist/models/TweetRetweetersResponseData.js.map +1 -0
  103. package/dist/models/UsersResponse.d.ts +33 -0
  104. package/dist/models/UsersResponse.d.ts.map +1 -0
  105. package/dist/models/UsersResponse.js +52 -0
  106. package/dist/models/UsersResponse.js.map +1 -0
  107. package/dist/models/UsersResponseData.d.ts +33 -0
  108. package/dist/models/UsersResponseData.d.ts.map +1 -0
  109. package/dist/models/UsersResponseData.js +52 -0
  110. package/dist/models/UsersResponseData.js.map +1 -0
  111. package/dist/models/index.d.ts +18 -1
  112. package/dist/models/index.d.ts.map +1 -1
  113. package/dist/models/index.js +18 -1
  114. package/dist/models/index.js.map +1 -1
  115. package/package.json +3 -2
  116. package/src/apis/DefaultApi.ts +0 -9
  117. package/src/apis/TweetApi.ts +102 -87
  118. package/src/apis/UserApi.ts +171 -9
  119. package/src/apis/UserListApi.ts +267 -18
  120. package/src/models/ContentItemType.ts +3 -1
  121. package/src/models/InstructionType.ts +3 -0
  122. package/src/models/InstructionUnion.ts +34 -1
  123. package/src/models/ItemContentUnion.ts +23 -1
  124. package/src/models/{ListTweetsTimelineResponse.ts → ListLatestTweetsTimelineResponse.ts} +9 -9
  125. package/src/models/SearchByRawQuery.ts +73 -0
  126. package/src/models/SearchTimeline.ts +73 -0
  127. package/src/models/SearchTimelineData.ts +73 -0
  128. package/src/models/SearchTimelineResponse.ts +73 -0
  129. package/src/models/TimelineAddToModule.ts +105 -0
  130. package/src/models/TimelineMessagePrompt.ts +72 -0
  131. package/src/models/TimelinePrompt.ts +72 -0
  132. package/src/models/TimelineReplaceEntry.ts +97 -0
  133. package/src/models/TimelineShowAlert.ts +169 -0
  134. package/src/models/TimelineShowAlertRichText.ts +73 -0
  135. package/src/models/TweetFavoritersResponse.ts +73 -0
  136. package/src/models/TweetFavoritersResponseData.ts +73 -0
  137. package/src/models/TweetLegacy.ts +14 -0
  138. package/src/models/TweetLegacySelfThread.ts +66 -0
  139. package/src/models/TweetRetweetersResponse.ts +73 -0
  140. package/src/models/TweetRetweetersResponseData.ts +73 -0
  141. package/src/models/UsersResponse.ts +73 -0
  142. package/src/models/UsersResponseData.ts +73 -0
  143. package/src/models/index.ts +18 -1
  144. package/tools/openapi-generator-config.yaml +2 -2
  145. package/tools/win/replace.py +1 -1
  146. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +12 -0
  147. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
  148. package/twitter-openapi/dist/{dart → compatible}/paths/follow.yaml +82 -63
  149. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
  150. package/twitter-openapi/dist/{dart → compatible}/paths/timeline.yaml +118 -111
  151. package/twitter-openapi/dist/compatible/paths/tweet.yaml +297 -0
  152. package/twitter-openapi/dist/compatible/paths/user.yaml +227 -0
  153. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +0 -28
  154. package/twitter-openapi/dist/{typescript → compatible}/schemas/content.yaml +14 -0
  155. package/twitter-openapi/dist/compatible/schemas/instruction.yaml +160 -0
  156. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
  157. package/twitter-openapi/dist/docs/openapi-3.0.yaml +12 -0
  158. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
  159. package/twitter-openapi/dist/docs/paths/follow.yaml +193 -112
  160. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
  161. package/twitter-openapi/dist/docs/paths/timeline.yaml +225 -173
  162. package/twitter-openapi/dist/docs/paths/tweet.yaml +382 -61
  163. package/twitter-openapi/dist/docs/paths/user.yaml +214 -41
  164. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
  165. package/twitter-openapi/dist/docs/schemas/content.yaml +14 -0
  166. package/twitter-openapi/dist/docs/schemas/instruction.yaml +77 -0
  167. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
  168. package/twitter-openapi/src/config/placeholder.json +155 -0
  169. package/twitter-openapi/src/openapi/paths/follow.yaml +14 -0
  170. package/twitter-openapi/src/openapi/paths/timeline.yaml +44 -2
  171. package/twitter-openapi/src/openapi/paths/tweet.yaml +56 -0
  172. package/twitter-openapi/src/openapi/paths/user.yaml +44 -0
  173. package/twitter-openapi/src/openapi/schemas/content.yaml +23 -1
  174. package/twitter-openapi/src/openapi/schemas/instruction.yaml +78 -0
  175. package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
  176. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  177. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  178. package/twitter-openapi/tools/build_config.py +67 -190
  179. package/twitter-openapi/tools/hooks.py +28 -7
  180. package/dist/models/ListTweetsTimelineResponse.d.ts +0 -33
  181. package/dist/models/ListTweetsTimelineResponse.d.ts.map +0 -1
  182. package/dist/models/ListTweetsTimelineResponse.js +0 -52
  183. package/dist/models/ListTweetsTimelineResponse.js.map +0 -1
  184. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  185. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
  186. package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
  187. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
  188. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
  189. package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
  190. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
  191. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  192. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  193. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  194. package/twitter-openapi/dist/dart/schemas/content.yaml +0 -181
  195. package/twitter-openapi/dist/dart/schemas/instruction.yaml +0 -83
  196. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
  197. package/twitter-openapi/dist/test/paths/follow.yaml +0 -218
  198. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  199. package/twitter-openapi/dist/test/paths/post.yaml +0 -527
  200. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -314
  201. package/twitter-openapi/dist/test/paths/tweet.yaml +0 -112
  202. package/twitter-openapi/dist/test/paths/user.yaml +0 -90
  203. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  204. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  205. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  206. package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
  207. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  208. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  209. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  210. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  211. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  212. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
  213. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  214. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  215. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  216. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
  217. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  218. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
  219. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
  220. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
  221. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
  222. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -396
  223. package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
  224. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  225. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  226. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  227. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  228. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
  229. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  230. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  231. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  232. /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
  233. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  234. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  235. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  236. /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
  237. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  238. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  239. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  240. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  241. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -47,10 +47,10 @@ src/models/InstructionType.ts
47
47
  src/models/InstructionUnion.ts
48
48
  src/models/ItemContentUnion.ts
49
49
  src/models/ItemResult.ts
50
+ src/models/ListLatestTweetsTimelineResponse.ts
50
51
  src/models/ListTweetsTimeline.ts
51
52
  src/models/ListTweetsTimelineData.ts
52
53
  src/models/ListTweetsTimelineList.ts
53
- src/models/ListTweetsTimelineResponse.ts
54
54
  src/models/Media.ts
55
55
  src/models/MediaOriginalInfo.ts
56
56
  src/models/ModuleEntry.ts
@@ -72,14 +72,24 @@ src/models/ProfileResponse.ts
72
72
  src/models/ProfileResponseData.ts
73
73
  src/models/Retweet.ts
74
74
  src/models/RetweetLegacy.ts
75
+ src/models/SearchByRawQuery.ts
76
+ src/models/SearchTimeline.ts
77
+ src/models/SearchTimelineData.ts
78
+ src/models/SearchTimelineResponse.ts
75
79
  src/models/Session.ts
76
80
  src/models/SocialContext.ts
77
81
  src/models/Timeline.ts
78
82
  src/models/TimelineAddEntries.ts
79
83
  src/models/TimelineAddEntry.ts
84
+ src/models/TimelineAddToModule.ts
80
85
  src/models/TimelineClearCache.ts
86
+ src/models/TimelineMessagePrompt.ts
81
87
  src/models/TimelinePinEntry.ts
88
+ src/models/TimelinePrompt.ts
89
+ src/models/TimelineReplaceEntry.ts
82
90
  src/models/TimelineResponse.ts
91
+ src/models/TimelineShowAlert.ts
92
+ src/models/TimelineShowAlertRichText.ts
83
93
  src/models/TimelineTerminateTimeline.ts
84
94
  src/models/TimelineTimelineCursor.ts
85
95
  src/models/TimelineTimelineItem.ts
@@ -96,7 +106,12 @@ src/models/TweetDetailResponse.ts
96
106
  src/models/TweetDetailResponseData.ts
97
107
  src/models/TweetEditControl.ts
98
108
  src/models/TweetEditPrespective.ts
109
+ src/models/TweetFavoritersResponse.ts
110
+ src/models/TweetFavoritersResponseData.ts
99
111
  src/models/TweetLegacy.ts
112
+ src/models/TweetLegacySelfThread.ts
113
+ src/models/TweetRetweetersResponse.ts
114
+ src/models/TweetRetweetersResponseData.ts
100
115
  src/models/TweetTombstone.ts
101
116
  src/models/TweetUnion.ts
102
117
  src/models/TweetViews.ts
@@ -119,6 +134,8 @@ src/models/UserTweetsData.ts
119
134
  src/models/UserTweetsResponse.ts
120
135
  src/models/UserTweetsResult.ts
121
136
  src/models/UserTweetsUser.ts
137
+ src/models/UsersResponse.ts
138
+ src/models/UsersResponseData.ts
122
139
  src/models/index.ts
123
140
  src/runtime.ts
124
141
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## twitter-openapi-typescript-generated@0.0.6
1
+ ## twitter-openapi-typescript-generated@0.0.8
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install twitter-openapi-typescript-generated@0.0.6 --save
39
+ npm install twitter-openapi-typescript-generated@0.0.8 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -13,7 +13,6 @@ import * as runtime from '../runtime';
13
13
  import type { ProfileResponse } from '../models';
14
14
  export interface GetProfileSpotlightsQueryRequest {
15
15
  pathQueryId: string;
16
- queryId: string;
17
16
  variables: string;
18
17
  features: string;
19
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultApi.d.ts","sourceRoot":"","sources":["../../src/apis/DefaultApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EAChB,MAAM,WAAW,CAAC;AAMnB,MAAM,WAAW,gCAAgC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;OAEG;IACG,4BAA4B,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IA2ElM;;OAEG;IACG,yBAAyB,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;CAK7K"}
1
+ {"version":3,"file":"DefaultApi.d.ts","sourceRoot":"","sources":["../../src/apis/DefaultApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EAChB,MAAM,WAAW,CAAC;AAMnB,MAAM,WAAW,gCAAgC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;OAEG;IACG,4BAA4B,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAmElM;;OAEG;IACG,yBAAyB,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;CAK7K"}
@@ -87,9 +87,6 @@ var DefaultApi = /** @class */ (function (_super) {
87
87
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
88
88
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getProfileSpotlightsQuery.');
89
89
  }
90
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
91
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getProfileSpotlightsQuery.');
92
- }
93
90
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
94
91
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getProfileSpotlightsQuery.');
95
92
  }
@@ -97,9 +94,6 @@ var DefaultApi = /** @class */ (function (_super) {
97
94
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getProfileSpotlightsQuery.');
98
95
  }
99
96
  queryParameters = {};
100
- if (requestParameters.queryId !== undefined) {
101
- queryParameters['queryId'] = requestParameters.queryId;
102
- }
103
97
  if (requestParameters.variables !== undefined) {
104
98
  queryParameters['variables'] = requestParameters.variables;
105
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultApi.js","sourceRoot":"","sources":["../../src/apis/DefaultApi.ts"],"names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CAAC,WAAW,CAAC;wBACzB,qBAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,EAAA;;wBAA3C,WAAW,GAAG,SAA6B;wBAEjD,IAAI,WAAW,EAAE;4BACb,gBAAgB,CAAC,eAAe,CAAC,GAAG,iBAAU,WAAW,CAAE,CAAC;yBAC/D;;4BAEY,qBAAM,IAAI,CAAC,OAAO,CAAC;4BAChC,IAAI,EAAE,+CAA+C,CAAC,OAAO,CAAC,WAAI,aAAa,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC;4BAC9I,MAAM,EAAE,KAAK;4BACb,OAAO,EAAE,gBAAgB;4BACzB,KAAK,EAAE,eAAe;yBACzB,EAAE,aAAa,CAAC,EAAA;;wBALX,QAAQ,GAAG,SAKA;wBAEjB,sBAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,UAAC,SAAS,IAAK,OAAA,IAAA,gCAAuB,EAAC,SAAS,CAAC,EAAlC,CAAkC,CAAC,EAAC;;;;KACnG;IAED;;OAEG;IACG,8CAAyB,GAA/B,UAAgC,iBAAmD,EAAE,aAA0D;;;;;4BAC1H,qBAAM,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,aAAa,CAAC,EAAA;;wBAApF,QAAQ,GAAG,SAAyE;wBACnF,qBAAM,QAAQ,CAAC,KAAK,EAAE,EAAA;4BAA7B,sBAAO,SAAsB,EAAC;;;;KACjC;IAEL,iBAAC;AAAD,CAAC,AAhFD,CAAgC,OAAO,CAAC,OAAO,GAgF9C;AAhFY,gCAAU"}
@@ -10,58 +10,55 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BookmarksResponse, ListTweetsTimelineResponse, TimelineResponse, TweetDetailResponse, UserTweetsResponse } from '../models';
13
+ import type { BookmarksResponse, ListLatestTweetsTimelineResponse, SearchTimelineResponse, TimelineResponse, TweetDetailResponse, UserTweetsResponse } from '../models';
14
14
  export interface GetBookmarksRequest {
15
15
  pathQueryId: string;
16
- queryId: string;
17
16
  variables: string;
18
17
  features: string;
19
18
  }
20
19
  export interface GetHomeLatestTimelineRequest {
21
20
  pathQueryId: string;
22
- queryId: string;
23
21
  variables: string;
24
22
  features: string;
25
23
  }
26
24
  export interface GetHomeTimelineRequest {
27
25
  pathQueryId: string;
28
- queryId: string;
29
26
  variables: string;
30
27
  features: string;
31
28
  }
32
29
  export interface GetLikesRequest {
33
30
  pathQueryId: string;
34
- queryId: string;
35
31
  variables: string;
36
32
  features: string;
37
33
  }
38
34
  export interface GetListLatestTweetsTimelineRequest {
39
35
  pathQueryId: string;
40
- queryId: string;
41
36
  variables: string;
42
37
  features: string;
43
38
  }
39
+ export interface GetSearchTimelineRequest {
40
+ pathQueryId: string;
41
+ variables: string;
42
+ features: string;
43
+ fieldToggles: string;
44
+ }
44
45
  export interface GetTweetDetailRequest {
45
46
  pathQueryId: string;
46
- queryId: string;
47
47
  variables: string;
48
48
  features: string;
49
49
  }
50
50
  export interface GetUserMediaRequest {
51
51
  pathQueryId: string;
52
- queryId: string;
53
52
  variables: string;
54
53
  features: string;
55
54
  }
56
55
  export interface GetUserTweetsRequest {
57
56
  pathQueryId: string;
58
- queryId: string;
59
57
  variables: string;
60
58
  features: string;
61
59
  }
62
60
  export interface GetUserTweetsAndRepliesRequest {
63
61
  pathQueryId: string;
64
- queryId: string;
65
62
  variables: string;
66
63
  features: string;
67
64
  }
@@ -104,11 +101,19 @@ export declare class TweetApi extends runtime.BaseAPI {
104
101
  /**
105
102
  * get tweet list of timeline
106
103
  */
107
- getListLatestTweetsTimelineRaw(requestParameters: GetListLatestTweetsTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListTweetsTimelineResponse>>;
104
+ getListLatestTweetsTimelineRaw(requestParameters: GetListLatestTweetsTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListLatestTweetsTimelineResponse>>;
108
105
  /**
109
106
  * get tweet list of timeline
110
107
  */
111
- getListLatestTweetsTimeline(requestParameters: GetListLatestTweetsTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListTweetsTimelineResponse>;
108
+ getListLatestTweetsTimeline(requestParameters: GetListLatestTweetsTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListLatestTweetsTimelineResponse>;
109
+ /**
110
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
111
+ */
112
+ getSearchTimelineRaw(requestParameters: GetSearchTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SearchTimelineResponse>>;
113
+ /**
114
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
115
+ */
116
+ getSearchTimeline(requestParameters: GetSearchTimelineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchTimelineResponse>;
112
117
  /**
113
118
  * get TweetDetail
114
119
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TweetApi.d.ts","sourceRoot":"","sources":["../../src/apis/TweetApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAcnB,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,4BAA4B;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACnC,WAA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,CAAC;IAmEjM;;OAEG;IACG,uBAAuB,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAK5K"}
@@ -87,9 +87,6 @@ var TweetApi = /** @class */ (function (_super) {
87
87
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
88
88
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getBookmarks.');
89
89
  }
90
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
91
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getBookmarks.');
92
- }
93
90
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
94
91
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getBookmarks.');
95
92
  }
@@ -97,9 +94,6 @@ var TweetApi = /** @class */ (function (_super) {
97
94
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getBookmarks.');
98
95
  }
99
96
  queryParameters = {};
100
- if (requestParameters.queryId !== undefined) {
101
- queryParameters['queryId'] = requestParameters.queryId;
102
- }
103
97
  if (requestParameters.variables !== undefined) {
104
98
  queryParameters['variables'] = requestParameters.variables;
105
99
  }
@@ -176,9 +170,6 @@ var TweetApi = /** @class */ (function (_super) {
176
170
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
177
171
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getHomeLatestTimeline.');
178
172
  }
179
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
180
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getHomeLatestTimeline.');
181
- }
182
173
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
183
174
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getHomeLatestTimeline.');
184
175
  }
@@ -186,9 +177,6 @@ var TweetApi = /** @class */ (function (_super) {
186
177
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getHomeLatestTimeline.');
187
178
  }
188
179
  queryParameters = {};
189
- if (requestParameters.queryId !== undefined) {
190
- queryParameters['queryId'] = requestParameters.queryId;
191
- }
192
180
  if (requestParameters.variables !== undefined) {
193
181
  queryParameters['variables'] = requestParameters.variables;
194
182
  }
@@ -265,9 +253,6 @@ var TweetApi = /** @class */ (function (_super) {
265
253
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
266
254
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getHomeTimeline.');
267
255
  }
268
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
269
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getHomeTimeline.');
270
- }
271
256
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
272
257
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getHomeTimeline.');
273
258
  }
@@ -275,9 +260,6 @@ var TweetApi = /** @class */ (function (_super) {
275
260
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getHomeTimeline.');
276
261
  }
277
262
  queryParameters = {};
278
- if (requestParameters.queryId !== undefined) {
279
- queryParameters['queryId'] = requestParameters.queryId;
280
- }
281
263
  if (requestParameters.variables !== undefined) {
282
264
  queryParameters['variables'] = requestParameters.variables;
283
265
  }
@@ -354,9 +336,6 @@ var TweetApi = /** @class */ (function (_super) {
354
336
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
355
337
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getLikes.');
356
338
  }
357
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
358
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getLikes.');
359
- }
360
339
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
361
340
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getLikes.');
362
341
  }
@@ -364,9 +343,6 @@ var TweetApi = /** @class */ (function (_super) {
364
343
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getLikes.');
365
344
  }
366
345
  queryParameters = {};
367
- if (requestParameters.queryId !== undefined) {
368
- queryParameters['queryId'] = requestParameters.queryId;
369
- }
370
346
  if (requestParameters.variables !== undefined) {
371
347
  queryParameters['variables'] = requestParameters.variables;
372
348
  }
@@ -443,9 +419,6 @@ var TweetApi = /** @class */ (function (_super) {
443
419
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
444
420
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getListLatestTweetsTimeline.');
445
421
  }
446
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
447
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getListLatestTweetsTimeline.');
448
- }
449
422
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
450
423
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getListLatestTweetsTimeline.');
451
424
  }
@@ -453,9 +426,6 @@ var TweetApi = /** @class */ (function (_super) {
453
426
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getListLatestTweetsTimeline.');
454
427
  }
455
428
  queryParameters = {};
456
- if (requestParameters.queryId !== undefined) {
457
- queryParameters['queryId'] = requestParameters.queryId;
458
- }
459
429
  if (requestParameters.variables !== undefined) {
460
430
  queryParameters['variables'] = requestParameters.variables;
461
431
  }
@@ -498,7 +468,7 @@ var TweetApi = /** @class */ (function (_super) {
498
468
  }, initOverrides)];
499
469
  case 3:
500
470
  response = _a.sent();
501
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.ListTweetsTimelineResponseFromJSON)(jsonValue); })];
471
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.ListLatestTweetsTimelineResponseFromJSON)(jsonValue); })];
502
472
  }
503
473
  });
504
474
  });
@@ -520,6 +490,95 @@ var TweetApi = /** @class */ (function (_super) {
520
490
  });
521
491
  });
522
492
  };
493
+ /**
494
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
495
+ */
496
+ TweetApi.prototype.getSearchTimelineRaw = function (requestParameters, initOverrides) {
497
+ return __awaiter(this, void 0, void 0, function () {
498
+ var queryParameters, headerParameters, token, tokenString, response;
499
+ return __generator(this, function (_a) {
500
+ switch (_a.label) {
501
+ case 0:
502
+ if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
503
+ throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getSearchTimeline.');
504
+ }
505
+ if (requestParameters.variables === null || requestParameters.variables === undefined) {
506
+ throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getSearchTimeline.');
507
+ }
508
+ if (requestParameters.features === null || requestParameters.features === undefined) {
509
+ throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getSearchTimeline.');
510
+ }
511
+ if (requestParameters.fieldToggles === null || requestParameters.fieldToggles === undefined) {
512
+ throw new runtime.RequiredError('fieldToggles', 'Required parameter requestParameters.fieldToggles was null or undefined when calling getSearchTimeline.');
513
+ }
514
+ queryParameters = {};
515
+ if (requestParameters.variables !== undefined) {
516
+ queryParameters['variables'] = requestParameters.variables;
517
+ }
518
+ if (requestParameters.features !== undefined) {
519
+ queryParameters['features'] = requestParameters.features;
520
+ }
521
+ if (requestParameters.fieldToggles !== undefined) {
522
+ queryParameters['fieldToggles'] = requestParameters.fieldToggles;
523
+ }
524
+ headerParameters = {};
525
+ if (this.configuration && this.configuration.apiKey) {
526
+ headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
527
+ }
528
+ if (this.configuration && this.configuration.apiKey) {
529
+ headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
530
+ }
531
+ if (this.configuration && this.configuration.apiKey) {
532
+ headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
533
+ }
534
+ if (this.configuration && this.configuration.apiKey) {
535
+ headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
536
+ }
537
+ if (this.configuration && this.configuration.apiKey) {
538
+ headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
539
+ }
540
+ if (this.configuration && this.configuration.apiKey) {
541
+ headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
542
+ }
543
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
544
+ token = this.configuration.accessToken;
545
+ return [4 /*yield*/, token("BearerAuth", [])];
546
+ case 1:
547
+ tokenString = _a.sent();
548
+ if (tokenString) {
549
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
550
+ }
551
+ _a.label = 2;
552
+ case 2: return [4 /*yield*/, this.request({
553
+ path: "/graphql/{pathQueryId}/SearchTimeline".replace("{".concat("pathQueryId", "}"), encodeURIComponent(String(requestParameters.pathQueryId))),
554
+ method: 'GET',
555
+ headers: headerParameters,
556
+ query: queryParameters,
557
+ }, initOverrides)];
558
+ case 3:
559
+ response = _a.sent();
560
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SearchTimelineResponseFromJSON)(jsonValue); })];
561
+ }
562
+ });
563
+ });
564
+ };
565
+ /**
566
+ * search tweet list. product:[Top, Latest, People, Photos, Videos]
567
+ */
568
+ TweetApi.prototype.getSearchTimeline = function (requestParameters, initOverrides) {
569
+ return __awaiter(this, void 0, void 0, function () {
570
+ var response;
571
+ return __generator(this, function (_a) {
572
+ switch (_a.label) {
573
+ case 0: return [4 /*yield*/, this.getSearchTimelineRaw(requestParameters, initOverrides)];
574
+ case 1:
575
+ response = _a.sent();
576
+ return [4 /*yield*/, response.value()];
577
+ case 2: return [2 /*return*/, _a.sent()];
578
+ }
579
+ });
580
+ });
581
+ };
523
582
  /**
524
583
  * get TweetDetail
525
584
  */
@@ -532,9 +591,6 @@ var TweetApi = /** @class */ (function (_super) {
532
591
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
533
592
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getTweetDetail.');
534
593
  }
535
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
536
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getTweetDetail.');
537
- }
538
594
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
539
595
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getTweetDetail.');
540
596
  }
@@ -542,9 +598,6 @@ var TweetApi = /** @class */ (function (_super) {
542
598
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getTweetDetail.');
543
599
  }
544
600
  queryParameters = {};
545
- if (requestParameters.queryId !== undefined) {
546
- queryParameters['queryId'] = requestParameters.queryId;
547
- }
548
601
  if (requestParameters.variables !== undefined) {
549
602
  queryParameters['variables'] = requestParameters.variables;
550
603
  }
@@ -621,9 +674,6 @@ var TweetApi = /** @class */ (function (_super) {
621
674
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
622
675
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getUserMedia.');
623
676
  }
624
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
625
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getUserMedia.');
626
- }
627
677
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
628
678
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getUserMedia.');
629
679
  }
@@ -631,9 +681,6 @@ var TweetApi = /** @class */ (function (_super) {
631
681
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getUserMedia.');
632
682
  }
633
683
  queryParameters = {};
634
- if (requestParameters.queryId !== undefined) {
635
- queryParameters['queryId'] = requestParameters.queryId;
636
- }
637
684
  if (requestParameters.variables !== undefined) {
638
685
  queryParameters['variables'] = requestParameters.variables;
639
686
  }
@@ -710,9 +757,6 @@ var TweetApi = /** @class */ (function (_super) {
710
757
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
711
758
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getUserTweets.');
712
759
  }
713
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
714
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getUserTweets.');
715
- }
716
760
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
717
761
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getUserTweets.');
718
762
  }
@@ -720,9 +764,6 @@ var TweetApi = /** @class */ (function (_super) {
720
764
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getUserTweets.');
721
765
  }
722
766
  queryParameters = {};
723
- if (requestParameters.queryId !== undefined) {
724
- queryParameters['queryId'] = requestParameters.queryId;
725
- }
726
767
  if (requestParameters.variables !== undefined) {
727
768
  queryParameters['variables'] = requestParameters.variables;
728
769
  }
@@ -799,9 +840,6 @@ var TweetApi = /** @class */ (function (_super) {
799
840
  if (requestParameters.pathQueryId === null || requestParameters.pathQueryId === undefined) {
800
841
  throw new runtime.RequiredError('pathQueryId', 'Required parameter requestParameters.pathQueryId was null or undefined when calling getUserTweetsAndReplies.');
801
842
  }
802
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
803
- throw new runtime.RequiredError('queryId', 'Required parameter requestParameters.queryId was null or undefined when calling getUserTweetsAndReplies.');
804
- }
805
843
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
806
844
  throw new runtime.RequiredError('variables', 'Required parameter requestParameters.variables was null or undefined when calling getUserTweetsAndReplies.');
807
845
  }
@@ -809,9 +847,6 @@ var TweetApi = /** @class */ (function (_super) {
809
847
  throw new runtime.RequiredError('features', 'Required parameter requestParameters.features was null or undefined when calling getUserTweetsAndReplies.');
810
848
  }
811
849
  queryParameters = {};
812
- if (requestParameters.queryId !== undefined) {
813
- queryParameters['queryId'] = requestParameters.queryId;
814
- }
815
850
  if (requestParameters.variables !== undefined) {
816
851
  queryParameters['variables'] = requestParameters.variables;
817
852
  }