twitter-openapi-typescript-generated 0.0.5 → 0.0.7

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 (199) hide show
  1. package/.openapi-generator/FILES +7 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +1 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +3 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/PostApi.d.ts +6 -0
  8. package/dist/apis/PostApi.d.ts.map +1 -1
  9. package/dist/apis/PostApi.js +24 -6
  10. package/dist/apis/PostApi.js.map +1 -1
  11. package/dist/apis/TweetApi.d.ts +9 -9
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +27 -54
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts +1 -1
  16. package/dist/apis/UserApi.d.ts.map +1 -1
  17. package/dist/apis/UserApi.js +3 -6
  18. package/dist/apis/UserApi.js.map +1 -1
  19. package/dist/apis/UserListApi.d.ts +2 -2
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +6 -12
  22. package/dist/apis/UserListApi.js.map +1 -1
  23. package/dist/models/Entities.d.ts +3 -2
  24. package/dist/models/Entities.d.ts.map +1 -1
  25. package/dist/models/Entities.js +3 -2
  26. package/dist/models/Entities.js.map +1 -1
  27. package/dist/models/PostCreateRetweetRequest.d.ts +3 -3
  28. package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
  29. package/dist/models/PostCreateRetweetRequest.js +3 -3
  30. package/dist/models/PostCreateRetweetRequest.js.map +1 -1
  31. package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
  32. package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
  33. package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
  34. package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
  35. package/dist/models/PostDeleteTweetRequest.d.ts +3 -3
  36. package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
  37. package/dist/models/PostDeleteTweetRequest.js +3 -3
  38. package/dist/models/PostDeleteTweetRequest.js.map +1 -1
  39. package/dist/models/PostFavoriteTweetRequest.d.ts +3 -3
  40. package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
  41. package/dist/models/PostFavoriteTweetRequest.js +3 -3
  42. package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
  43. package/dist/models/PostUnfavoriteTweetRequest.d.ts +3 -3
  44. package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
  45. package/dist/models/PostUnfavoriteTweetRequest.js +3 -3
  46. package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
  47. package/dist/models/Tweet.d.ts +7 -0
  48. package/dist/models/Tweet.d.ts.map +1 -1
  49. package/dist/models/Tweet.js +3 -0
  50. package/dist/models/Tweet.js.map +1 -1
  51. package/dist/models/TweetCard.d.ts +39 -0
  52. package/dist/models/TweetCard.d.ts.map +1 -0
  53. package/dist/models/TweetCard.js +54 -0
  54. package/dist/models/TweetCard.js.map +1 -0
  55. package/dist/models/TweetCardLegacy.d.ts +45 -0
  56. package/dist/models/TweetCardLegacy.d.ts.map +1 -0
  57. package/dist/models/TweetCardLegacy.js +58 -0
  58. package/dist/models/TweetCardLegacy.js.map +1 -0
  59. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
  60. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
  61. package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
  62. package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
  63. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
  64. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
  65. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
  66. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
  67. package/dist/models/TweetLegacy.d.ts +7 -0
  68. package/dist/models/TweetLegacy.d.ts.map +1 -1
  69. package/dist/models/TweetLegacy.js +3 -0
  70. package/dist/models/TweetLegacy.js.map +1 -1
  71. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  72. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  73. package/dist/models/TweetLegacySelfThread.js +51 -0
  74. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  75. package/dist/models/Url.d.ts +50 -0
  76. package/dist/models/Url.d.ts.map +1 -0
  77. package/dist/models/Url.js +60 -0
  78. package/dist/models/Url.js.map +1 -0
  79. package/dist/models/index.d.ts +7 -1
  80. package/dist/models/index.d.ts.map +1 -1
  81. package/dist/models/index.js +7 -1
  82. package/dist/models/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/apis/DefaultApi.ts +4 -8
  85. package/src/apis/PostApi.ts +36 -6
  86. package/src/apis/TweetApi.ts +36 -72
  87. package/src/apis/UserApi.ts +4 -8
  88. package/src/apis/UserListApi.ts +8 -16
  89. package/src/models/Entities.ts +10 -4
  90. package/src/models/PostCreateRetweetRequest.ts +9 -9
  91. package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
  92. package/src/models/PostDeleteTweetRequest.ts +9 -9
  93. package/src/models/PostFavoriteTweetRequest.ts +9 -9
  94. package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
  95. package/src/models/Tweet.ts +14 -0
  96. package/src/models/TweetCard.ts +80 -0
  97. package/src/models/TweetCardLegacy.ts +91 -0
  98. package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
  99. package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
  100. package/src/models/TweetLegacy.ts +14 -0
  101. package/src/models/TweetLegacySelfThread.ts +66 -0
  102. package/src/models/Url.ts +93 -0
  103. package/src/models/index.ts +7 -1
  104. package/tools/openapi-generator-config.yaml +2 -2
  105. package/tools/win/replace.py +20 -20
  106. package/twitter-openapi/README.md +4 -6
  107. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
  108. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
  109. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
  110. package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
  111. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
  112. package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
  113. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
  114. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
  115. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
  116. package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
  117. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
  118. package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
  119. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
  120. package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
  121. package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
  122. package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
  123. package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
  124. package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
  125. package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
  126. package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
  127. package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
  128. package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -0
  129. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
  130. package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
  131. package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
  132. package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
  133. package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
  134. package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
  135. package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
  136. package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
  137. package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
  138. package/twitter-openapi/src/openapi/schemas/tweet.yaml +66 -1
  139. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  140. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  141. package/twitter-openapi/tools/build_config.py +67 -190
  142. package/twitter-openapi/tools/hooks.py +58 -13
  143. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
  144. package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
  145. package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
  146. package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
  147. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  148. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  149. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  150. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  151. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  152. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  153. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  154. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  155. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  156. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  157. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  158. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  159. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  160. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  161. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  162. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  163. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  164. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  165. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  166. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  167. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  168. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  169. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  170. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  171. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  172. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  173. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  174. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  175. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  176. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  177. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  178. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  179. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  180. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  181. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  182. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  183. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  184. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  185. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  186. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  187. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  188. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  189. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  190. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  191. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  192. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  193. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  194. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  195. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  196. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  197. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  198. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  199. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,90 +0,0 @@
1
- components:
2
- schemas:
3
- Error:
4
- properties:
5
- code:
6
- type: integer
7
- extensions:
8
- $ref: '#/components/schemas/Extensions'
9
- kind:
10
- type: string
11
- locations:
12
- items:
13
- $ref: '#/components/schemas/Location'
14
- type: array
15
- message:
16
- type: string
17
- name:
18
- type: string
19
- path:
20
- items:
21
- type: string
22
- type: array
23
- source:
24
- type: string
25
- tracing:
26
- $ref: '#/components/schemas/Tracing'
27
- required:
28
- - message
29
- - locations
30
- - path
31
- - extensions
32
- - code
33
- - kind
34
- - name
35
- - source
36
- - tracing
37
- type: object
38
- ErrorResponse:
39
- properties:
40
- errors:
41
- $ref: '#/components/schemas/Errors'
42
- required:
43
- - errors
44
- - data
45
- type: object
46
- Errors:
47
- items:
48
- $ref: '#/components/schemas/Error'
49
- type: array
50
- Extensions:
51
- properties:
52
- code:
53
- type: integer
54
- kind:
55
- type: string
56
- name:
57
- type: string
58
- source:
59
- type: string
60
- tracing:
61
- $ref: '#/components/schemas/Tracing'
62
- required:
63
- - name
64
- - source
65
- - code
66
- - kind
67
- - tracing
68
- type: object
69
- Location:
70
- properties:
71
- column:
72
- type: integer
73
- line:
74
- type: integer
75
- required:
76
- - line
77
- - column
78
- type: object
79
- Tracing:
80
- properties:
81
- trace_id:
82
- type: string
83
- required:
84
- - trace_id
85
- type: object
86
- info:
87
- title: Twitter OpenAPI
88
- version: 0.0.1
89
- openapi: 3.0.3
90
- paths: {}
@@ -1,181 +0,0 @@
1
- components:
2
- schemas:
3
- ContentEntryType:
4
- enum:
5
- - TimelineTimelineItem
6
- - TimelineTimelineCursor
7
- - TimelineTimelineModule
8
- type: string
9
- ContentItemType:
10
- enum:
11
- - TimelineTweet
12
- - TimelineTimelineCursor
13
- - TimelineUser
14
- type: string
15
- ContentUnion:
16
- discriminator:
17
- mapping":
18
- TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
19
- TimelineTimelineItem: '#/components/schemas/TimelineTimelineItem'
20
- TimelineTimelineModule: '#/components/schemas/TimelineTimelineModule'
21
- propertyName: entryType
22
- oneOf:
23
- - $ref: '#/components/schemas/TimelineTimelineItem'
24
- - $ref: '#/components/schemas/TimelineTimelineModule'
25
- - $ref: '#/components/schemas/TimelineTimelineCursor'
26
- ItemContentUnion:
27
- discriminator:
28
- mapping":
29
- TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
30
- TimelineTweet: '#/components/schemas/TimelineTweet'
31
- TimelineUser: '#/components/schemas/TimelineUser'
32
- propertyName: itemType
33
- oneOf:
34
- - $ref: '#/components/schemas/TimelineTweet'
35
- - $ref: '#/components/schemas/TimelineTimelineCursor'
36
- - $ref: '#/components/schemas/TimelineUser'
37
- ItemResult:
38
- properties:
39
- __typename:
40
- $ref: ./typename.yaml#/components/schemas/TypeName
41
- result:
42
- $ref: ./tweet.yaml#/components/schemas/TweetUnion
43
- required:
44
- - result
45
- ModuleEntry:
46
- properties:
47
- clientEventInfo:
48
- type: object
49
- itemContent:
50
- $ref: '#/components/schemas/ItemContentUnion'
51
- required:
52
- - clientEventInfo
53
- - itemContent
54
- ModuleItem:
55
- properties:
56
- entryId:
57
- pattern: ^[a-z\-]+[0-9]+$
58
- type: string
59
- item:
60
- $ref: '#/components/schemas/ModuleEntry'
61
- required:
62
- - entryId
63
- - item
64
- SocialContext:
65
- properties:
66
- contextType:
67
- type: string
68
- text:
69
- type: string
70
- type:
71
- type: string
72
- type: object
73
- TimelineTimelineCursor:
74
- properties:
75
- __typename:
76
- $ref: ./typename.yaml#/components/schemas/TypeName
77
- cursorType:
78
- enum:
79
- - Top
80
- - Bottom
81
- - ShowMore
82
- - ShowMoreThreads
83
- - Gap
84
- type: string
85
- entryType:
86
- $ref: '#/components/schemas/ContentEntryType'
87
- type: string
88
- itemType:
89
- $ref: '#/components/schemas/ContentEntryType'
90
- type: string
91
- value:
92
- type: string
93
- required:
94
- - __typename
95
- - cursorType
96
- - value
97
- TimelineTimelineItem:
98
- properties:
99
- __typename:
100
- $ref: ./typename.yaml#/components/schemas/TypeName
101
- clientEventInfo:
102
- type: object
103
- entryType:
104
- $ref: '#/components/schemas/ContentEntryType'
105
- type: string
106
- feedbackInfo:
107
- type: object
108
- itemContent:
109
- $ref: '#/components/schemas/ItemContentUnion'
110
- required:
111
- - __typename
112
- - entryType
113
- - itemContent
114
- TimelineTimelineModule:
115
- properties:
116
- __typename:
117
- $ref: ./typename.yaml#/components/schemas/TypeName
118
- clientEventInfo:
119
- type: object
120
- displayType:
121
- type: string
122
- entryType:
123
- $ref: '#/components/schemas/ContentEntryType'
124
- type: string
125
- footer:
126
- type: object
127
- header:
128
- type: object
129
- items:
130
- items:
131
- $ref: '#/components/schemas/ModuleItem'
132
- type: array
133
- required:
134
- - __typename
135
- - entryType
136
- - displayType
137
- - clientEventInfo
138
- TimelineTweet:
139
- properties:
140
- SocialContext:
141
- $ref: '#/components/schemas/SocialContext'
142
- __typename:
143
- $ref: ./typename.yaml#/components/schemas/TypeName
144
- itemType:
145
- $ref: '#/components/schemas/ContentItemType'
146
- type: string
147
- promotedMetadata:
148
- type: object
149
- tweetDisplayType:
150
- type: string
151
- tweet_results:
152
- $ref: '#/components/schemas/ItemResult'
153
- required:
154
- - __typename
155
- - itemType
156
- - tweetDisplayType
157
- - tweet_results
158
- TimelineUser:
159
- properties:
160
- SocialContext:
161
- $ref: '#/components/schemas/SocialContext'
162
- __typename:
163
- $ref: ./typename.yaml#/components/schemas/TypeName
164
- itemType:
165
- $ref: '#/components/schemas/ContentItemType'
166
- type: string
167
- userDisplayType:
168
- type: string
169
- user_results:
170
- $ref: ./user.yaml#/components/schemas/UserResults
171
- required:
172
- - __typename
173
- - itemType
174
- - socialContext
175
- - userDisplayType
176
- - user_results
177
- info:
178
- title: Twitter OpenAPI
179
- version: 0.0.1
180
- openapi: 3.0.3
181
- paths: {}
@@ -1,13 +0,0 @@
1
- components:
2
- schemas:
3
- TwitterTimeFormat:
4
- example: Sat Dec 31 23:59:59 +0000 2023
5
- pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
6
- (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])
7
- ([+-][0-9]{4}) ([0-9]{4})$
8
- type: string
9
- info:
10
- title: Twitter OpenAPI
11
- version: 0.0.1
12
- openapi: 3.0.3
13
- paths: {}
@@ -1,83 +0,0 @@
1
- components:
2
- schemas:
3
- InstructionType:
4
- enum:
5
- - TimelineAddEntries
6
- - TimelineClearCache
7
- - TimelinePinEntry
8
- - TimelineTerminateTimeline
9
- type: string
10
- InstructionUnion:
11
- discriminator:
12
- mapping":
13
- TimelineAddEntries: '#/components/schemas/TimelineAddEntries'
14
- TimelineClearCache: '#/components/schemas/TimelineClearCache'
15
- TimelinePinEntry: '#/components/schemas/TimelinePinEntry'
16
- TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline'
17
- propertyName: type
18
- oneOf:
19
- - $ref: '#/components/schemas/TimelineAddEntries'
20
- - $ref: '#/components/schemas/TimelineClearCache'
21
- - $ref: '#/components/schemas/TimelinePinEntry'
22
- - $ref: '#/components/schemas/TimelineTerminateTimeline'
23
- TimelineAddEntries:
24
- properties:
25
- entries:
26
- items:
27
- $ref: '#/components/schemas/TimelineAddEntry'
28
- type: array
29
- type:
30
- $ref: '#/components/schemas/InstructionType'
31
- type: string
32
- required:
33
- - type
34
- - entries
35
- TimelineAddEntry:
36
- properties:
37
- content:
38
- $ref: ./content.yaml#/components/schemas/ContentUnion
39
- entryId:
40
- pattern: ^[a-z\-]+[0-9]+$
41
- type: string
42
- sortIndex:
43
- pattern: '[0-9]+$'
44
- type: string
45
- required:
46
- - content
47
- - entryId
48
- - sortIndex
49
- TimelineClearCache:
50
- properties:
51
- type:
52
- $ref: '#/components/schemas/InstructionType'
53
- type: string
54
- required:
55
- - type
56
- TimelinePinEntry:
57
- properties:
58
- entry:
59
- $ref: '#/components/schemas/TimelineAddEntry'
60
- type:
61
- $ref: '#/components/schemas/InstructionType'
62
- type: string
63
- required:
64
- - type
65
- - entry
66
- TimelineTerminateTimeline:
67
- properties:
68
- direction:
69
- enum:
70
- - Top
71
- - Bottom
72
- type: string
73
- type:
74
- $ref: '#/components/schemas/InstructionType'
75
- type: string
76
- required:
77
- - type
78
- - direction
79
- info:
80
- title: Twitter OpenAPI
81
- version: 0.0.1
82
- openapi: 3.0.3
83
- paths: {}
@@ -1,25 +0,0 @@
1
- components:
2
- schemas:
3
- Timeline:
4
- properties:
5
- instructions:
6
- items:
7
- $ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
8
- type: array
9
- metadata:
10
- type: object
11
- responseObjects:
12
- type: object
13
- required:
14
- - instructions
15
- TimelineV2:
16
- properties:
17
- timeline:
18
- $ref: '#/components/schemas/Timeline'
19
- required:
20
- - timeline
21
- info:
22
- title: Twitter OpenAPI
23
- version: 0.0.1
24
- openapi: 3.0.3
25
- paths: {}
@@ -1,251 +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
- core:
98
- $ref: ./user.yaml#/components/schemas/UserResultCore
99
- edit_control:
100
- properties:
101
- edit_tweet_ids:
102
- items:
103
- pattern: ^[0-9]+$
104
- type: string
105
- type: array
106
- editable_until_msecs:
107
- pattern: ^[0-9]+$
108
- type: string
109
- edits_remaining:
110
- pattern: ^[0-9]+$
111
- type: string
112
- is_edit_eligible:
113
- type: boolean
114
- type: object
115
- edit_prespective:
116
- properties:
117
- favorited:
118
- type: boolean
119
- retweeted:
120
- type: boolean
121
- type: object
122
- is_translatable:
123
- default: false
124
- type: boolean
125
- legacy:
126
- $ref: '#/components/schemas/TweetLegacy'
127
- quoted_status_result:
128
- $ref: ./content.yaml#/components/schemas/ItemResult
129
- rest_id:
130
- pattern: ^[0-9]+$
131
- type: string
132
- unmention_data:
133
- type: object
134
- views:
135
- properties:
136
- count:
137
- pattern: ^[0-9]+$
138
- type: string
139
- state:
140
- type: string
141
- type: object
142
- required:
143
- - rest_id
144
- - core
145
- - edit_control
146
- - edit_prespective
147
- - is_translatable
148
- - legacy
149
- - views
150
- TweetLegacy:
151
- properties:
152
- bookmark_count:
153
- type: integer
154
- bookmarked:
155
- type: boolean
156
- conversation_id_str:
157
- pattern: ^[0-9]+$
158
- type: string
159
- created_at:
160
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
161
- display_text_range:
162
- items:
163
- type: integer
164
- type: array
165
- entities:
166
- $ref: '#/components/schemas/Entities'
167
- extended_entities:
168
- $ref: '#/components/schemas/ExtendedEntities'
169
- favorite_count:
170
- type: integer
171
- favorited:
172
- type: boolean
173
- full_text:
174
- type: string
175
- id_str:
176
- pattern: ^[0-9]+$
177
- type: string
178
- is_quote_status:
179
- type: boolean
180
- lang:
181
- type: string
182
- possibly_sensitive:
183
- default: false
184
- type: boolean
185
- possibly_sensitive_editable:
186
- default: false
187
- type: boolean
188
- quote_count:
189
- type: integer
190
- reply_count:
191
- type: integer
192
- retweet_count:
193
- type: integer
194
- retweeted:
195
- type: boolean
196
- retweeted_status_result:
197
- $ref: ./content.yaml#/components/schemas/ItemResult
198
- user_id_str:
199
- pattern: ^[0-9]+$
200
- type: string
201
- required:
202
- - bookmark_count
203
- - bookmarked
204
- - conversation_id_str
205
- - created_at
206
- - display_text_range
207
- - entities
208
- - favorite_count
209
- - favorited
210
- - full_text
211
- - is_quote_status
212
- - lang
213
- - quote_count
214
- - reply_count
215
- - retweet_count
216
- - retweeted
217
- - user_id_str
218
- - id_str
219
- TweetTombstone:
220
- properties:
221
- __typename:
222
- $ref: ./typename.yaml#/components/schemas/TypeName
223
- TweetUnion:
224
- discriminator:
225
- mapping":
226
- Tweet: '#/components/schemas/Tweet'
227
- TweetTombstone: '#/components/schemas/TweetTombstone'
228
- TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
229
- propertyName: __typename
230
- oneOf:
231
- - $ref: '#/components/schemas/Tweet'
232
- - $ref: '#/components/schemas/TweetWithVisibilityResults'
233
- - $ref: '#/components/schemas/TweetTombstone'
234
- TweetWithVisibilityResults:
235
- properties:
236
- __typename:
237
- $ref: ./typename.yaml#/components/schemas/TypeName
238
- tweet:
239
- $ref: '#/components/schemas/Tweet'
240
- required:
241
- - __typename
242
- - tweet
243
- Url:
244
- type: object
245
- UserMention:
246
- type: object
247
- info:
248
- title: Twitter OpenAPI
249
- version: 0.0.1
250
- openapi: 3.0.3
251
- 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: {}