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
@@ -1,308 +0,0 @@
1
- components:
2
- schemas:
3
- Entities:
4
- properties:
5
- hashtags:
6
- items:
7
- $ref: '#/components/schemas/Hashtag'
8
- type: array
9
- media:
10
- items:
11
- $ref: '#/components/schemas/Media'
12
- type: array
13
- symbols:
14
- items:
15
- $ref: '#/components/schemas/Symbol'
16
- type: array
17
- urls:
18
- items:
19
- $ref: '#/components/schemas/Url'
20
- type: array
21
- user_mentions:
22
- items:
23
- $ref: '#/components/schemas/UserMention'
24
- type: array
25
- required:
26
- - hashtags
27
- - symbols
28
- - user_mentions
29
- - urls
30
- ExtendedEntities:
31
- properties:
32
- media:
33
- items:
34
- $ref: '#/components/schemas/Media'
35
- type: array
36
- required:
37
- - media
38
- Hashtag:
39
- type: object
40
- Media:
41
- properties:
42
- display_url:
43
- format: uri
44
- type: string
45
- expanded_url:
46
- format: uri
47
- type: string
48
- ext_media_availability:
49
- type: object
50
- id_str:
51
- pattern: ^[0-9]+$
52
- type: string
53
- indices:
54
- items:
55
- type: integer
56
- type: array
57
- media_key:
58
- pattern: ^[0-9]+_[0-9]+$
59
- type: string
60
- media_url_https:
61
- format: uri
62
- type: string
63
- original_info:
64
- properties:
65
- focus_rects:
66
- items:
67
- type: object
68
- type: array
69
- height:
70
- type: integer
71
- width:
72
- type: integer
73
- type: object
74
- sizes:
75
- type: object
76
- type:
77
- type: string
78
- url:
79
- format: uri
80
- type: string
81
- required:
82
- - id_str
83
- - indices
84
- - media_url_https
85
- - url
86
- - display_url
87
- - expanded_url
88
- - type
89
- - sizes
90
- - original_info
91
- Symbol:
92
- type: object
93
- Tweet:
94
- properties:
95
- __typename:
96
- $ref: ./typename.yaml#/components/schemas/TypeName
97
- card:
98
- properties:
99
- legacy:
100
- properties:
101
- binding_values:
102
- items:
103
- properties:
104
- key:
105
- type: string
106
- value:
107
- properties:
108
- boolean_value:
109
- type: boolean
110
- scribe_key:
111
- type: string
112
- string_value:
113
- type: string
114
- type:
115
- type: string
116
- required:
117
- - type
118
- type: object
119
- required:
120
- - key
121
- - value
122
- type: object
123
- type: array
124
- name:
125
- type: string
126
- url:
127
- type: string
128
- required:
129
- - binding_values
130
- - name
131
- - url
132
- type: object
133
- rest_id:
134
- type: string
135
- type: object
136
- core:
137
- $ref: ./user.yaml#/components/schemas/UserResultCore
138
- edit_control:
139
- properties:
140
- edit_tweet_ids:
141
- items:
142
- pattern: ^[0-9]+$
143
- type: string
144
- type: array
145
- editable_until_msecs:
146
- pattern: ^[0-9]+$
147
- type: string
148
- edits_remaining:
149
- pattern: ^[0-9]+$
150
- type: string
151
- is_edit_eligible:
152
- type: boolean
153
- type: object
154
- edit_prespective:
155
- properties:
156
- favorited:
157
- type: boolean
158
- retweeted:
159
- type: boolean
160
- type: object
161
- is_translatable:
162
- default: false
163
- type: boolean
164
- legacy:
165
- $ref: '#/components/schemas/TweetLegacy'
166
- quoted_status_result:
167
- $ref: ./content.yaml#/components/schemas/ItemResult
168
- rest_id:
169
- pattern: ^[0-9]+$
170
- type: string
171
- unmention_data:
172
- type: object
173
- views:
174
- properties:
175
- count:
176
- pattern: ^[0-9]+$
177
- type: string
178
- state:
179
- type: string
180
- type: object
181
- required:
182
- - rest_id
183
- - core
184
- - edit_control
185
- - edit_prespective
186
- - is_translatable
187
- - legacy
188
- - views
189
- TweetLegacy:
190
- properties:
191
- bookmark_count:
192
- type: integer
193
- bookmarked:
194
- type: boolean
195
- conversation_id_str:
196
- pattern: ^[0-9]+$
197
- type: string
198
- created_at:
199
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
200
- display_text_range:
201
- items:
202
- type: integer
203
- type: array
204
- entities:
205
- $ref: '#/components/schemas/Entities'
206
- extended_entities:
207
- $ref: '#/components/schemas/ExtendedEntities'
208
- favorite_count:
209
- type: integer
210
- favorited:
211
- type: boolean
212
- full_text:
213
- type: string
214
- id_str:
215
- pattern: ^[0-9]+$
216
- type: string
217
- is_quote_status:
218
- type: boolean
219
- lang:
220
- type: string
221
- possibly_sensitive:
222
- default: false
223
- type: boolean
224
- possibly_sensitive_editable:
225
- default: false
226
- type: boolean
227
- quote_count:
228
- type: integer
229
- reply_count:
230
- type: integer
231
- retweet_count:
232
- type: integer
233
- retweeted:
234
- type: boolean
235
- retweeted_status_result:
236
- $ref: ./content.yaml#/components/schemas/ItemResult
237
- user_id_str:
238
- pattern: ^[0-9]+$
239
- type: string
240
- required:
241
- - bookmark_count
242
- - bookmarked
243
- - conversation_id_str
244
- - created_at
245
- - display_text_range
246
- - entities
247
- - favorite_count
248
- - favorited
249
- - full_text
250
- - is_quote_status
251
- - lang
252
- - quote_count
253
- - reply_count
254
- - retweet_count
255
- - retweeted
256
- - user_id_str
257
- - id_str
258
- TweetTombstone:
259
- properties:
260
- __typename:
261
- $ref: ./typename.yaml#/components/schemas/TypeName
262
- TweetUnion:
263
- discriminator:
264
- mapping":
265
- Tweet: '#/components/schemas/Tweet'
266
- TweetTombstone: '#/components/schemas/TweetTombstone'
267
- TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
268
- propertyName: __typename
269
- oneOf:
270
- - $ref: '#/components/schemas/Tweet'
271
- - $ref: '#/components/schemas/TweetWithVisibilityResults'
272
- - $ref: '#/components/schemas/TweetTombstone'
273
- TweetWithVisibilityResults:
274
- properties:
275
- __typename:
276
- $ref: ./typename.yaml#/components/schemas/TypeName
277
- tweet:
278
- $ref: '#/components/schemas/Tweet'
279
- required:
280
- - __typename
281
- - tweet
282
- Url:
283
- properties:
284
- display_url:
285
- type: string
286
- expanded_url:
287
- format: uri
288
- type: string
289
- indices:
290
- items:
291
- type: integer
292
- type: array
293
- url:
294
- format: uri
295
- type: string
296
- required:
297
- - url
298
- - indices
299
- - expanded_url
300
- - display_url
301
- type: object
302
- UserMention:
303
- type: object
304
- info:
305
- title: Twitter OpenAPI
306
- version: 0.0.1
307
- openapi: 3.0.3
308
- paths: {}
@@ -1,19 +0,0 @@
1
- components:
2
- schemas:
3
- TypeName:
4
- enum:
5
- - TimelineTweet
6
- - TimelineTimelineItem
7
- - TimelineUser
8
- - TimelineTimelineCursor
9
- - TweetWithVisibilityResults
10
- - TimelineTimelineModule
11
- - TweetTombstone
12
- - Tweet
13
- - User
14
- type: string
15
- info:
16
- title: Twitter OpenAPI
17
- version: 0.0.1
18
- openapi: 3.0.3
19
- paths: {}
@@ -1,206 +0,0 @@
1
- components:
2
- schemas:
3
- User:
4
- properties:
5
- __typename:
6
- $ref: ./typename.yaml#/components/schemas/TypeName
7
- affiliates_highlighted_label:
8
- type: object
9
- business_account:
10
- type: object
11
- has_graduated_access:
12
- type: boolean
13
- has_nft_avatar:
14
- default: false
15
- type: boolean
16
- id:
17
- pattern: ^[a-z\-]+[0-9]+$
18
- type: string
19
- is_blue_verified:
20
- default: false
21
- type: boolean
22
- legacy:
23
- $ref: '#/components/schemas/UserLegacy'
24
- rest_id:
25
- pattern: ^[0-9]+$
26
- type: string
27
- super_follow_eligible:
28
- default: false
29
- type: boolean
30
- super_followed_by:
31
- default: false
32
- type: boolean
33
- super_following:
34
- default: false
35
- type: boolean
36
- required:
37
- - __typename
38
- - affiliates_highlighted_label
39
- - id
40
- - is_blue_verified
41
- - legacy
42
- - rest_id
43
- - super_follow_eligible
44
- - super_followed_by
45
- - super_following
46
- UserLegacy:
47
- properties:
48
- blocked_by:
49
- default: false
50
- type: boolean
51
- blocking:
52
- default: false
53
- type: boolean
54
- can_dm:
55
- default: false
56
- type: boolean
57
- can_media_tag:
58
- default: false
59
- type: boolean
60
- created_at:
61
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
62
- default_profile:
63
- default: false
64
- type: boolean
65
- default_profile_image:
66
- default: false
67
- type: boolean
68
- description:
69
- type: string
70
- entities:
71
- type: object
72
- fast_followers_count:
73
- type: integer
74
- favourites_count:
75
- default: 0
76
- type: integer
77
- follow_request_sent:
78
- default: false
79
- type: boolean
80
- followed_by:
81
- default: false
82
- type: boolean
83
- followers_count:
84
- default: 0
85
- type: integer
86
- following:
87
- default: false
88
- type: boolean
89
- friends_count:
90
- default: 0
91
- type: integer
92
- has_custom_timelines:
93
- default: false
94
- type: boolean
95
- is_translator:
96
- default: false
97
- type: boolean
98
- listed_count:
99
- default: 0
100
- type: integer
101
- location:
102
- type: string
103
- media_count:
104
- default: 0
105
- type: integer
106
- muting:
107
- default: false
108
- type: boolean
109
- name:
110
- type: string
111
- normal_followers_count:
112
- default: 0
113
- type: integer
114
- notifications:
115
- default: false
116
- type: boolean
117
- pinned_tweet_ids_str:
118
- items:
119
- type: string
120
- type: array
121
- possibly_sensitive:
122
- default: false
123
- type: boolean
124
- profile_banner_extensions:
125
- type: object
126
- profile_banner_url:
127
- format: uri
128
- type: string
129
- profile_image_extensions:
130
- type: object
131
- profile_image_url_https:
132
- format: uri
133
- type: string
134
- profile_interstitial_type:
135
- type: string
136
- protected:
137
- default: false
138
- type: boolean
139
- screen_name:
140
- type: string
141
- statuses_count:
142
- default: 0
143
- type: integer
144
- translator_type:
145
- type: string
146
- url:
147
- type: string
148
- verified:
149
- type: boolean
150
- want_retweets:
151
- default: false
152
- type: boolean
153
- required:
154
- - blocked_by
155
- - blocking
156
- - can_dm
157
- - can_media_tag
158
- - created_at
159
- - default_profile
160
- - default_profile_image
161
- - description
162
- - entities
163
- - fast_followers_count
164
- - favourites_count
165
- - follow_request_sent
166
- - followed_by
167
- - followers_count
168
- - following
169
- - friends_count
170
- - has_custom_timelines
171
- - is_translator
172
- - listed_count
173
- - location
174
- - media_count
175
- - muting
176
- - name
177
- - normal_followers_count
178
- - notifications
179
- - pinned_tweet_ids_str
180
- - possibly_sensitive
181
- - profile_image_url_https
182
- - profile_interstitial_type
183
- - protected
184
- - screen_name
185
- - status
186
- - statuses_count
187
- - translator_type
188
- - verified
189
- - want_retweets
190
- UserResultCore:
191
- properties:
192
- user_results:
193
- $ref: '#/components/schemas/UserResults'
194
- required:
195
- - user_results
196
- UserResults:
197
- properties:
198
- result:
199
- $ref: '#/components/schemas/User'
200
- required:
201
- - result
202
- info:
203
- title: Twitter OpenAPI
204
- version: 0.0.1
205
- openapi: 3.0.3
206
- paths: {}