twitter-openapi-typescript-generated 0.0.6 → 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.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +0 -6
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +0 -9
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +0 -54
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +0 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +0 -6
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -2
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +0 -12
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/models/TweetLegacy.d.ts +7 -0
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +3 -0
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacySelfThread.d.ts +32 -0
- package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
- package/dist/models/TweetLegacySelfThread.js +51 -0
- package/dist/models/TweetLegacySelfThread.js.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +0 -9
- package/src/apis/TweetApi.ts +0 -81
- package/src/apis/UserApi.ts +0 -9
- package/src/apis/UserListApi.ts +0 -18
- package/src/models/TweetLegacy.ts +14 -0
- package/src/models/TweetLegacySelfThread.ts +66 -0
- package/src/models/index.ts +1 -0
- package/tools/openapi-generator-config.yaml +2 -2
- package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +0 -14
- package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/timeline.yaml +0 -21
- package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +0 -7
- package/twitter-openapi/dist/{typescript → compatible}/paths/usertweets.yaml +0 -28
- package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -112
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -170
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -61
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -41
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build_config.py +67 -190
- package/twitter-openapi/tools/hooks.py +28 -7
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
- package/twitter-openapi/dist/dart/paths/follow.yaml +0 -276
- package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
- package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
- package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -401
- package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
- package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
- package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
- package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
- package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
- package/twitter-openapi/dist/test/paths/other.yaml +0 -96
- package/twitter-openapi/dist/test/paths/post.yaml +0 -527
- package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -396
- package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
- package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/test/response/error.yaml +0 -90
- package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
- package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
- package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
- package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
- package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
- package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
- package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
- package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
- /package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
|
@@ -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: {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|