twitter-openapi-typescript-generated 0.0.10 → 0.0.11

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 (324) hide show
  1. package/.openapi-generator/FILES +24 -4
  2. package/LICENSE +31 -0
  3. package/{LICENSE.txt → LICENSE.AGPL} +661 -661
  4. package/README.md +2 -2
  5. package/dist/apis/DefaultApi.js +1 -1
  6. package/dist/apis/OtherApi.js +1 -1
  7. package/dist/apis/PostApi.js +1 -1
  8. package/dist/apis/TweetApi.js +1 -1
  9. package/dist/apis/UserApi.js +1 -1
  10. package/dist/apis/UserListApi.js +1 -1
  11. package/dist/apis/UsersApi.js +1 -1
  12. package/dist/apis/V11GetApi.js +1 -1
  13. package/dist/apis/V11PostApi.js +1 -1
  14. package/dist/apis/V20GetApi.js +1 -1
  15. package/dist/models/AdditionalMediaInfo.d.ts +32 -0
  16. package/dist/models/AdditionalMediaInfo.d.ts.map +1 -0
  17. package/dist/models/AdditionalMediaInfo.js +51 -0
  18. package/dist/models/AdditionalMediaInfo.js.map +1 -0
  19. package/dist/models/Callback.d.ts +32 -0
  20. package/dist/models/Callback.d.ts.map +1 -0
  21. package/dist/models/Callback.js +51 -0
  22. package/dist/models/Callback.js.map +1 -0
  23. package/dist/models/ClientEventInfo.d.ts +46 -0
  24. package/dist/models/ClientEventInfo.d.ts.map +1 -0
  25. package/dist/models/ClientEventInfo.js +55 -0
  26. package/dist/models/ClientEventInfo.js.map +1 -0
  27. package/dist/models/ContentEntryType.d.ts +1 -1
  28. package/dist/models/ContentEntryType.d.ts.map +1 -1
  29. package/dist/models/ContentItemType.d.ts +1 -1
  30. package/dist/models/ContentItemType.d.ts.map +1 -1
  31. package/dist/models/ContentUnion.d.ts +1 -1
  32. package/dist/models/ContentUnion.d.ts.map +1 -1
  33. package/dist/models/CoverCta.d.ts +66 -0
  34. package/dist/models/CoverCta.d.ts.map +1 -0
  35. package/dist/models/CoverCta.js +72 -0
  36. package/dist/models/CoverCta.js.map +1 -0
  37. package/dist/models/CtaClientEventInfo.d.ts +39 -0
  38. package/dist/models/CtaClientEventInfo.d.ts.map +1 -0
  39. package/dist/models/CtaClientEventInfo.js +57 -0
  40. package/dist/models/CtaClientEventInfo.js.map +1 -0
  41. package/dist/models/CursorType.d.ts +1 -1
  42. package/dist/models/CursorType.d.ts.map +1 -1
  43. package/dist/models/ExtMediaAvailability.d.ts +39 -0
  44. package/dist/models/ExtMediaAvailability.d.ts.map +1 -0
  45. package/dist/models/ExtMediaAvailability.js +57 -0
  46. package/dist/models/ExtMediaAvailability.js.map +1 -0
  47. package/dist/models/ExtendedEntities.d.ts +3 -3
  48. package/dist/models/ExtendedEntities.d.ts.map +1 -1
  49. package/dist/models/ExtendedEntities.js +3 -3
  50. package/dist/models/ExtendedEntities.js.map +1 -1
  51. package/dist/models/GetBookmarks200Response.d.ts +1 -1
  52. package/dist/models/GetBookmarks200Response.d.ts.map +1 -1
  53. package/dist/models/GetFavoriters200Response.d.ts +1 -1
  54. package/dist/models/GetFavoriters200Response.d.ts.map +1 -1
  55. package/dist/models/GetFollowers200Response.d.ts +1 -1
  56. package/dist/models/GetFollowers200Response.d.ts.map +1 -1
  57. package/dist/models/GetHomeLatestTimeline200Response.d.ts +1 -1
  58. package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -1
  59. package/dist/models/GetLikes200Response.d.ts +1 -1
  60. package/dist/models/GetLikes200Response.d.ts.map +1 -1
  61. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +1 -1
  62. package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -1
  63. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +1 -1
  64. package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -1
  65. package/dist/models/GetRetweeters200Response.d.ts +1 -1
  66. package/dist/models/GetRetweeters200Response.d.ts.map +1 -1
  67. package/dist/models/GetSearchTimeline200Response.d.ts +1 -1
  68. package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -1
  69. package/dist/models/GetTweetDetail200Response.d.ts +1 -1
  70. package/dist/models/GetTweetDetail200Response.d.ts.map +1 -1
  71. package/dist/models/GetTweetResultByRestId200Response.d.ts +1 -1
  72. package/dist/models/GetTweetResultByRestId200Response.d.ts.map +1 -1
  73. package/dist/models/GetUserByRestId200Response.d.ts +1 -1
  74. package/dist/models/GetUserByRestId200Response.d.ts.map +1 -1
  75. package/dist/models/GetUserHighlightsTweets200Response.d.ts +1 -1
  76. package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -1
  77. package/dist/models/GetUsersByRestIds200Response.d.ts +1 -1
  78. package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -1
  79. package/dist/models/InstructionType.d.ts +2 -1
  80. package/dist/models/InstructionType.d.ts.map +1 -1
  81. package/dist/models/InstructionType.js +2 -1
  82. package/dist/models/InstructionType.js.map +1 -1
  83. package/dist/models/InstructionUnion.d.ts +4 -1
  84. package/dist/models/InstructionUnion.d.ts.map +1 -1
  85. package/dist/models/InstructionUnion.js +5 -0
  86. package/dist/models/InstructionUnion.js.map +1 -1
  87. package/dist/models/ItemContentUnion.d.ts +1 -1
  88. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  89. package/dist/models/ItemResult.d.ts +1 -1
  90. package/dist/models/ItemResult.d.ts.map +1 -1
  91. package/dist/models/ItemResult.js +1 -2
  92. package/dist/models/ItemResult.js.map +1 -1
  93. package/dist/models/Media.d.ts +15 -15
  94. package/dist/models/Media.d.ts.map +1 -1
  95. package/dist/models/Media.js +14 -7
  96. package/dist/models/Media.js.map +1 -1
  97. package/dist/models/MediaExtended.d.ts +131 -0
  98. package/dist/models/MediaExtended.d.ts.map +1 -0
  99. package/dist/models/MediaExtended.js +104 -0
  100. package/dist/models/MediaExtended.js.map +1 -0
  101. package/dist/models/MediaOriginalInfo.d.ts +5 -6
  102. package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
  103. package/dist/models/MediaOriginalInfo.js +7 -4
  104. package/dist/models/MediaOriginalInfo.js.map +1 -1
  105. package/dist/models/MediaOriginalInfoFocusRect.d.ts +50 -0
  106. package/dist/models/MediaOriginalInfoFocusRect.d.ts.map +1 -0
  107. package/dist/models/MediaOriginalInfoFocusRect.js +60 -0
  108. package/dist/models/MediaOriginalInfoFocusRect.js.map +1 -0
  109. package/dist/models/MediaSize.d.ts +52 -0
  110. package/dist/models/MediaSize.d.ts.map +1 -0
  111. package/dist/models/MediaSize.js +64 -0
  112. package/dist/models/MediaSize.js.map +1 -0
  113. package/dist/models/MediaSizes.d.ts +51 -0
  114. package/dist/models/MediaSizes.d.ts.map +1 -0
  115. package/dist/models/MediaSizes.js +61 -0
  116. package/dist/models/MediaSizes.js.map +1 -0
  117. package/dist/models/MediaStats.d.ts +32 -0
  118. package/dist/models/MediaStats.d.ts.map +1 -0
  119. package/dist/models/MediaStats.js +51 -0
  120. package/dist/models/MediaStats.js.map +1 -0
  121. package/dist/models/MediaVideoInfo.d.ts +45 -0
  122. package/dist/models/MediaVideoInfo.d.ts.map +1 -0
  123. package/dist/models/MediaVideoInfo.js +58 -0
  124. package/dist/models/MediaVideoInfo.js.map +1 -0
  125. package/dist/models/MediaVideoInfoVariant.d.ts +44 -0
  126. package/dist/models/MediaVideoInfoVariant.d.ts.map +1 -0
  127. package/dist/models/MediaVideoInfoVariant.js +57 -0
  128. package/dist/models/MediaVideoInfoVariant.js.map +1 -0
  129. package/dist/models/ModuleEntry.d.ts +3 -4
  130. package/dist/models/ModuleEntry.d.ts.map +1 -1
  131. package/dist/models/ModuleEntry.js +3 -2
  132. package/dist/models/ModuleEntry.js.map +1 -1
  133. package/dist/models/Other200Response.d.ts +1 -1
  134. package/dist/models/Other200Response.d.ts.map +1 -1
  135. package/dist/models/PostCreateRetweet200Response.d.ts +1 -1
  136. package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -1
  137. package/dist/models/PostCreateTweet200Response.d.ts +1 -1
  138. package/dist/models/PostCreateTweet200Response.d.ts.map +1 -1
  139. package/dist/models/PostDeleteRetweet200Response.d.ts +1 -1
  140. package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -1
  141. package/dist/models/PostDeleteTweet200Response.d.ts +1 -1
  142. package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -1
  143. package/dist/models/PostFavoriteTweet200Response.d.ts +1 -1
  144. package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -1
  145. package/dist/models/PostUnfavoriteTweet200Response.d.ts +1 -1
  146. package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -1
  147. package/dist/models/SelfThread.d.ts +32 -0
  148. package/dist/models/SelfThread.d.ts.map +1 -0
  149. package/dist/models/SelfThread.js +51 -0
  150. package/dist/models/SelfThread.js.map +1 -0
  151. package/dist/models/Session.d.ts +8 -1
  152. package/dist/models/Session.d.ts.map +1 -1
  153. package/dist/models/Session.js +7 -1
  154. package/dist/models/Session.js.map +1 -1
  155. package/dist/models/Text.d.ts +39 -0
  156. package/dist/models/Text.d.ts.map +1 -0
  157. package/dist/models/Text.js +55 -0
  158. package/dist/models/Text.js.map +1 -0
  159. package/dist/models/TextEntity.d.ts +45 -0
  160. package/dist/models/TextEntity.d.ts.map +1 -0
  161. package/dist/models/TextEntity.js +58 -0
  162. package/dist/models/TextEntity.js.map +1 -0
  163. package/dist/models/TextEntityRef.d.ts +58 -0
  164. package/dist/models/TextEntityRef.d.ts.map +1 -0
  165. package/dist/models/TextEntityRef.js +69 -0
  166. package/dist/models/TextEntityRef.js.map +1 -0
  167. package/dist/models/TimelineCoverBehavior.d.ts +39 -0
  168. package/dist/models/TimelineCoverBehavior.d.ts.map +1 -0
  169. package/dist/models/TimelineCoverBehavior.js +57 -0
  170. package/dist/models/TimelineCoverBehavior.js.map +1 -0
  171. package/dist/models/TimelineHalfCover.d.ts +85 -0
  172. package/dist/models/TimelineHalfCover.d.ts.map +1 -0
  173. package/dist/models/TimelineHalfCover.js +84 -0
  174. package/dist/models/TimelineHalfCover.js.map +1 -0
  175. package/dist/models/TimelineShowAlert.d.ts +2 -2
  176. package/dist/models/TimelineShowAlert.d.ts.map +1 -1
  177. package/dist/models/TimelineShowCover.d.ts +47 -0
  178. package/dist/models/TimelineShowCover.d.ts.map +1 -0
  179. package/dist/models/TimelineShowCover.js +60 -0
  180. package/dist/models/TimelineShowCover.js.map +1 -0
  181. package/dist/models/TimelineTerminateTimeline.d.ts +1 -1
  182. package/dist/models/TimelineTerminateTimeline.d.ts.map +1 -1
  183. package/dist/models/TimelineTimelineItem.d.ts +3 -4
  184. package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
  185. package/dist/models/TimelineTimelineItem.js +3 -2
  186. package/dist/models/TimelineTimelineItem.js.map +1 -1
  187. package/dist/models/TimelineTimelineModule.d.ts +9 -1
  188. package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
  189. package/dist/models/TimelineTimelineModule.js +8 -1
  190. package/dist/models/TimelineTimelineModule.js.map +1 -1
  191. package/dist/models/TimelineUser.d.ts +10 -1
  192. package/dist/models/TimelineUser.d.ts.map +1 -1
  193. package/dist/models/TimelineUser.js +9 -1
  194. package/dist/models/TimelineUser.js.map +1 -1
  195. package/dist/models/Tweet.d.ts +11 -5
  196. package/dist/models/Tweet.d.ts.map +1 -1
  197. package/dist/models/Tweet.js +7 -7
  198. package/dist/models/Tweet.js.map +1 -1
  199. package/dist/models/TweetCardLegacy.d.ts +3 -3
  200. package/dist/models/TweetCardLegacy.d.ts.map +1 -1
  201. package/dist/models/TweetCardLegacy.js +3 -3
  202. package/dist/models/TweetCardLegacy.js.map +1 -1
  203. package/dist/models/TweetCardLegacyBindingValue.d.ts +39 -0
  204. package/dist/models/TweetCardLegacyBindingValue.d.ts.map +1 -0
  205. package/dist/models/TweetCardLegacyBindingValue.js +55 -0
  206. package/dist/models/TweetCardLegacyBindingValue.js.map +1 -0
  207. package/dist/models/TweetCardLegacyBindingValueData.d.ts +50 -0
  208. package/dist/models/TweetCardLegacyBindingValueData.d.ts.map +1 -0
  209. package/dist/models/{TweetCardLegacyBindingValuesInnerValue.js → TweetCardLegacyBindingValueData.js} +12 -12
  210. package/dist/models/TweetCardLegacyBindingValueData.js.map +1 -0
  211. package/dist/models/TweetEditControl.d.ts +13 -0
  212. package/dist/models/TweetEditControl.d.ts.map +1 -1
  213. package/dist/models/TweetEditControl.js +5 -0
  214. package/dist/models/TweetEditControl.js.map +1 -1
  215. package/dist/models/TweetEditControlInitial.d.ts +50 -0
  216. package/dist/models/TweetEditControlInitial.d.ts.map +1 -0
  217. package/dist/models/TweetEditControlInitial.js +60 -0
  218. package/dist/models/TweetEditControlInitial.js.map +1 -0
  219. package/dist/models/TweetLegacy.d.ts +3 -3
  220. package/dist/models/TweetLegacy.d.ts.map +1 -1
  221. package/dist/models/TweetLegacy.js +3 -3
  222. package/dist/models/TweetLegacy.js.map +1 -1
  223. package/dist/models/TweetUnion.d.ts +1 -1
  224. package/dist/models/TweetUnion.d.ts.map +1 -1
  225. package/dist/models/TweetView.d.ts +45 -0
  226. package/dist/models/TweetView.d.ts.map +1 -0
  227. package/dist/models/{TweetViews.js → TweetView.js} +20 -13
  228. package/dist/models/TweetView.js.map +1 -0
  229. package/dist/models/TypeName.d.ts +2 -1
  230. package/dist/models/TypeName.d.ts.map +1 -1
  231. package/dist/models/TypeName.js +1 -0
  232. package/dist/models/TypeName.js.map +1 -1
  233. package/dist/models/UserUnion.d.ts +1 -1
  234. package/dist/models/UserUnion.d.ts.map +1 -1
  235. package/dist/models/index.d.ts +24 -4
  236. package/dist/models/index.d.ts.map +1 -1
  237. package/dist/models/index.js +24 -4
  238. package/dist/models/index.js.map +1 -1
  239. package/dist/runtime.d.ts +9 -9
  240. package/dist/runtime.d.ts.map +1 -1
  241. package/dist/runtime.js +1 -1
  242. package/package.json +2 -2
  243. package/src/models/AdditionalMediaInfo.ts +66 -0
  244. package/src/models/Callback.ts +66 -0
  245. package/src/models/ClientEventInfo.ts +81 -0
  246. package/src/models/CoverCta.ts +130 -0
  247. package/src/models/CtaClientEventInfo.ts +76 -0
  248. package/src/models/ExtMediaAvailability.ts +75 -0
  249. package/src/models/ExtendedEntities.ts +9 -9
  250. package/src/models/InstructionType.ts +2 -1
  251. package/src/models/InstructionUnion.ts +12 -1
  252. package/src/models/ItemResult.ts +2 -3
  253. package/src/models/Media.ts +27 -17
  254. package/src/models/MediaExtended.ts +237 -0
  255. package/src/models/MediaOriginalInfo.ts +17 -8
  256. package/src/models/MediaOriginalInfoFocusRect.ts +93 -0
  257. package/src/models/MediaSize.ts +95 -0
  258. package/src/models/MediaSizes.ts +100 -0
  259. package/src/models/MediaStats.ts +66 -0
  260. package/src/models/MediaVideoInfo.ts +90 -0
  261. package/src/models/MediaVideoInfoVariant.ts +83 -0
  262. package/src/models/ModuleEntry.ts +10 -4
  263. package/src/models/{TweetLegacySelfThread.ts → SelfThread.ts} +9 -9
  264. package/src/models/Session.ts +11 -1
  265. package/src/models/Text.ts +82 -0
  266. package/src/models/TextEntity.ts +91 -0
  267. package/src/models/TextEntityRef.ts +102 -0
  268. package/src/models/TimelineCoverBehavior.ts +76 -0
  269. package/src/models/TimelineHalfCover.ts +157 -0
  270. package/src/models/TimelineShowCover.ts +103 -0
  271. package/src/models/TimelineTimelineItem.ts +10 -4
  272. package/src/models/TimelineTimelineModule.ts +12 -1
  273. package/src/models/TimelineUser.ts +13 -1
  274. package/src/models/Tweet.ts +21 -15
  275. package/src/models/TweetCardLegacy.ts +9 -9
  276. package/src/models/TweetCardLegacyBindingValue.ts +82 -0
  277. package/src/models/{TweetCardLegacyBindingValuesInnerValue.ts → TweetCardLegacyBindingValueData.ts} +12 -12
  278. package/src/models/TweetEditControl.ts +23 -0
  279. package/src/models/TweetEditControlInitial.ts +93 -0
  280. package/src/models/TweetLegacy.ts +9 -9
  281. package/src/models/{TweetViews.ts → TweetView.ts} +23 -12
  282. package/src/models/TypeName.ts +1 -0
  283. package/src/models/index.ts +24 -4
  284. package/tools/openapi-generator-config.yaml +1 -1
  285. package/tools/win/replace.py +1 -1
  286. package/twitter-openapi/.vscode/tasks.json +3 -0
  287. package/twitter-openapi/LICENSE +31 -0
  288. package/twitter-openapi/{LICENSE.txt → LICENSE.AGPL} +3 -3
  289. package/twitter-openapi/README.md +4 -1
  290. package/twitter-openapi/dist/compatible/openapi-3.0.yaml +2 -2
  291. package/twitter-openapi/dist/compatible/paths/other.yaml +2 -0
  292. package/twitter-openapi/dist/compatible/schemas/content.yaml +19 -6
  293. package/twitter-openapi/dist/compatible/schemas/instruction.yaml +130 -0
  294. package/twitter-openapi/dist/compatible/schemas/tweet.yaml +279 -94
  295. package/twitter-openapi/dist/compatible/schemas/typename.yaml +1 -0
  296. package/twitter-openapi/dist/docs/openapi-3.0.yaml +2 -2
  297. package/twitter-openapi/dist/docs/paths/other.yaml +2 -0
  298. package/twitter-openapi/dist/docs/schemas/content.yaml +19 -6
  299. package/twitter-openapi/dist/docs/schemas/instruction.yaml +130 -0
  300. package/twitter-openapi/dist/docs/schemas/tweet.yaml +279 -94
  301. package/twitter-openapi/dist/docs/schemas/typename.yaml +1 -0
  302. package/twitter-openapi/src/openapi/openapi-3.0.yaml +2 -2
  303. package/twitter-openapi/src/openapi/paths/other.yaml +2 -1
  304. package/twitter-openapi/src/openapi/schemas/content.yaml +20 -7
  305. package/twitter-openapi/src/openapi/schemas/instruction.yaml +134 -0
  306. package/twitter-openapi/src/openapi/schemas/tweet.yaml +306 -107
  307. package/twitter-openapi/src/openapi/schemas/typename.yaml +1 -0
  308. package/twitter-openapi/test/python/replace.py +23 -0
  309. package/twitter-openapi/test/python/test_serialize.py +191 -91
  310. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +0 -39
  311. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +0 -1
  312. package/dist/models/TweetCardLegacyBindingValuesInner.js +0 -55
  313. package/dist/models/TweetCardLegacyBindingValuesInner.js.map +0 -1
  314. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +0 -50
  315. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +0 -1
  316. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +0 -1
  317. package/dist/models/TweetLegacySelfThread.d.ts +0 -32
  318. package/dist/models/TweetLegacySelfThread.d.ts.map +0 -1
  319. package/dist/models/TweetLegacySelfThread.js +0 -51
  320. package/dist/models/TweetLegacySelfThread.js.map +0 -1
  321. package/dist/models/TweetViews.d.ts +0 -38
  322. package/dist/models/TweetViews.d.ts.map +0 -1
  323. package/dist/models/TweetViews.js.map +0 -1
  324. package/src/models/TweetCardLegacyBindingValuesInner.ts +0 -82
@@ -16,50 +16,50 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface TweetCardLegacyBindingValuesInnerValue
19
+ * @interface TweetCardLegacyBindingValueData
20
20
  */
21
- export interface TweetCardLegacyBindingValuesInnerValue {
21
+ export interface TweetCardLegacyBindingValueData {
22
22
  /**
23
23
  *
24
24
  * @type {boolean}
25
- * @memberof TweetCardLegacyBindingValuesInnerValue
25
+ * @memberof TweetCardLegacyBindingValueData
26
26
  */
27
27
  booleanValue?: boolean;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof TweetCardLegacyBindingValuesInnerValue
31
+ * @memberof TweetCardLegacyBindingValueData
32
32
  */
33
33
  scribeKey?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof TweetCardLegacyBindingValuesInnerValue
37
+ * @memberof TweetCardLegacyBindingValueData
38
38
  */
39
39
  stringValue?: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof TweetCardLegacyBindingValuesInnerValue
43
+ * @memberof TweetCardLegacyBindingValueData
44
44
  */
45
45
  type: string;
46
46
  }
47
47
 
48
48
  /**
49
- * Check if a given object implements the TweetCardLegacyBindingValuesInnerValue interface.
49
+ * Check if a given object implements the TweetCardLegacyBindingValueData interface.
50
50
  */
51
- export function instanceOfTweetCardLegacyBindingValuesInnerValue(value: object): boolean {
51
+ export function instanceOfTweetCardLegacyBindingValueData(value: object): boolean {
52
52
  let isInstance = true;
53
53
  isInstance = isInstance && "type" in value;
54
54
 
55
55
  return isInstance;
56
56
  }
57
57
 
58
- export function TweetCardLegacyBindingValuesInnerValueFromJSON(json: any): TweetCardLegacyBindingValuesInnerValue {
59
- return TweetCardLegacyBindingValuesInnerValueFromJSONTyped(json, false);
58
+ export function TweetCardLegacyBindingValueDataFromJSON(json: any): TweetCardLegacyBindingValueData {
59
+ return TweetCardLegacyBindingValueDataFromJSONTyped(json, false);
60
60
  }
61
61
 
62
- export function TweetCardLegacyBindingValuesInnerValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetCardLegacyBindingValuesInnerValue {
62
+ export function TweetCardLegacyBindingValueDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetCardLegacyBindingValueData {
63
63
  if ((json === undefined) || (json === null)) {
64
64
  return json;
65
65
  }
@@ -72,7 +72,7 @@ export function TweetCardLegacyBindingValuesInnerValueFromJSONTyped(json: any, i
72
72
  };
73
73
  }
74
74
 
75
- export function TweetCardLegacyBindingValuesInnerValueToJSON(value?: TweetCardLegacyBindingValuesInnerValue | null): any {
75
+ export function TweetCardLegacyBindingValueDataToJSON(value?: TweetCardLegacyBindingValueData | null): any {
76
76
  if (value === undefined) {
77
77
  return undefined;
78
78
  }
@@ -13,12 +13,25 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { TweetEditControlInitial } from './TweetEditControlInitial';
17
+ import {
18
+ TweetEditControlInitialFromJSON,
19
+ TweetEditControlInitialFromJSONTyped,
20
+ TweetEditControlInitialToJSON,
21
+ } from './TweetEditControlInitial';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
19
26
  * @interface TweetEditControl
20
27
  */
21
28
  export interface TweetEditControl {
29
+ /**
30
+ *
31
+ * @type {TweetEditControlInitial}
32
+ * @memberof TweetEditControl
33
+ */
34
+ editControlInitial?: TweetEditControlInitial;
22
35
  /**
23
36
  *
24
37
  * @type {Array<string>}
@@ -37,6 +50,12 @@ export interface TweetEditControl {
37
50
  * @memberof TweetEditControl
38
51
  */
39
52
  editsRemaining?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof TweetEditControl
57
+ */
58
+ initialTweetId?: string;
40
59
  /**
41
60
  *
42
61
  * @type {boolean}
@@ -64,9 +83,11 @@ export function TweetEditControlFromJSONTyped(json: any, ignoreDiscriminator: bo
64
83
  }
65
84
  return {
66
85
 
86
+ 'editControlInitial': !exists(json, 'edit_control_initial') ? undefined : TweetEditControlInitialFromJSON(json['edit_control_initial']),
67
87
  'editTweetIds': !exists(json, 'edit_tweet_ids') ? undefined : json['edit_tweet_ids'],
68
88
  'editableUntilMsecs': !exists(json, 'editable_until_msecs') ? undefined : json['editable_until_msecs'],
69
89
  'editsRemaining': !exists(json, 'edits_remaining') ? undefined : json['edits_remaining'],
90
+ 'initialTweetId': !exists(json, 'initial_tweet_id') ? undefined : json['initial_tweet_id'],
70
91
  'isEditEligible': !exists(json, 'is_edit_eligible') ? undefined : json['is_edit_eligible'],
71
92
  };
72
93
  }
@@ -80,9 +101,11 @@ export function TweetEditControlToJSON(value?: TweetEditControl | null): any {
80
101
  }
81
102
  return {
82
103
 
104
+ 'edit_control_initial': TweetEditControlInitialToJSON(value.editControlInitial),
83
105
  'edit_tweet_ids': value.editTweetIds,
84
106
  'editable_until_msecs': value.editableUntilMsecs,
85
107
  'edits_remaining': value.editsRemaining,
108
+ 'initial_tweet_id': value.initialTweetId,
86
109
  'is_edit_eligible': value.isEditEligible,
87
110
  };
88
111
  }
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Twitter OpenAPI
5
+ * Twitter OpenAPI(Swagger) specification
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ * Contact: yuki@yuki0311.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TweetEditControlInitial
20
+ */
21
+ export interface TweetEditControlInitial {
22
+ /**
23
+ *
24
+ * @type {Array<string>}
25
+ * @memberof TweetEditControlInitial
26
+ */
27
+ editTweetIds: Array<string>;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TweetEditControlInitial
32
+ */
33
+ editableUntilMsecs: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TweetEditControlInitial
38
+ */
39
+ editsRemaining: string;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof TweetEditControlInitial
44
+ */
45
+ isEditEligible: boolean;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the TweetEditControlInitial interface.
50
+ */
51
+ export function instanceOfTweetEditControlInitial(value: object): boolean {
52
+ let isInstance = true;
53
+ isInstance = isInstance && "editTweetIds" in value;
54
+ isInstance = isInstance && "editableUntilMsecs" in value;
55
+ isInstance = isInstance && "editsRemaining" in value;
56
+ isInstance = isInstance && "isEditEligible" in value;
57
+
58
+ return isInstance;
59
+ }
60
+
61
+ export function TweetEditControlInitialFromJSON(json: any): TweetEditControlInitial {
62
+ return TweetEditControlInitialFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function TweetEditControlInitialFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetEditControlInitial {
66
+ if ((json === undefined) || (json === null)) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'editTweetIds': json['edit_tweet_ids'],
72
+ 'editableUntilMsecs': json['editable_until_msecs'],
73
+ 'editsRemaining': json['edits_remaining'],
74
+ 'isEditEligible': json['is_edit_eligible'],
75
+ };
76
+ }
77
+
78
+ export function TweetEditControlInitialToJSON(value?: TweetEditControlInitial | null): any {
79
+ if (value === undefined) {
80
+ return undefined;
81
+ }
82
+ if (value === null) {
83
+ return null;
84
+ }
85
+ return {
86
+
87
+ 'edit_tweet_ids': value.editTweetIds,
88
+ 'editable_until_msecs': value.editableUntilMsecs,
89
+ 'edits_remaining': value.editsRemaining,
90
+ 'is_edit_eligible': value.isEditEligible,
91
+ };
92
+ }
93
+
@@ -31,12 +31,12 @@ import {
31
31
  ItemResultFromJSONTyped,
32
32
  ItemResultToJSON,
33
33
  } from './ItemResult';
34
- import type { TweetLegacySelfThread } from './TweetLegacySelfThread';
34
+ import type { SelfThread } from './SelfThread';
35
35
  import {
36
- TweetLegacySelfThreadFromJSON,
37
- TweetLegacySelfThreadFromJSONTyped,
38
- TweetLegacySelfThreadToJSON,
39
- } from './TweetLegacySelfThread';
36
+ SelfThreadFromJSON,
37
+ SelfThreadFromJSONTyped,
38
+ SelfThreadToJSON,
39
+ } from './SelfThread';
40
40
 
41
41
  /**
42
42
  *
@@ -166,10 +166,10 @@ export interface TweetLegacy {
166
166
  retweetedStatusResult?: ItemResult;
167
167
  /**
168
168
  *
169
- * @type {TweetLegacySelfThread}
169
+ * @type {SelfThread}
170
170
  * @memberof TweetLegacy
171
171
  */
172
- selfThread?: TweetLegacySelfThread;
172
+ selfThread?: SelfThread;
173
173
  /**
174
174
  *
175
175
  * @type {string}
@@ -234,7 +234,7 @@ export function TweetLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean
234
234
  'retweetCount': json['retweet_count'],
235
235
  'retweeted': json['retweeted'],
236
236
  'retweetedStatusResult': !exists(json, 'retweeted_status_result') ? undefined : ItemResultFromJSON(json['retweeted_status_result']),
237
- 'selfThread': !exists(json, 'self_thread') ? undefined : TweetLegacySelfThreadFromJSON(json['self_thread']),
237
+ 'selfThread': !exists(json, 'self_thread') ? undefined : SelfThreadFromJSON(json['self_thread']),
238
238
  'userIdStr': json['user_id_str'],
239
239
  };
240
240
  }
@@ -268,7 +268,7 @@ export function TweetLegacyToJSON(value?: TweetLegacy | null): any {
268
268
  'retweet_count': value.retweetCount,
269
269
  'retweeted': value.retweeted,
270
270
  'retweeted_status_result': ItemResultToJSON(value.retweetedStatusResult),
271
- 'self_thread': TweetLegacySelfThreadToJSON(value.selfThread),
271
+ 'self_thread': SelfThreadToJSON(value.selfThread),
272
272
  'user_id_str': value.userIdStr,
273
273
  };
274
274
  }
@@ -16,48 +16,59 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface TweetViews
19
+ * @interface TweetView
20
20
  */
21
- export interface TweetViews {
21
+ export interface TweetView {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof TweetViews
25
+ * @memberof TweetView
26
26
  */
27
27
  count?: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof TweetViews
31
+ * @memberof TweetView
32
32
  */
33
- state?: string;
33
+ state: TweetViewStateEnum;
34
34
  }
35
35
 
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const TweetViewStateEnum = {
41
+ EnabledWithCount: 'EnabledWithCount'
42
+ } as const;
43
+ export type TweetViewStateEnum = typeof TweetViewStateEnum[keyof typeof TweetViewStateEnum];
44
+
45
+
36
46
  /**
37
- * Check if a given object implements the TweetViews interface.
47
+ * Check if a given object implements the TweetView interface.
38
48
  */
39
- export function instanceOfTweetViews(value: object): boolean {
49
+ export function instanceOfTweetView(value: object): boolean {
40
50
  let isInstance = true;
51
+ isInstance = isInstance && "state" in value;
41
52
 
42
53
  return isInstance;
43
54
  }
44
55
 
45
- export function TweetViewsFromJSON(json: any): TweetViews {
46
- return TweetViewsFromJSONTyped(json, false);
56
+ export function TweetViewFromJSON(json: any): TweetView {
57
+ return TweetViewFromJSONTyped(json, false);
47
58
  }
48
59
 
49
- export function TweetViewsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetViews {
60
+ export function TweetViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetView {
50
61
  if ((json === undefined) || (json === null)) {
51
62
  return json;
52
63
  }
53
64
  return {
54
65
 
55
66
  'count': !exists(json, 'count') ? undefined : json['count'],
56
- 'state': !exists(json, 'state') ? undefined : json['state'],
67
+ 'state': json['state'],
57
68
  };
58
69
  }
59
70
 
60
- export function TweetViewsToJSON(value?: TweetViews | null): any {
71
+ export function TweetViewToJSON(value?: TweetView | null): any {
61
72
  if (value === undefined) {
62
73
  return undefined;
63
74
  }
@@ -27,6 +27,7 @@ export const TypeName = {
27
27
  TweetTombstone: 'TweetTombstone',
28
28
  TimelinePrompt: 'TimelinePrompt',
29
29
  TimelineMessagePrompt: 'TimelineMessagePrompt',
30
+ TweetUnavailable: 'TweetUnavailable',
30
31
  Tweet: 'Tweet',
31
32
  User: 'User',
32
33
  UserUnavailable: 'UserUnavailable'
@@ -1,12 +1,16 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AdditionalMediaInfo';
3
4
  export * from './BookmarksResponse';
4
5
  export * from './BookmarksResponseData';
5
6
  export * from './BookmarksTimeline';
7
+ export * from './Callback';
8
+ export * from './ClientEventInfo';
6
9
  export * from './CommunitiesActions';
7
10
  export * from './ContentEntryType';
8
11
  export * from './ContentItemType';
9
12
  export * from './ContentUnion';
13
+ export * from './CoverCta';
10
14
  export * from './CreateRetweet';
11
15
  export * from './CreateRetweetResponse';
12
16
  export * from './CreateRetweetResponseData';
@@ -15,6 +19,7 @@ export * from './CreateTweet';
15
19
  export * from './CreateTweetResponse';
16
20
  export * from './CreateTweetResponseData';
17
21
  export * from './CreateTweetResponseResult';
22
+ export * from './CtaClientEventInfo';
18
23
  export * from './CursorType';
19
24
  export * from './DeleteRetweetResponse';
20
25
  export * from './DeleteRetweetResponseData';
@@ -24,6 +29,7 @@ export * from './DeleteTweetResponseResult';
24
29
  export * from './Entities';
25
30
  export * from './ErrorExtensions';
26
31
  export * from './Errors';
32
+ export * from './ExtMediaAvailability';
27
33
  export * from './ExtendedEntities';
28
34
  export * from './FavoriteTweet';
29
35
  export * from './FavoriteTweetResponseData';
@@ -58,7 +64,14 @@ export * from './ListTweetsTimelineData';
58
64
  export * from './ListTweetsTimelineList';
59
65
  export * from './Location';
60
66
  export * from './Media';
67
+ export * from './MediaExtended';
61
68
  export * from './MediaOriginalInfo';
69
+ export * from './MediaOriginalInfoFocusRect';
70
+ export * from './MediaSize';
71
+ export * from './MediaSizes';
72
+ export * from './MediaStats';
73
+ export * from './MediaVideoInfo';
74
+ export * from './MediaVideoInfoVariant';
62
75
  export * from './ModelError';
63
76
  export * from './ModuleEntry';
64
77
  export * from './ModuleItem';
@@ -90,13 +103,19 @@ export * from './SearchByRawQuery';
90
103
  export * from './SearchTimeline';
91
104
  export * from './SearchTimelineData';
92
105
  export * from './SearchTimelineResponse';
106
+ export * from './SelfThread';
93
107
  export * from './Session';
94
108
  export * from './SocialContext';
109
+ export * from './Text';
110
+ export * from './TextEntity';
111
+ export * from './TextEntityRef';
95
112
  export * from './Timeline';
96
113
  export * from './TimelineAddEntries';
97
114
  export * from './TimelineAddEntry';
98
115
  export * from './TimelineAddToModule';
99
116
  export * from './TimelineClearCache';
117
+ export * from './TimelineCoverBehavior';
118
+ export * from './TimelineHalfCover';
100
119
  export * from './TimelineMessagePrompt';
101
120
  export * from './TimelinePinEntry';
102
121
  export * from './TimelinePrompt';
@@ -104,6 +123,7 @@ export * from './TimelineReplaceEntry';
104
123
  export * from './TimelineResponse';
105
124
  export * from './TimelineShowAlert';
106
125
  export * from './TimelineShowAlertRichText';
126
+ export * from './TimelineShowCover';
107
127
  export * from './TimelineTerminateTimeline';
108
128
  export * from './TimelineTimelineCursor';
109
129
  export * from './TimelineTimelineItem';
@@ -115,23 +135,23 @@ export * from './Tracing';
115
135
  export * from './Tweet';
116
136
  export * from './TweetCard';
117
137
  export * from './TweetCardLegacy';
118
- export * from './TweetCardLegacyBindingValuesInner';
119
- export * from './TweetCardLegacyBindingValuesInnerValue';
138
+ export * from './TweetCardLegacyBindingValue';
139
+ export * from './TweetCardLegacyBindingValueData';
120
140
  export * from './TweetDetailResponse';
121
141
  export * from './TweetDetailResponseData';
122
142
  export * from './TweetEditControl';
143
+ export * from './TweetEditControlInitial';
123
144
  export * from './TweetEditPrespective';
124
145
  export * from './TweetFavoritersResponse';
125
146
  export * from './TweetFavoritersResponseData';
126
147
  export * from './TweetLegacy';
127
- export * from './TweetLegacySelfThread';
128
148
  export * from './TweetResultByRestIdData';
129
149
  export * from './TweetResultByRestIdResponse';
130
150
  export * from './TweetRetweetersResponse';
131
151
  export * from './TweetRetweetersResponseData';
132
152
  export * from './TweetTombstone';
133
153
  export * from './TweetUnion';
134
- export * from './TweetViews';
154
+ export * from './TweetView';
135
155
  export * from './TweetWithVisibilityResults';
136
156
  export * from './TypeName';
137
157
  export * from './UnfavoriteTweet';
@@ -1,7 +1,7 @@
1
1
  inputSpec: twitter-openapi/dist/compatible/openapi-3.0.yaml
2
2
  outputDir: .
3
3
  npmName: twitter-openapi-typescript-generated
4
- npmVersion: 0.0.10
4
+ npmVersion: 0.0.11
5
5
 
6
6
  # withoutRuntimeChecks: false
7
7
  legacyDiscriminatorBehavior: false
@@ -24,7 +24,7 @@ with open("package.json", mode="r", encoding="utf-8") as f:
24
24
  package.update(
25
25
  {
26
26
  "author": "fa0311",
27
- "license": "LGPL-3.0-only",
27
+ "license": "custom license or AGPL-3.0-or-later",
28
28
  "repository": {
29
29
  "type": "git",
30
30
  "url": "https://github.com/fa0311/twitter-openapi-typescript.git",
@@ -6,8 +6,10 @@
6
6
  "type": "shell",
7
7
  "linux": {
8
8
  "command": [
9
+ "source .venv/bin/activate;",
9
10
  "python3 tools/build.py;",
10
11
  "java -jar openapi-generator-cli.jar generate -c test/python/openapi-generator-config.yaml -g python;",
12
+ "python3 test/python/replace.py;",
11
13
  "python3 -m pip install ./python_generated;"
12
14
  ]
13
15
  },
@@ -16,6 +18,7 @@
16
18
  ".venv/Scripts/activate;",
17
19
  "python tools/build.py;",
18
20
  "java -jar openapi-generator-cli.jar generate -c test/python/openapi-generator-config.yaml -g python;",
21
+ "python test/python/replace.py;",
19
22
  "python -m pip install ./python_generated;"
20
23
  ]
21
24
  }
@@ -0,0 +1,31 @@
1
+ twitter-openapi License
2
+
3
+ Copyright (c) 2023 yuki
4
+
5
+ <https://yuki0311.com/>
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ The Software shall not be used for any activity that involves the following types
18
+ of behavior, commonly known as spam:
19
+
20
+ 1. Sending unsolicited or excessive messages or posts.
21
+ 2. Aggressively following, unfollowing, or liking tweets to artificially boost engagement.
22
+ 3. Engaging in aggressive automated actions that disrupt or annoy other users.
23
+ 4. Distributing false or misleading information.
24
+
25
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  GNU AFFERO GENERAL PUBLIC LICENSE
2
2
  Version 3, 19 November 2007
3
3
 
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
5
  Everyone is permitted to copy and distribute verbatim copies
6
6
  of this license document, but changing it is not allowed.
7
7
 
@@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
643
643
  GNU Affero General Public License for more details.
644
644
 
645
645
  You should have received a copy of the GNU Affero General Public License
646
- along with this program. If not, see <http://www.gnu.org/licenses/>.
646
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
647
647
 
648
648
  Also add information on how to contact you by electronic and paper mail.
649
649
 
@@ -658,4 +658,4 @@ specific requirements.
658
658
  You should also get your employer (if you work as a programmer) or school,
659
659
  if any, to sign a "copyright disclaimer" for the program, if necessary.
660
660
  For more information on this, and how to apply and follow the GNU AGPL, see
661
- <http://www.gnu.org/licenses/>.
661
+ <https://www.gnu.org/licenses/>.
@@ -33,4 +33,7 @@ python tools/build.py
33
33
 
34
34
  ## License
35
35
 
36
- [agpl-3.0](./LICENSE.txt)
36
+ This project is dual licensed. You can choose one of the following licenses:
37
+
38
+ - [Custom License](./LICENSE)
39
+ - [GNU Affero General Public License v3.0](./LICENSE.AGPL)
@@ -51,8 +51,8 @@ info:
51
51
  email: yuki@yuki0311.com
52
52
  description: Twitter OpenAPI(Swagger) specification
53
53
  license:
54
- name: GNU Affero General Public License v3.
55
- url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
54
+ name: custom license or AGPL-3.0-or-later
55
+ url: https://github.com/fa0311/twitter-openapi#license
56
56
  termsOfService: https://github.com/fa0311
57
57
  title: Twitter OpenAPI
58
58
  version: 0.0.1
@@ -47,6 +47,8 @@ components:
47
47
  superFollowersCount:
48
48
  type: integer
49
49
  superFollowsApplicationStatus:
50
+ enum:
51
+ - NotStarted
50
52
  type: string
51
53
  userFeatures:
52
54
  $ref: '#/components/schemas/UserFeatures'
@@ -1,5 +1,14 @@
1
1
  components:
2
2
  schemas:
3
+ ClientEventInfo:
4
+ properties:
5
+ component:
6
+ type: string
7
+ details:
8
+ additionalProperties: true
9
+ type: object
10
+ element:
11
+ type: string
3
12
  ContentEntryType:
4
13
  enum:
5
14
  - TimelineTimelineItem
@@ -54,13 +63,11 @@ components:
54
63
  $ref: ./typename.yaml#/components/schemas/TypeName
55
64
  result:
56
65
  $ref: ./tweet.yaml#/components/schemas/TweetUnion
57
- required:
58
- - result
66
+ required: null
59
67
  ModuleEntry:
60
68
  properties:
61
69
  clientEventInfo:
62
- additionalProperties: true
63
- type: object
70
+ $ref: '#/components/schemas/ClientEventInfo'
64
71
  itemContent:
65
72
  $ref: '#/components/schemas/ItemContentUnion'
66
73
  required:
@@ -116,8 +123,7 @@ components:
116
123
  __typename:
117
124
  $ref: ./typename.yaml#/components/schemas/TypeName
118
125
  clientEventInfo:
119
- additionalProperties: true
120
- type: object
126
+ $ref: '#/components/schemas/ClientEventInfo'
121
127
  entryType:
122
128
  $ref: '#/components/schemas/ContentEntryType'
123
129
  feedbackInfo:
@@ -138,6 +144,9 @@ components:
138
144
  additionalProperties: true
139
145
  type: object
140
146
  displayType:
147
+ enum:
148
+ - Vertical
149
+ - VerticalConversation
141
150
  type: string
142
151
  entryType:
143
152
  $ref: '#/components/schemas/ContentEntryType'
@@ -185,6 +194,10 @@ components:
185
194
  itemType:
186
195
  $ref: '#/components/schemas/ContentItemType'
187
196
  userDisplayType:
197
+ enum:
198
+ - User
199
+ - UserDetailed
200
+ - SubscribableUser
188
201
  type: string
189
202
  user_results:
190
203
  $ref: ./user.yaml#/components/schemas/UserResults