twitter-openapi-typescript-generated 0.0.11 → 0.0.12

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 (168) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/LICENSE +31 -31
  3. package/LICENSE.AGPL +660 -660
  4. package/README.md +2 -2
  5. package/dist/apis/DefaultApi.d.ts.map +1 -1
  6. package/dist/apis/DefaultApi.js +86 -18
  7. package/dist/apis/DefaultApi.js.map +1 -1
  8. package/dist/apis/OtherApi.d.ts.map +1 -1
  9. package/dist/apis/OtherApi.js +43 -9
  10. package/dist/apis/OtherApi.js.map +1 -1
  11. package/dist/apis/PostApi.d.ts.map +1 -1
  12. package/dist/apis/PostApi.js +264 -60
  13. package/dist/apis/PostApi.js.map +1 -1
  14. package/dist/apis/TweetApi.d.ts +1 -2
  15. package/dist/apis/TweetApi.d.ts.map +1 -1
  16. package/dist/apis/TweetApi.js +479 -111
  17. package/dist/apis/TweetApi.js.map +1 -1
  18. package/dist/apis/UserApi.d.ts +1 -0
  19. package/dist/apis/UserApi.d.ts.map +1 -1
  20. package/dist/apis/UserApi.js +92 -18
  21. package/dist/apis/UserApi.js.map +1 -1
  22. package/dist/apis/UserListApi.d.ts +0 -1
  23. package/dist/apis/UserListApi.d.ts.map +1 -1
  24. package/dist/apis/UserListApi.js +215 -51
  25. package/dist/apis/UserListApi.js.map +1 -1
  26. package/dist/apis/UsersApi.d.ts.map +1 -1
  27. package/dist/apis/UsersApi.js +43 -9
  28. package/dist/apis/UsersApi.js.map +1 -1
  29. package/dist/apis/V11GetApi.d.ts.map +1 -1
  30. package/dist/apis/V11GetApi.js +86 -18
  31. package/dist/apis/V11GetApi.js.map +1 -1
  32. package/dist/apis/V11PostApi.d.ts.map +1 -1
  33. package/dist/apis/V11PostApi.js +72 -6
  34. package/dist/apis/V11PostApi.js.map +1 -1
  35. package/dist/apis/V20GetApi.d.ts.map +1 -1
  36. package/dist/apis/V20GetApi.js +43 -9
  37. package/dist/apis/V20GetApi.js.map +1 -1
  38. package/dist/models/CoverCta.d.ts +1 -1
  39. package/dist/models/CoverCta.d.ts.map +1 -1
  40. package/dist/models/CoverCta.js +1 -2
  41. package/dist/models/CoverCta.js.map +1 -1
  42. package/dist/models/DeleteRetweet.d.ts +33 -0
  43. package/dist/models/DeleteRetweet.d.ts.map +1 -0
  44. package/dist/models/DeleteRetweet.js +52 -0
  45. package/dist/models/DeleteRetweet.js.map +1 -0
  46. package/dist/models/DeleteRetweetResponseResult.d.ts +33 -0
  47. package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -0
  48. package/dist/models/DeleteRetweetResponseResult.js +52 -0
  49. package/dist/models/DeleteRetweetResponseResult.js.map +1 -0
  50. package/dist/models/ErrorResponse.d.ts +33 -0
  51. package/dist/models/ErrorResponse.d.ts.map +1 -0
  52. package/dist/models/ErrorResponse.js +52 -0
  53. package/dist/models/ErrorResponse.js.map +1 -0
  54. package/dist/models/Extensions.d.ts +57 -0
  55. package/dist/models/Extensions.d.ts.map +1 -0
  56. package/dist/models/Extensions.js +64 -0
  57. package/dist/models/Extensions.js.map +1 -0
  58. package/dist/models/ListTweetsTimeline.d.ts +1 -1
  59. package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
  60. package/dist/models/ListTweetsTimeline.js +2 -2
  61. package/dist/models/ListTweetsTimeline.js.map +1 -1
  62. package/dist/models/MediaExtended.d.ts +1 -1
  63. package/dist/models/MediaExtended.d.ts.map +1 -1
  64. package/dist/models/MediaExtended.js +1 -2
  65. package/dist/models/MediaExtended.js.map +1 -1
  66. package/dist/models/PostCreateTweetRequestFeatures.d.ts +9 -15
  67. package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
  68. package/dist/models/PostCreateTweetRequestFeatures.js +9 -12
  69. package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
  70. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +3 -2
  71. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
  72. package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -2
  73. package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
  74. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -0
  75. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -0
  76. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +54 -0
  77. package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -0
  78. package/dist/models/UserResults.d.ts +1 -1
  79. package/dist/models/UserResults.d.ts.map +1 -1
  80. package/dist/models/UserResults.js +2 -2
  81. package/dist/models/UserResults.js.map +1 -1
  82. package/dist/models/index.d.ts +5 -0
  83. package/dist/models/index.d.ts.map +1 -1
  84. package/dist/models/index.js +5 -0
  85. package/dist/models/index.js.map +1 -1
  86. package/package.json +1 -1
  87. package/src/apis/DefaultApi.ts +94 -6
  88. package/src/apis/OtherApi.ts +47 -3
  89. package/src/apis/PostApi.ts +282 -18
  90. package/src/apis/TweetApi.ts +526 -51
  91. package/src/apis/UserApi.ts +103 -6
  92. package/src/apis/UserListApi.ts +235 -24
  93. package/src/apis/UsersApi.ts +47 -3
  94. package/src/apis/V11GetApi.ts +94 -6
  95. package/src/apis/V11PostApi.ts +94 -6
  96. package/src/apis/V20GetApi.ts +47 -3
  97. package/src/models/CoverCta.ts +2 -3
  98. package/src/models/DeleteRetweet.ts +73 -0
  99. package/src/models/DeleteRetweetResponseResult.ts +72 -0
  100. package/src/models/ErrorResponse.ts +73 -0
  101. package/src/models/Extensions.ts +109 -0
  102. package/src/models/ListTweetsTimeline.ts +2 -3
  103. package/src/models/MediaExtended.ts +2 -3
  104. package/src/models/PostCreateTweetRequestFeatures.ts +18 -27
  105. package/src/models/PostCreateTweetRequestVariablesMedia.ts +11 -4
  106. package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +75 -0
  107. package/src/models/UserResults.ts +2 -3
  108. package/src/models/index.ts +5 -0
  109. package/tools/openapi-generator-config.yaml +1 -1
  110. package/twitter-openapi/.vscode/launch.json +8 -0
  111. package/twitter-openapi/dist/compatible/openapi-3.0.yaml +5017 -34
  112. package/twitter-openapi/dist/docs/openapi-3.0.yaml +6815 -34
  113. package/twitter-openapi/src/config/component/security_schemes.yaml +148 -0
  114. package/twitter-openapi/src/config/placeholder.json +145 -112
  115. package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -2
  116. package/twitter-openapi/src/openapi/schemas/content.yaml +0 -1
  117. package/twitter-openapi/src/openapi/schemas/general.yaml +2 -2
  118. package/twitter-openapi/src/openapi/schemas/instruction.yaml +0 -1
  119. package/twitter-openapi/src/openapi/schemas/tweet.yaml +1 -1
  120. package/twitter-openapi/src/openapi/schemas/user.yaml +0 -2
  121. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  122. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  123. package/twitter-openapi/tools/build.py +35 -31
  124. package/twitter-openapi/tools/build_config.py +7 -10
  125. package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +0 -107
  126. package/twitter-openapi/dist/compatible/paths/follow.yaml +0 -301
  127. package/twitter-openapi/dist/compatible/paths/other.yaml +0 -99
  128. package/twitter-openapi/dist/compatible/paths/post.yaml +0 -714
  129. package/twitter-openapi/dist/compatible/paths/profile.yaml +0 -126
  130. package/twitter-openapi/dist/compatible/paths/timeline.yaml +0 -416
  131. package/twitter-openapi/dist/compatible/paths/tweet.yaml +0 -397
  132. package/twitter-openapi/dist/compatible/paths/user.yaml +0 -233
  133. package/twitter-openapi/dist/compatible/paths/usertweets.yaml +0 -504
  134. package/twitter-openapi/dist/compatible/paths/v1.1-get.yaml +0 -242
  135. package/twitter-openapi/dist/compatible/paths/v1.1-post.yaml +0 -237
  136. package/twitter-openapi/dist/compatible/paths/v2.0-get.yaml +0 -302
  137. package/twitter-openapi/dist/compatible/resources/parameters.yaml +0 -13
  138. package/twitter-openapi/dist/compatible/response/error.yaml +0 -90
  139. package/twitter-openapi/dist/compatible/schemas/content.yaml +0 -214
  140. package/twitter-openapi/dist/compatible/schemas/error.yaml +0 -94
  141. package/twitter-openapi/dist/compatible/schemas/general.yaml +0 -13
  142. package/twitter-openapi/dist/compatible/schemas/instruction.yaml +0 -286
  143. package/twitter-openapi/dist/compatible/schemas/timeline.yaml +0 -27
  144. package/twitter-openapi/dist/compatible/schemas/tweet.yaml +0 -508
  145. package/twitter-openapi/dist/compatible/schemas/typename.yaml +0 -23
  146. package/twitter-openapi/dist/compatible/schemas/user.yaml +0 -222
  147. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -201
  148. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -587
  149. package/twitter-openapi/dist/docs/paths/other.yaml +0 -99
  150. package/twitter-openapi/dist/docs/paths/post.yaml +0 -692
  151. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -134
  152. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -811
  153. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -797
  154. package/twitter-openapi/dist/docs/paths/user.yaml +0 -338
  155. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1046
  156. package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
  157. package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
  158. package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
  159. package/twitter-openapi/dist/docs/resources/parameters.yaml +0 -13
  160. package/twitter-openapi/dist/docs/response/error.yaml +0 -90
  161. package/twitter-openapi/dist/docs/schemas/content.yaml +0 -214
  162. package/twitter-openapi/dist/docs/schemas/error.yaml +0 -94
  163. package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
  164. package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -286
  165. package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -27
  166. package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -508
  167. package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -23
  168. package/twitter-openapi/dist/docs/schemas/user.yaml +0 -222
@@ -34,6 +34,86 @@ paths:
34
34
  type: string
35
35
  default: "en"
36
36
  description: "language code."
37
+
38
+ # Browser Schemes
39
+ - name: Accept
40
+ in: header
41
+ required: true
42
+ schema:
43
+ type: string
44
+ default: "*/*"
45
+ description: "*/*"
46
+ - name: Accept-Encoding
47
+ in: header
48
+ required: true
49
+ schema:
50
+ type: string
51
+ default: "gzip, deflate, br"
52
+ description: "gzip, deflate, br"
53
+ - name: Accept-Language
54
+ in: header
55
+ required: true
56
+ schema:
57
+ type: string
58
+ default: "en-US,en;q=0.9"
59
+ description: "en-US,en;q=0.9"
60
+ - name: Cache-Control
61
+ in: header
62
+ required: true
63
+ schema:
64
+ type: string
65
+ default: "no-cache"
66
+ description: "no-cache"
67
+ - name: Pragma
68
+ in: header
69
+ required: true
70
+ schema:
71
+ type: string
72
+ default: "no-cache"
73
+ description: "no-cache"
74
+ - name: Sec-Ch-Ua
75
+ in: header
76
+ required: true
77
+ schema:
78
+ type: string
79
+ default: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
80
+ description: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
81
+ - name: Sec-Ch-Ua-Mobile
82
+ in: header
83
+ required: true
84
+ schema:
85
+ type: string
86
+ default: "?0"
87
+ description: "?0"
88
+ - name: Sec-Ch-Ua-Platform
89
+ in: header
90
+ required: true
91
+ schema:
92
+ type: string
93
+ default: '"Windows"'
94
+ description: '"Windows"'
95
+ - name: Sec-Fetch-Dest
96
+ in: header
97
+ required: true
98
+ schema:
99
+ type: string
100
+ default: "empty"
101
+ description: "empty"
102
+ - name: Sec-Fetch-Mode
103
+ in: header
104
+ required: true
105
+ schema:
106
+ type: string
107
+ default: "cors"
108
+ description: "cors"
109
+ - name: Sec-Fetch-Site
110
+ in: header
111
+ required: true
112
+ schema:
113
+ type: string
114
+ default: "same-origin"
115
+ description: "same-origin"
116
+
37
117
  responses:
38
118
  "200":
39
119
  description: ""
@@ -60,8 +140,76 @@ components:
60
140
  name: x-twitter-client-language
61
141
  type: apiKey
62
142
 
143
+ # Browser Schemes
144
+ Accept:
145
+ description: "*/*"
146
+ in: header
147
+ name: Accept
148
+ type: apiKey
149
+ AcceptEncoding:
150
+ description: "gzip, deflate, br"
151
+ in: header
152
+ name: Accept-Encoding
153
+ type: apiKey
154
+ AcceptLanguage:
155
+ description: "en-US,en;q=0.9"
156
+ in: header
157
+ name: Accept-Language
158
+ type: apiKey
159
+ CacheControl:
160
+ description: "no-cache"
161
+ in: header
162
+ name: Cache-Control
163
+ type: apiKey
164
+ Pragma:
165
+ description: "no-cache"
166
+ in: header
167
+ name: Pragma
168
+ type: apiKey
169
+ SecChUa:
170
+ description: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
171
+ in: header
172
+ name: Sec-Ch-Ua
173
+ type: apiKey
174
+ SecChUaMobile:
175
+ description: "?0"
176
+ in: header
177
+ name: Sec-Ch-Ua-Mobile
178
+ type: apiKey
179
+ SecChUaPlatform:
180
+ description: '"Windows"'
181
+ in: header
182
+ name: Sec-Ch-Ua-Platform
183
+ type: apiKey
184
+ SecFetchDest:
185
+ description: "empty"
186
+ in: header
187
+ name: Sec-Fetch-Dest
188
+ type: apiKey
189
+ SecFetchMode:
190
+ description: "cors"
191
+ in: header
192
+ name: Sec-Fetch-Mode
193
+ type: apiKey
194
+ SecFetchSite:
195
+ description: "same-origin"
196
+ in: header
197
+ name: Sec-Fetch-Site
198
+ type: apiKey
199
+
63
200
  security:
64
201
  - UserAgent: []
65
202
  - BearerAuth: []
66
203
  - ActiveUser: []
67
204
  - ClientLanguage: []
205
+ - Accept: []
206
+ - AcceptEncoding: []
207
+ - AcceptLanguage: []
208
+ - CacheControl: []
209
+ - Pragma: []
210
+ - SecChUa: []
211
+ - SecChUaMobile: []
212
+ - SecChUaPlatform: []
213
+ - SecFetchDest: []
214
+ - SecFetchMode: []
215
+ - SecFetchSite: []