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
@@ -12,60 +12,148 @@ components:
12
12
  $ref: ./../schemas/user.yaml#/components/schemas/UserResults
13
13
  required:
14
14
  - user
15
+ UsersResponse:
16
+ properties:
17
+ data:
18
+ $ref: '#/components/schemas/UsersResponseData'
19
+ required:
20
+ - data
21
+ UsersResponseData:
22
+ properties:
23
+ users:
24
+ items:
25
+ $ref: ./../schemas/user.yaml#/components/schemas/UserResults
26
+ type: array
27
+ required:
28
+ - users
15
29
  info:
16
30
  title: Twitter OpenAPI
17
31
  version: 0.0.1
18
32
  openapi: 3.0.3
19
33
  paths:
20
- /graphql/{pathQueryId}/UserByScreenName:
34
+ /graphql/{pathQueryId}/UserByRestId:
21
35
  get:
22
- description: get user by screen name
23
- operationId: getUserByScreenName
36
+ description: get user by rest id
37
+ operationId: getUserByRestId
24
38
  parameters:
25
39
  - in: path
26
40
  name: pathQueryId
27
41
  required: true
28
42
  schema:
29
- default: sLVLhk0bGj3MVFEKTdax1w
30
- example: sLVLhk0bGj3MVFEKTdax1w
43
+ default: Lxg1V9AiIzzXEiP2c8dRnw
44
+ example: Lxg1V9AiIzzXEiP2c8dRnw
31
45
  type: string
32
46
  - content:
33
47
  application/json:
34
- required:
35
- - s
36
- - L
37
- - V
38
- - L
39
- - h
40
- - k
41
- - '0'
42
- - b
43
- - G
44
- - j
45
- - '3'
46
- - M
47
- - V
48
- - F
49
- - E
50
- - K
51
- - T
52
- - d
53
- - a
54
- - x
55
- - '1'
56
- - w
57
48
  schema:
58
- default: sLVLhk0bGj3MVFEKTdax1w
59
- example: sLVLhk0bGj3MVFEKTdax1w
60
- type: string
49
+ properties:
50
+ userId:
51
+ default: '44196397'
52
+ example: '44196397'
53
+ type: string
54
+ withSafetyModeUserFields:
55
+ default: true
56
+ example: true
57
+ type: boolean
58
+ required:
59
+ - userId
60
+ - withSafetyModeUserFields
61
+ type: object
61
62
  in: query
62
- name: queryId
63
+ name: variables
63
64
  required: true
64
65
  - content:
65
66
  application/json:
66
- required:
67
- - screen_name
68
- - withSafetyModeUserFields
67
+ schema:
68
+ properties:
69
+ creator_subscriptions_tweet_preview_api_enabled:
70
+ default: true
71
+ example: true
72
+ type: boolean
73
+ hidden_profile_likes_enabled:
74
+ default: false
75
+ example: false
76
+ type: boolean
77
+ highlights_tweets_tab_ui_enabled:
78
+ default: true
79
+ example: true
80
+ type: boolean
81
+ responsive_web_graphql_exclude_directive_enabled:
82
+ default: true
83
+ example: true
84
+ type: boolean
85
+ responsive_web_graphql_skip_user_profile_image_extensions_enabled:
86
+ default: false
87
+ example: false
88
+ type: boolean
89
+ responsive_web_graphql_timeline_navigation_enabled:
90
+ default: true
91
+ example: true
92
+ type: boolean
93
+ verified_phone_label_enabled:
94
+ default: false
95
+ example: false
96
+ type: boolean
97
+ required:
98
+ - hidden_profile_likes_enabled
99
+ - responsive_web_graphql_exclude_directive_enabled
100
+ - verified_phone_label_enabled
101
+ - highlights_tweets_tab_ui_enabled
102
+ - creator_subscriptions_tweet_preview_api_enabled
103
+ - responsive_web_graphql_skip_user_profile_image_extensions_enabled
104
+ - responsive_web_graphql_timeline_navigation_enabled
105
+ type: object
106
+ in: query
107
+ name: features
108
+ required: true
109
+ responses:
110
+ '200':
111
+ content:
112
+ application/json:
113
+ schema:
114
+ $ref: '#/components/schemas/UserResponse'
115
+ description: Successful operation
116
+ headers:
117
+ x-connection-hash:
118
+ schema:
119
+ type: string
120
+ x-rate-limit-limit:
121
+ schema:
122
+ type: integer
123
+ x-rate-limit-remaining:
124
+ schema:
125
+ type: integer
126
+ x-rate-limit-reset:
127
+ schema:
128
+ type: integer
129
+ x-response-time:
130
+ schema:
131
+ type: integer
132
+ x-tfe-preserve-body:
133
+ schema:
134
+ type: boolean
135
+ x-transaction-id:
136
+ schema:
137
+ type: string
138
+ x-twitter-response-tags:
139
+ schema:
140
+ type: string
141
+ tags:
142
+ - user
143
+ /graphql/{pathQueryId}/UserByScreenName:
144
+ get:
145
+ description: get user by screen name
146
+ operationId: getUserByScreenName
147
+ parameters:
148
+ - in: path
149
+ name: pathQueryId
150
+ required: true
151
+ schema:
152
+ default: sLVLhk0bGj3MVFEKTdax1w
153
+ example: sLVLhk0bGj3MVFEKTdax1w
154
+ type: string
155
+ - content:
156
+ application/json:
69
157
  schema:
70
158
  properties:
71
159
  screen_name:
@@ -85,12 +173,6 @@ paths:
85
173
  required: true
86
174
  - content:
87
175
  application/json:
88
- required:
89
- - blue_business_profile_image_shape_enabled
90
- - responsive_web_graphql_exclude_directive_enabled
91
- - verified_phone_label_enabled
92
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
93
- - responsive_web_graphql_timeline_navigation_enabled
94
176
  schema:
95
177
  properties:
96
178
  blue_business_profile_image_shape_enabled:
@@ -157,3 +239,94 @@ paths:
157
239
  type: string
158
240
  tags:
159
241
  - user
242
+ /graphql/{pathQueryId}/UsersByRestIds:
243
+ get:
244
+ description: get users by rest ids
245
+ operationId: getUsersByRestIds
246
+ parameters:
247
+ - in: path
248
+ name: pathQueryId
249
+ required: true
250
+ schema:
251
+ default: GD4q8bBE2i6cqWw2iT74Gg
252
+ example: GD4q8bBE2i6cqWw2iT74Gg
253
+ type: string
254
+ - content:
255
+ application/json:
256
+ schema:
257
+ properties:
258
+ userIds:
259
+ items:
260
+ default: '44196397'
261
+ example: '44196397'
262
+ type: string
263
+ type: array
264
+ required:
265
+ - userIds
266
+ type: object
267
+ in: query
268
+ name: variables
269
+ required: true
270
+ - content:
271
+ application/json:
272
+ schema:
273
+ properties:
274
+ responsive_web_graphql_exclude_directive_enabled:
275
+ default: true
276
+ example: true
277
+ type: boolean
278
+ responsive_web_graphql_skip_user_profile_image_extensions_enabled:
279
+ default: false
280
+ example: false
281
+ type: boolean
282
+ responsive_web_graphql_timeline_navigation_enabled:
283
+ default: true
284
+ example: true
285
+ type: boolean
286
+ verified_phone_label_enabled:
287
+ default: false
288
+ example: false
289
+ type: boolean
290
+ required:
291
+ - responsive_web_graphql_exclude_directive_enabled
292
+ - verified_phone_label_enabled
293
+ - responsive_web_graphql_skip_user_profile_image_extensions_enabled
294
+ - responsive_web_graphql_timeline_navigation_enabled
295
+ type: object
296
+ in: query
297
+ name: features
298
+ required: true
299
+ responses:
300
+ '200':
301
+ content:
302
+ application/json:
303
+ schema:
304
+ $ref: '#/components/schemas/UsersResponse'
305
+ description: Successful operation
306
+ headers:
307
+ x-connection-hash:
308
+ schema:
309
+ type: string
310
+ x-rate-limit-limit:
311
+ schema:
312
+ type: integer
313
+ x-rate-limit-remaining:
314
+ schema:
315
+ type: integer
316
+ x-rate-limit-reset:
317
+ schema:
318
+ type: integer
319
+ x-response-time:
320
+ schema:
321
+ type: integer
322
+ x-tfe-preserve-body:
323
+ schema:
324
+ type: boolean
325
+ x-transaction-id:
326
+ schema:
327
+ type: string
328
+ x-twitter-response-tags:
329
+ schema:
330
+ type: string
331
+ tags:
332
+ - user
@@ -46,46 +46,6 @@ paths:
46
46
  type: string
47
47
  - content:
48
48
  application/json:
49
- required:
50
- - '5'
51
- - f
52
- - m
53
- - E
54
- - k
55
- - R
56
- - T
57
- - '-'
58
- - '1'
59
- - A
60
- - d
61
- - H
62
- - q
63
- - E
64
- - s
65
- - b
66
- - V
67
- - g
68
- - e
69
- - h
70
- - M
71
- - g
72
- schema:
73
- default: 5fmEkRT-1AdHqEsbVgehMg
74
- example: 5fmEkRT-1AdHqEsbVgehMg
75
- type: string
76
- in: query
77
- name: queryId
78
- required: true
79
- - content:
80
- application/json:
81
- required:
82
- - userId
83
- - count
84
- - includePromotedContent
85
- - withClientEventToken
86
- - withBirdwatchNotes
87
- - withVoice
88
- - withV2Timeline
89
49
  schema:
90
50
  properties:
91
51
  count:
@@ -130,26 +90,6 @@ paths:
130
90
  required: true
131
91
  - content:
132
92
  application/json:
133
- required:
134
- - blue_business_profile_image_shape_enabled
135
- - responsive_web_graphql_exclude_directive_enabled
136
- - verified_phone_label_enabled
137
- - responsive_web_graphql_timeline_navigation_enabled
138
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
139
- - tweetypie_unmention_optimization_enabled
140
- - vibe_api_enabled
141
- - responsive_web_edit_tweet_api_enabled
142
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
143
- - view_counts_everywhere_api_enabled
144
- - longform_notetweets_consumption_enabled
145
- - tweet_awards_web_tipping_enabled
146
- - freedom_of_speech_not_reach_fetch_enabled
147
- - standardized_nudges_misinfo
148
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
149
- - interactive_text_enabled
150
- - responsive_web_text_conversations_enabled
151
- - longform_notetweets_rich_text_read_enabled
152
- - responsive_web_enhance_cards_enabled
153
93
  schema:
154
94
  properties:
155
95
  blue_business_profile_image_shape_enabled:
@@ -300,46 +240,6 @@ paths:
300
240
  type: string
301
241
  - content:
302
242
  application/json:
303
- required:
304
- - Y
305
- - q
306
- - i
307
- - E
308
- - '3'
309
- - J
310
- - L
311
- - '1'
312
- - K
313
- - N
314
- - g
315
- - f
316
- - '9'
317
- - n
318
- - S
319
- - l
320
- - j
321
- - Y
322
- - d
323
- - x
324
- - a
325
- - A
326
- schema:
327
- default: YqiE3JL1KNgf9nSljYdxaA
328
- example: YqiE3JL1KNgf9nSljYdxaA
329
- type: string
330
- in: query
331
- name: queryId
332
- required: true
333
- - content:
334
- application/json:
335
- required:
336
- - userId
337
- - count
338
- - includePromotedContent
339
- - withClientEventToken
340
- - withBirdwatchNotes
341
- - withVoice
342
- - withV2Timeline
343
243
  schema:
344
244
  properties:
345
245
  count:
@@ -384,26 +284,6 @@ paths:
384
284
  required: true
385
285
  - content:
386
286
  application/json:
387
- required:
388
- - blue_business_profile_image_shape_enabled
389
- - responsive_web_graphql_exclude_directive_enabled
390
- - verified_phone_label_enabled
391
- - responsive_web_graphql_timeline_navigation_enabled
392
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
393
- - tweetypie_unmention_optimization_enabled
394
- - vibe_api_enabled
395
- - responsive_web_edit_tweet_api_enabled
396
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
397
- - view_counts_everywhere_api_enabled
398
- - longform_notetweets_consumption_enabled
399
- - tweet_awards_web_tipping_enabled
400
- - freedom_of_speech_not_reach_fetch_enabled
401
- - standardized_nudges_misinfo
402
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
403
- - interactive_text_enabled
404
- - responsive_web_text_conversations_enabled
405
- - longform_notetweets_rich_text_read_enabled
406
- - responsive_web_enhance_cards_enabled
407
287
  schema:
408
288
  properties:
409
289
  blue_business_profile_image_shape_enabled:
@@ -554,45 +434,6 @@ paths:
554
434
  type: string
555
435
  - content:
556
436
  application/json:
557
- required:
558
- - H
559
- - u
560
- - T
561
- - x
562
- - '7'
563
- - '4'
564
- - B
565
- - x
566
- - A
567
- - n
568
- - e
569
- - z
570
- - K
571
- - '1'
572
- - g
573
- - W
574
- - v
575
- - Y
576
- - Y
577
- - '7'
578
- - z
579
- - g
580
- schema:
581
- default: HuTx74BxAnezK1gWvYY7zg
582
- example: HuTx74BxAnezK1gWvYY7zg
583
- type: string
584
- in: query
585
- name: queryId
586
- required: true
587
- - content:
588
- application/json:
589
- required:
590
- - userId
591
- - count
592
- - includePromotedContent
593
- - withQuickPromoteEligibilityTweetFields
594
- - withVoice
595
- - withV2Timeline
596
437
  schema:
597
438
  properties:
598
439
  count:
@@ -632,26 +473,6 @@ paths:
632
473
  required: true
633
474
  - content:
634
475
  application/json:
635
- required:
636
- - blue_business_profile_image_shape_enabled
637
- - responsive_web_graphql_exclude_directive_enabled
638
- - verified_phone_label_enabled
639
- - responsive_web_graphql_timeline_navigation_enabled
640
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
641
- - tweetypie_unmention_optimization_enabled
642
- - vibe_api_enabled
643
- - responsive_web_edit_tweet_api_enabled
644
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
645
- - view_counts_everywhere_api_enabled
646
- - longform_notetweets_consumption_enabled
647
- - tweet_awards_web_tipping_enabled
648
- - freedom_of_speech_not_reach_fetch_enabled
649
- - standardized_nudges_misinfo
650
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
651
- - interactive_text_enabled
652
- - responsive_web_text_conversations_enabled
653
- - longform_notetweets_rich_text_read_enabled
654
- - responsive_web_enhance_cards_enabled
655
476
  schema:
656
477
  properties:
657
478
  blue_business_profile_image_shape_enabled:
@@ -802,45 +623,6 @@ paths:
802
623
  type: string
803
624
  - content:
804
625
  application/json:
805
- required:
806
- - R
807
- - I
808
- - W
809
- - c
810
- - '5'
811
- - '5'
812
- - Y
813
- - C
814
- - N
815
- - y
816
- - U
817
- - J
818
- - '-'
819
- - U
820
- - '3'
821
- - H
822
- - H
823
- - G
824
- - Y
825
- - k
826
- - d
827
- - g
828
- schema:
829
- default: RIWc55YCNyUJ-U3HHGYkdg
830
- example: RIWc55YCNyUJ-U3HHGYkdg
831
- type: string
832
- in: query
833
- name: queryId
834
- required: true
835
- - content:
836
- application/json:
837
- required:
838
- - userId
839
- - count
840
- - includePromotedContent
841
- - withCommunity
842
- - withVoice
843
- - withV2Timeline
844
626
  schema:
845
627
  properties:
846
628
  count:
@@ -880,26 +662,6 @@ paths:
880
662
  required: true
881
663
  - content:
882
664
  application/json:
883
- required:
884
- - blue_business_profile_image_shape_enabled
885
- - responsive_web_graphql_exclude_directive_enabled
886
- - verified_phone_label_enabled
887
- - responsive_web_graphql_timeline_navigation_enabled
888
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
889
- - tweetypie_unmention_optimization_enabled
890
- - vibe_api_enabled
891
- - responsive_web_edit_tweet_api_enabled
892
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
893
- - view_counts_everywhere_api_enabled
894
- - longform_notetweets_consumption_enabled
895
- - tweet_awards_web_tipping_enabled
896
- - freedom_of_speech_not_reach_fetch_enabled
897
- - standardized_nudges_misinfo
898
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
899
- - interactive_text_enabled
900
- - responsive_web_text_conversations_enabled
901
- - longform_notetweets_rich_text_read_enabled
902
- - responsive_web_enhance_cards_enabled
903
665
  schema:
904
666
  properties:
905
667
  blue_business_profile_image_shape_enabled:
@@ -11,6 +11,8 @@ components:
11
11
  - TimelineTweet
12
12
  - TimelineTimelineCursor
13
13
  - TimelineUser
14
+ - TimelinePrompt
15
+ - TimelineMessagePrompt
14
16
  type: string
15
17
  ContentUnion:
16
18
  discriminator:
@@ -26,6 +28,8 @@ components:
26
28
  ItemContentUnion:
27
29
  discriminator:
28
30
  mapping":
31
+ TimelineMessagePrompt: '#/components/schemas/TimelineMessagePrompt'
32
+ TimelinePrompt: '#/components/schemas/TimelinePrompt'
29
33
  TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
30
34
  TimelineTweet: '#/components/schemas/TimelineTweet'
31
35
  TimelineUser: '#/components/schemas/TimelineUser'
@@ -34,6 +38,8 @@ components:
34
38
  - $ref: '#/components/schemas/TimelineTweet'
35
39
  - $ref: '#/components/schemas/TimelineTimelineCursor'
36
40
  - $ref: '#/components/schemas/TimelineUser'
41
+ - $ref: '#/components/schemas/TimelinePrompt'
42
+ - $ref: '#/components/schemas/TimelineMessagePrompt'
37
43
  ItemResult:
38
44
  properties:
39
45
  __typename:
@@ -70,6 +76,14 @@ components:
70
76
  type:
71
77
  type: string
72
78
  type: object
79
+ TimelineMessagePrompt:
80
+ properties:
81
+ __typename:
82
+ $ref: ./typename.yaml#/components/schemas/TypeName
83
+ TimelinePrompt:
84
+ properties:
85
+ __typename:
86
+ $ref: ./typename.yaml#/components/schemas/TypeName
73
87
  TimelineTimelineCursor:
74
88
  properties:
75
89
  __typename: