twitter-openapi-typescript-generated 0.0.38 → 0.0.39

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 (110) hide show
  1. package/README.md +652 -28
  2. package/dist/apis/DefaultApi.d.ts +10 -1
  3. package/dist/apis/DefaultApi.d.ts.map +1 -1
  4. package/dist/apis/DefaultApi.js +64 -25
  5. package/dist/apis/DefaultApi.js.map +1 -1
  6. package/dist/apis/OtherApi.d.ts +5 -1
  7. package/dist/apis/OtherApi.d.ts.map +1 -1
  8. package/dist/apis/OtherApi.js +31 -13
  9. package/dist/apis/OtherApi.js.map +1 -1
  10. package/dist/apis/PostApi.d.ts +48 -1
  11. package/dist/apis/PostApi.d.ts.map +1 -1
  12. package/dist/apis/PostApi.js +272 -105
  13. package/dist/apis/PostApi.js.map +1 -1
  14. package/dist/apis/TweetApi.d.ts +71 -1
  15. package/dist/apis/TweetApi.d.ts.map +1 -1
  16. package/dist/apis/TweetApi.js +476 -181
  17. package/dist/apis/TweetApi.js.map +1 -1
  18. package/dist/apis/UserApi.d.ts +9 -1
  19. package/dist/apis/UserApi.d.ts.map +1 -1
  20. package/dist/apis/UserApi.js +63 -25
  21. package/dist/apis/UserApi.js.map +1 -1
  22. package/dist/apis/UserListApi.d.ts +23 -1
  23. package/dist/apis/UserListApi.d.ts.map +1 -1
  24. package/dist/apis/UserListApi.js +158 -61
  25. package/dist/apis/UserListApi.js.map +1 -1
  26. package/dist/apis/UsersApi.d.ts +5 -1
  27. package/dist/apis/UsersApi.d.ts.map +1 -1
  28. package/dist/apis/UsersApi.js +32 -13
  29. package/dist/apis/UsersApi.js.map +1 -1
  30. package/dist/apis/V11GetApi.d.ts +8 -0
  31. package/dist/apis/V11GetApi.d.ts.map +1 -1
  32. package/dist/apis/V11GetApi.js +58 -22
  33. package/dist/apis/V11GetApi.js.map +1 -1
  34. package/dist/apis/V11PostApi.d.ts +8 -0
  35. package/dist/apis/V11PostApi.d.ts.map +1 -1
  36. package/dist/apis/V11PostApi.js +50 -16
  37. package/dist/apis/V11PostApi.js.map +1 -1
  38. package/dist/apis/V20GetApi.d.ts +4 -0
  39. package/dist/apis/V20GetApi.d.ts.map +1 -1
  40. package/dist/apis/V20GetApi.js +29 -11
  41. package/dist/apis/V20GetApi.js.map +1 -1
  42. package/dist/models/AuthorCommunityRelationship.d.ts +1 -1
  43. package/dist/models/BirdwatchEntityRef.d.ts +2 -2
  44. package/dist/models/BirdwatchPivot.d.ts +2 -2
  45. package/dist/models/CommunityData.d.ts +3 -3
  46. package/dist/models/CommunityDeleteActionResult.d.ts +1 -1
  47. package/dist/models/CommunityInvitesResult.d.ts +1 -1
  48. package/dist/models/CommunityJoinActionResultUnion.d.ts.map +1 -1
  49. package/dist/models/CommunityJoinActionResultUnion.js +2 -2
  50. package/dist/models/CommunityJoinActionResultUnion.js.map +1 -1
  51. package/dist/models/CommunityJoinActionUnavailable.d.ts +1 -1
  52. package/dist/models/CommunityLeaveActionResult.d.ts +1 -1
  53. package/dist/models/ContentUnion.d.ts.map +1 -1
  54. package/dist/models/ContentUnion.js +2 -2
  55. package/dist/models/ContentUnion.js.map +1 -1
  56. package/dist/models/ConversationControl.d.ts +1 -1
  57. package/dist/models/CoverCta.d.ts +1 -1
  58. package/dist/models/CtaClientEventInfo.d.ts +1 -1
  59. package/dist/models/ExtMediaAvailability.d.ts +1 -1
  60. package/dist/models/InstructionUnion.d.ts.map +1 -1
  61. package/dist/models/InstructionUnion.js +2 -2
  62. package/dist/models/InstructionUnion.js.map +1 -1
  63. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  64. package/dist/models/ItemContentUnion.js +2 -2
  65. package/dist/models/ItemContentUnion.js.map +1 -1
  66. package/dist/models/LimitedActionResultsData.d.ts +1 -1
  67. package/dist/models/Media.d.ts +1 -1
  68. package/dist/models/MediaExtended.d.ts +1 -1
  69. package/dist/models/MediaSize.d.ts +1 -1
  70. package/dist/models/NoteTweetResultRichTextTag.d.ts +1 -1
  71. package/dist/models/Session.d.ts +1 -1
  72. package/dist/models/SocialContextLandingUrl.d.ts +1 -1
  73. package/dist/models/SocialContextUnion.d.ts.map +1 -1
  74. package/dist/models/SocialContextUnion.js +2 -2
  75. package/dist/models/SocialContextUnion.js.map +1 -1
  76. package/dist/models/TextEntityRef.d.ts +2 -2
  77. package/dist/models/TimelineCoverBehavior.d.ts +1 -1
  78. package/dist/models/TimelineCoverBehaviorUrl.d.ts +1 -1
  79. package/dist/models/TimelineGeneralContext.d.ts +1 -1
  80. package/dist/models/TimelineHalfCover.d.ts +2 -2
  81. package/dist/models/TimelineShowAlert.d.ts +2 -2
  82. package/dist/models/TimelineTerminateTimeline.d.ts +1 -1
  83. package/dist/models/TimelineTombstone.d.ts +1 -1
  84. package/dist/models/TimelineTopicContext.d.ts +1 -1
  85. package/dist/models/TimelineTweet.d.ts +1 -1
  86. package/dist/models/TimelineUser.d.ts +1 -1
  87. package/dist/models/TombstoneRef.d.ts +2 -2
  88. package/dist/models/TweetCardPlatformAudience.d.ts +1 -1
  89. package/dist/models/TweetInterstitial.d.ts +1 -1
  90. package/dist/models/TweetInterstitialTextEntityRef.d.ts +2 -2
  91. package/dist/models/TweetLegacy.d.ts +1 -1
  92. package/dist/models/TweetPreviewDisplayCtaUrl.d.ts +1 -1
  93. package/dist/models/TweetUnion.d.ts.map +1 -1
  94. package/dist/models/TweetUnion.js +2 -2
  95. package/dist/models/TweetUnion.js.map +1 -1
  96. package/dist/models/TweetView.d.ts +1 -1
  97. package/dist/models/UnifiedCard.d.ts +1 -1
  98. package/dist/models/User.d.ts +2 -2
  99. package/dist/models/UserLegacy.d.ts +1 -1
  100. package/dist/models/UserLegacyExtendedProfileBirthdate.d.ts +2 -2
  101. package/dist/models/UserProfessional.d.ts +1 -1
  102. package/dist/models/UserUnion.d.ts.map +1 -1
  103. package/dist/models/UserUnion.js +2 -2
  104. package/dist/models/UserUnion.js.map +1 -1
  105. package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +1 -1
  106. package/dist/runtime.d.ts +3 -1
  107. package/dist/runtime.d.ts.map +1 -1
  108. package/dist/runtime.js +25 -5
  109. package/dist/runtime.js.map +1 -1
  110. package/package.json +2 -2
package/README.md CHANGED
@@ -1,46 +1,670 @@
1
- ## twitter-openapi-typescript-generated@0.0.37
1
+ # twitter-openapi-typescript-generated@0.0.39
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ A TypeScript SDK client for the x.com API.
4
4
 
5
- Environment
6
- * Node.js
7
- * Webpack
8
- * Browserify
5
+ ## Usage
9
6
 
10
- Language level
11
- * ES5 - you must have a Promises/A+ library installed
12
- * ES6
7
+ First, install the SDK from npm.
13
8
 
14
- Module system
15
- * CommonJS
16
- * ES6 module system
9
+ ```bash
10
+ npm install twitter-openapi-typescript-generated --save
11
+ ```
17
12
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
13
+ Next, try it out.
19
14
 
20
- ### Building
21
15
 
22
- To build and compile the typescript sources to javascript use:
23
- ```
24
- npm install
25
- npm run build
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ DefaultApi,
20
+ } from 'twitter-openapi-typescript-generated';
21
+ import type { GetProfileSpotlightsQueryRequest } from 'twitter-openapi-typescript-generated';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing twitter-openapi-typescript-generated SDK...");
25
+ const config = new Configuration({
26
+ // To configure API key authorization: Accept
27
+ apiKey: "YOUR API KEY",
28
+ // To configure API key authorization: ClientLanguage
29
+ apiKey: "YOUR API KEY",
30
+ // To configure API key authorization: Priority
31
+ apiKey: "YOUR API KEY",
32
+ // To configure API key authorization: Referer
33
+ apiKey: "YOUR API KEY",
34
+ // To configure API key authorization: SecFetchDest
35
+ apiKey: "YOUR API KEY",
36
+ // To configure API key authorization: SecChUaPlatform
37
+ apiKey: "YOUR API KEY",
38
+ // To configure API key authorization: SecFetchMode
39
+ apiKey: "YOUR API KEY",
40
+ // To configure API key authorization: CsrfToken
41
+ apiKey: "YOUR API KEY",
42
+ // To configure API key authorization: ClientUuid
43
+ apiKey: "YOUR API KEY",
44
+ // Configure HTTP bearer authorization: BearerAuth
45
+ accessToken: "YOUR BEARER TOKEN",
46
+ // To configure API key authorization: GuestToken
47
+ apiKey: "YOUR API KEY",
48
+ // To configure API key authorization: SecChUa
49
+ apiKey: "YOUR API KEY",
50
+ // To configure API key authorization: CookieGt0
51
+ apiKey: "YOUR API KEY",
52
+ // To configure API key authorization: ClientTransactionId
53
+ apiKey: "YOUR API KEY",
54
+ // To configure API key authorization: ActiveUser
55
+ apiKey: "YOUR API KEY",
56
+ // To configure API key authorization: CookieCt0
57
+ apiKey: "YOUR API KEY",
58
+ // To configure API key authorization: UserAgent
59
+ apiKey: "YOUR API KEY",
60
+ // To configure API key authorization: AcceptLanguage
61
+ apiKey: "YOUR API KEY",
62
+ // To configure API key authorization: SecFetchSite
63
+ apiKey: "YOUR API KEY",
64
+ // To configure API key authorization: AuthType
65
+ apiKey: "YOUR API KEY",
66
+ // To configure API key authorization: CookieAuthToken
67
+ apiKey: "YOUR API KEY",
68
+ // To configure API key authorization: SecChUaMobile
69
+ apiKey: "YOUR API KEY",
70
+ // To configure API key authorization: AcceptEncoding
71
+ apiKey: "YOUR API KEY",
72
+ });
73
+ const api = new DefaultApi(config);
74
+
75
+ const body = {
76
+ // string
77
+ pathQueryId: -0XdHI-mrHWBQd8-oLo1aA,
78
+ // string
79
+ variables: {"screen_name": "elonmusk"},
80
+ // string
81
+ features: {},
82
+ } satisfies GetProfileSpotlightsQueryRequest;
83
+
84
+ try {
85
+ const data = await api.getProfileSpotlightsQuery(body);
86
+ console.log(data);
87
+ } catch (error) {
88
+ console.error(error);
89
+ }
90
+ }
91
+
92
+ // Run the test
93
+ example().catch(console.error);
26
94
  ```
27
95
 
28
- ### Publishing
29
96
 
30
- First build the package then run `npm publish`
97
+ ## Documentation
31
98
 
32
- ### Consuming
99
+ ### API Endpoints
33
100
 
34
- navigate to the folder of your consuming project and run one of the following commands.
101
+ All URIs are relative to *https://x.com/i/api*
35
102
 
36
- _published:_
103
+ | Class | Method | HTTP request | Description
104
+ | ----- | ------ | ------------ | -------------
105
+ *DefaultApi* | [**getProfileSpotlightsQuery**](docs/DefaultApi.md#getprofilespotlightsquery) | **GET** /graphql/{pathQueryId}/ProfileSpotlightsQuery |
106
+ *DefaultApi* | [**getTweetResultByRestId**](docs/DefaultApi.md#gettweetresultbyrestid) | **GET** /graphql/{pathQueryId}/TweetResultByRestId |
107
+ *OtherApi* | [**other**](docs/OtherApi.md#other) | **GET** /other |
108
+ *PostApi* | [**postCreateBookmark**](docs/PostApi.md#postcreatebookmarkoperation) | **POST** /graphql/{pathQueryId}/CreateBookmark |
109
+ *PostApi* | [**postCreateRetweet**](docs/PostApi.md#postcreateretweetoperation) | **POST** /graphql/{pathQueryId}/CreateRetweet |
110
+ *PostApi* | [**postCreateTweet**](docs/PostApi.md#postcreatetweetoperation) | **POST** /graphql/{pathQueryId}/CreateTweet |
111
+ *PostApi* | [**postDeleteBookmark**](docs/PostApi.md#postdeletebookmarkoperation) | **POST** /graphql/{pathQueryId}/DeleteBookmark |
112
+ *PostApi* | [**postDeleteRetweet**](docs/PostApi.md#postdeleteretweetoperation) | **POST** /graphql/{pathQueryId}/DeleteRetweet |
113
+ *PostApi* | [**postDeleteTweet**](docs/PostApi.md#postdeletetweetoperation) | **POST** /graphql/{pathQueryId}/DeleteTweet |
114
+ *PostApi* | [**postFavoriteTweet**](docs/PostApi.md#postfavoritetweetoperation) | **POST** /graphql/{pathQueryId}/FavoriteTweet |
115
+ *PostApi* | [**postUnfavoriteTweet**](docs/PostApi.md#postunfavoritetweetoperation) | **POST** /graphql/{pathQueryId}/UnfavoriteTweet |
116
+ *TweetApi* | [**getBookmarks**](docs/TweetApi.md#getbookmarks) | **GET** /graphql/{pathQueryId}/Bookmarks |
117
+ *TweetApi* | [**getCommunityAboutTimeline**](docs/TweetApi.md#getcommunityabouttimeline) | **GET** /graphql/{pathQueryId}/CommunityAboutTimeline |
118
+ *TweetApi* | [**getCommunityMediaTimeline**](docs/TweetApi.md#getcommunitymediatimeline) | **GET** /graphql/{pathQueryId}/CommunityMediaTimeline |
119
+ *TweetApi* | [**getCommunityTweetsTimeline**](docs/TweetApi.md#getcommunitytweetstimeline) | **GET** /graphql/{pathQueryId}/CommunityTweetsTimeline |
120
+ *TweetApi* | [**getHomeLatestTimeline**](docs/TweetApi.md#gethomelatesttimeline) | **GET** /graphql/{pathQueryId}/HomeLatestTimeline |
121
+ *TweetApi* | [**getHomeTimeline**](docs/TweetApi.md#gethometimeline) | **GET** /graphql/{pathQueryId}/HomeTimeline |
122
+ *TweetApi* | [**getLikes**](docs/TweetApi.md#getlikes) | **GET** /graphql/{pathQueryId}/Likes |
123
+ *TweetApi* | [**getListLatestTweetsTimeline**](docs/TweetApi.md#getlistlatesttweetstimeline) | **GET** /graphql/{pathQueryId}/ListLatestTweetsTimeline |
124
+ *TweetApi* | [**getNotificationsTimeline**](docs/TweetApi.md#getnotificationstimeline) | **GET** /graphql/{pathQueryId}/NotificationsTimeline |
125
+ *TweetApi* | [**getSearchTimeline**](docs/TweetApi.md#getsearchtimeline) | **GET** /graphql/{pathQueryId}/SearchTimeline |
126
+ *TweetApi* | [**getTweetDetail**](docs/TweetApi.md#gettweetdetail) | **GET** /graphql/{pathQueryId}/TweetDetail |
127
+ *TweetApi* | [**getUserHighlightsTweets**](docs/TweetApi.md#getuserhighlightstweets) | **GET** /graphql/{pathQueryId}/UserHighlightsTweets |
128
+ *TweetApi* | [**getUserMedia**](docs/TweetApi.md#getusermedia) | **GET** /graphql/{pathQueryId}/UserMedia |
129
+ *TweetApi* | [**getUserTweets**](docs/TweetApi.md#getusertweets) | **GET** /graphql/{pathQueryId}/UserTweets |
130
+ *TweetApi* | [**getUserTweetsAndReplies**](docs/TweetApi.md#getusertweetsandreplies) | **GET** /graphql/{pathQueryId}/UserTweetsAndReplies |
131
+ *UserApi* | [**getUserByRestId**](docs/UserApi.md#getuserbyrestid) | **GET** /graphql/{pathQueryId}/UserByRestId |
132
+ *UserApi* | [**getUserByScreenName**](docs/UserApi.md#getuserbyscreenname) | **GET** /graphql/{pathQueryId}/UserByScreenName |
133
+ *UserListApi* | [**getFavoriters**](docs/UserListApi.md#getfavoriters) | **GET** /graphql/{pathQueryId}/Favoriters |
134
+ *UserListApi* | [**getFollowers**](docs/UserListApi.md#getfollowers) | **GET** /graphql/{pathQueryId}/Followers |
135
+ *UserListApi* | [**getFollowersYouKnow**](docs/UserListApi.md#getfollowersyouknow) | **GET** /graphql/{pathQueryId}/FollowersYouKnow |
136
+ *UserListApi* | [**getFollowing**](docs/UserListApi.md#getfollowing) | **GET** /graphql/{pathQueryId}/Following |
137
+ *UserListApi* | [**getRetweeters**](docs/UserListApi.md#getretweeters) | **GET** /graphql/{pathQueryId}/Retweeters |
138
+ *UsersApi* | [**getUsersByRestIds**](docs/UsersApi.md#getusersbyrestids) | **GET** /graphql/{pathQueryId}/UsersByRestIds |
139
+ *V11GetApi* | [**getFriendsFollowingList**](docs/V11GetApi.md#getfriendsfollowinglist) | **GET** /1.1/friends/following/list.json |
140
+ *V11GetApi* | [**getSearchTypeahead**](docs/V11GetApi.md#getsearchtypeahead) | **GET** /1.1/search/typeahead.json |
141
+ *V11PostApi* | [**postCreateFriendships**](docs/V11PostApi.md#postcreatefriendships) | **POST** /1.1/friendships/create.json |
142
+ *V11PostApi* | [**postDestroyFriendships**](docs/V11PostApi.md#postdestroyfriendships) | **POST** /1.1/friendships/destroy.json |
143
+ *V20GetApi* | [**getSearchAdaptive**](docs/V20GetApi.md#getsearchadaptive) | **GET** /2/search/adaptive.json |
144
+
145
+
146
+ ### Models
147
+
148
+ - [AboutCommunityResult](docs/AboutCommunityResult.md)
149
+ - [AboutCommunityResults](docs/AboutCommunityResults.md)
150
+ - [AboutCommunityTweetData](docs/AboutCommunityTweetData.md)
151
+ - [AdditionalMediaInfo](docs/AdditionalMediaInfo.md)
152
+ - [AdditionalMediaInfoCallToActions](docs/AdditionalMediaInfoCallToActions.md)
153
+ - [AdditionalMediaInfoCallToActionsUrl](docs/AdditionalMediaInfoCallToActionsUrl.md)
154
+ - [AllowDownloadStatus](docs/AllowDownloadStatus.md)
155
+ - [AnalysisResults](docs/AnalysisResults.md)
156
+ - [Article](docs/Article.md)
157
+ - [ArticleCoverMedia](docs/ArticleCoverMedia.md)
158
+ - [ArticleCoverMediaColorInfo](docs/ArticleCoverMediaColorInfo.md)
159
+ - [ArticleCoverMediaColorInfoPalette](docs/ArticleCoverMediaColorInfoPalette.md)
160
+ - [ArticleCoverMediaColorInfoPaletteRGB](docs/ArticleCoverMediaColorInfoPaletteRGB.md)
161
+ - [ArticleCoverMediaInfo](docs/ArticleCoverMediaInfo.md)
162
+ - [ArticleLifecycleState](docs/ArticleLifecycleState.md)
163
+ - [ArticleMetadata](docs/ArticleMetadata.md)
164
+ - [ArticleResult](docs/ArticleResult.md)
165
+ - [ArticleResults](docs/ArticleResults.md)
166
+ - [AuthorCommunityRelationship](docs/AuthorCommunityRelationship.md)
167
+ - [BirdwatchEntity](docs/BirdwatchEntity.md)
168
+ - [BirdwatchEntityRef](docs/BirdwatchEntityRef.md)
169
+ - [BirdwatchPivot](docs/BirdwatchPivot.md)
170
+ - [BirdwatchPivotCallToAction](docs/BirdwatchPivotCallToAction.md)
171
+ - [BirdwatchPivotFooter](docs/BirdwatchPivotFooter.md)
172
+ - [BirdwatchPivotNote](docs/BirdwatchPivotNote.md)
173
+ - [BirdwatchPivotSubtitle](docs/BirdwatchPivotSubtitle.md)
174
+ - [BookmarksResponse](docs/BookmarksResponse.md)
175
+ - [BookmarksResponseData](docs/BookmarksResponseData.md)
176
+ - [BookmarksTimeline](docs/BookmarksTimeline.md)
177
+ - [Callback](docs/Callback.md)
178
+ - [ClientEventInfo](docs/ClientEventInfo.md)
179
+ - [CommunitiesActions](docs/CommunitiesActions.md)
180
+ - [Community](docs/Community.md)
181
+ - [CommunityAboutTimelineResponse](docs/CommunityAboutTimelineResponse.md)
182
+ - [CommunityActions](docs/CommunityActions.md)
183
+ - [CommunityData](docs/CommunityData.md)
184
+ - [CommunityDeleteActionResult](docs/CommunityDeleteActionResult.md)
185
+ - [CommunityInvitesResult](docs/CommunityInvitesResult.md)
186
+ - [CommunityJoinAction](docs/CommunityJoinAction.md)
187
+ - [CommunityJoinActionResultUnion](docs/CommunityJoinActionResultUnion.md)
188
+ - [CommunityJoinActionUnavailable](docs/CommunityJoinActionUnavailable.md)
189
+ - [CommunityJoinRequestsResult](docs/CommunityJoinRequestsResult.md)
190
+ - [CommunityLeaveActionResult](docs/CommunityLeaveActionResult.md)
191
+ - [CommunityMediaTimelineResponse](docs/CommunityMediaTimelineResponse.md)
192
+ - [CommunityPinActionResult](docs/CommunityPinActionResult.md)
193
+ - [CommunityRelationship](docs/CommunityRelationship.md)
194
+ - [CommunityRule](docs/CommunityRule.md)
195
+ - [CommunityTweetsTimelineResponse](docs/CommunityTweetsTimelineResponse.md)
196
+ - [CommunityUnpinActionResult](docs/CommunityUnpinActionResult.md)
197
+ - [CommunityUrls](docs/CommunityUrls.md)
198
+ - [CommunityUrlsPermalink](docs/CommunityUrlsPermalink.md)
199
+ - [ContentEntryType](docs/ContentEntryType.md)
200
+ - [ContentItemType](docs/ContentItemType.md)
201
+ - [ContentUnion](docs/ContentUnion.md)
202
+ - [ConversationControl](docs/ConversationControl.md)
203
+ - [CoverCta](docs/CoverCta.md)
204
+ - [CreateBookmarkResponse](docs/CreateBookmarkResponse.md)
205
+ - [CreateBookmarkResponseData](docs/CreateBookmarkResponseData.md)
206
+ - [CreateRetweet](docs/CreateRetweet.md)
207
+ - [CreateRetweetResponse](docs/CreateRetweetResponse.md)
208
+ - [CreateRetweetResponseData](docs/CreateRetweetResponseData.md)
209
+ - [CreateRetweetResponseResult](docs/CreateRetweetResponseResult.md)
210
+ - [CreateTweet](docs/CreateTweet.md)
211
+ - [CreateTweetResponse](docs/CreateTweetResponse.md)
212
+ - [CreateTweetResponseData](docs/CreateTweetResponseData.md)
213
+ - [CreateTweetResponseResult](docs/CreateTweetResponseResult.md)
214
+ - [CtaClientEventInfo](docs/CtaClientEventInfo.md)
215
+ - [CursorType](docs/CursorType.md)
216
+ - [DeleteBookmarkResponse](docs/DeleteBookmarkResponse.md)
217
+ - [DeleteBookmarkResponseData](docs/DeleteBookmarkResponseData.md)
218
+ - [DeleteRetweet](docs/DeleteRetweet.md)
219
+ - [DeleteRetweetResponse](docs/DeleteRetweetResponse.md)
220
+ - [DeleteRetweetResponseData](docs/DeleteRetweetResponseData.md)
221
+ - [DeleteRetweetResponseResult](docs/DeleteRetweetResponseResult.md)
222
+ - [DeleteTweetResponse](docs/DeleteTweetResponse.md)
223
+ - [DeleteTweetResponseData](docs/DeleteTweetResponseData.md)
224
+ - [DeleteTweetResponseResult](docs/DeleteTweetResponseResult.md)
225
+ - [DisplayTreatment](docs/DisplayTreatment.md)
226
+ - [DisplayType](docs/DisplayType.md)
227
+ - [Entities](docs/Entities.md)
228
+ - [ErrorExtensions](docs/ErrorExtensions.md)
229
+ - [ErrorResponse](docs/ErrorResponse.md)
230
+ - [ExtMediaAvailability](docs/ExtMediaAvailability.md)
231
+ - [ExtendedEntities](docs/ExtendedEntities.md)
232
+ - [FavoriteTweet](docs/FavoriteTweet.md)
233
+ - [FavoriteTweetResponse](docs/FavoriteTweetResponse.md)
234
+ - [FeedbackInfo](docs/FeedbackInfo.md)
235
+ - [FollowResponse](docs/FollowResponse.md)
236
+ - [FollowResponseData](docs/FollowResponseData.md)
237
+ - [FollowResponseResult](docs/FollowResponseResult.md)
238
+ - [FollowResponseUser](docs/FollowResponseUser.md)
239
+ - [FollowTimeline](docs/FollowTimeline.md)
240
+ - [GrokImageAnnotation](docs/GrokImageAnnotation.md)
241
+ - [GrokShareAttachment](docs/GrokShareAttachment.md)
242
+ - [GrokShareAttachmentItem](docs/GrokShareAttachmentItem.md)
243
+ - [Highlight](docs/Highlight.md)
244
+ - [HomeTimelineHome](docs/HomeTimelineHome.md)
245
+ - [HomeTimelineResponseData](docs/HomeTimelineResponseData.md)
246
+ - [InstructionType](docs/InstructionType.md)
247
+ - [InstructionUnion](docs/InstructionUnion.md)
248
+ - [ItemContentUnion](docs/ItemContentUnion.md)
249
+ - [ItemResult](docs/ItemResult.md)
250
+ - [LimitedActionResultsData](docs/LimitedActionResultsData.md)
251
+ - [ListLatestTweetsTimelineResponse](docs/ListLatestTweetsTimelineResponse.md)
252
+ - [ListTweetsTimelineData](docs/ListTweetsTimelineData.md)
253
+ - [ListTweetsTimelineList](docs/ListTweetsTimelineList.md)
254
+ - [Location](docs/Location.md)
255
+ - [Media](docs/Media.md)
256
+ - [MediaCommunityResult](docs/MediaCommunityResult.md)
257
+ - [MediaCommunityResults](docs/MediaCommunityResults.md)
258
+ - [MediaCommunityTweetData](docs/MediaCommunityTweetData.md)
259
+ - [MediaExtended](docs/MediaExtended.md)
260
+ - [MediaOriginalInfo](docs/MediaOriginalInfo.md)
261
+ - [MediaOriginalInfoFocusRect](docs/MediaOriginalInfoFocusRect.md)
262
+ - [MediaResult](docs/MediaResult.md)
263
+ - [MediaResults](docs/MediaResults.md)
264
+ - [MediaSize](docs/MediaSize.md)
265
+ - [MediaSizes](docs/MediaSizes.md)
266
+ - [MediaStats](docs/MediaStats.md)
267
+ - [MediaVideoInfo](docs/MediaVideoInfo.md)
268
+ - [MediaVideoInfoVariant](docs/MediaVideoInfoVariant.md)
269
+ - [MediaVisibilityResults](docs/MediaVisibilityResults.md)
270
+ - [MediaVisibilityResultsBlurredImageInterstitial](docs/MediaVisibilityResultsBlurredImageInterstitial.md)
271
+ - [ModuleEntry](docs/ModuleEntry.md)
272
+ - [ModuleItem](docs/ModuleItem.md)
273
+ - [NoteTweet](docs/NoteTweet.md)
274
+ - [NoteTweetResult](docs/NoteTweetResult.md)
275
+ - [NoteTweetResultData](docs/NoteTweetResultData.md)
276
+ - [NoteTweetResultMedia](docs/NoteTweetResultMedia.md)
277
+ - [NoteTweetResultMediaInlineMedia](docs/NoteTweetResultMediaInlineMedia.md)
278
+ - [NoteTweetResultRichText](docs/NoteTweetResultRichText.md)
279
+ - [NoteTweetResultRichTextTag](docs/NoteTweetResultRichTextTag.md)
280
+ - [NotificationTemplate](docs/NotificationTemplate.md)
281
+ - [NotificationsResult](docs/NotificationsResult.md)
282
+ - [NotificationsTimelineData](docs/NotificationsTimelineData.md)
283
+ - [NotificationsTimelineResponse](docs/NotificationsTimelineResponse.md)
284
+ - [NotificationsUserResults](docs/NotificationsUserResults.md)
285
+ - [NotificationsViewerV2](docs/NotificationsViewerV2.md)
286
+ - [OneFactorLoginEligibility](docs/OneFactorLoginEligibility.md)
287
+ - [OtherObjectAll](docs/OtherObjectAll.md)
288
+ - [PostCreateBookmarkRequest](docs/PostCreateBookmarkRequest.md)
289
+ - [PostCreateBookmarkRequestVariables](docs/PostCreateBookmarkRequestVariables.md)
290
+ - [PostCreateRetweetRequest](docs/PostCreateRetweetRequest.md)
291
+ - [PostCreateRetweetRequestVariables](docs/PostCreateRetweetRequestVariables.md)
292
+ - [PostCreateTweetRequest](docs/PostCreateTweetRequest.md)
293
+ - [PostCreateTweetRequestFeatures](docs/PostCreateTweetRequestFeatures.md)
294
+ - [PostCreateTweetRequestVariables](docs/PostCreateTweetRequestVariables.md)
295
+ - [PostCreateTweetRequestVariablesConversationControl](docs/PostCreateTweetRequestVariablesConversationControl.md)
296
+ - [PostCreateTweetRequestVariablesMedia](docs/PostCreateTweetRequestVariablesMedia.md)
297
+ - [PostCreateTweetRequestVariablesMediaMediaEntitiesInner](docs/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.md)
298
+ - [PostCreateTweetRequestVariablesReply](docs/PostCreateTweetRequestVariablesReply.md)
299
+ - [PostDeleteBookmarkRequest](docs/PostDeleteBookmarkRequest.md)
300
+ - [PostDeleteRetweetRequest](docs/PostDeleteRetweetRequest.md)
301
+ - [PostDeleteRetweetRequestVariables](docs/PostDeleteRetweetRequestVariables.md)
302
+ - [PostDeleteTweetRequest](docs/PostDeleteTweetRequest.md)
303
+ - [PostFavoriteTweetRequest](docs/PostFavoriteTweetRequest.md)
304
+ - [PostUnfavoriteTweetRequest](docs/PostUnfavoriteTweetRequest.md)
305
+ - [PrimaryCommunityTopic](docs/PrimaryCommunityTopic.md)
306
+ - [ProfileResponse](docs/ProfileResponse.md)
307
+ - [ProfileResponseData](docs/ProfileResponseData.md)
308
+ - [QuotedRefResult](docs/QuotedRefResult.md)
309
+ - [QuotedStatusPermalink](docs/QuotedStatusPermalink.md)
310
+ - [RankedCommunityResult](docs/RankedCommunityResult.md)
311
+ - [RankedCommunityResults](docs/RankedCommunityResults.md)
312
+ - [RankedCommunityTweetData](docs/RankedCommunityTweetData.md)
313
+ - [Retweet](docs/Retweet.md)
314
+ - [RetweetLegacy](docs/RetweetLegacy.md)
315
+ - [RichMessage](docs/RichMessage.md)
316
+ - [SearchByRawQuery](docs/SearchByRawQuery.md)
317
+ - [SearchTimeline](docs/SearchTimeline.md)
318
+ - [SearchTimelineData](docs/SearchTimelineData.md)
319
+ - [SearchTimelineResponse](docs/SearchTimelineResponse.md)
320
+ - [SelfThread](docs/SelfThread.md)
321
+ - [SensitiveMediaWarning](docs/SensitiveMediaWarning.md)
322
+ - [Session](docs/Session.md)
323
+ - [SocialContextLandingUrl](docs/SocialContextLandingUrl.md)
324
+ - [SocialContextUnion](docs/SocialContextUnion.md)
325
+ - [SocialContextUnionType](docs/SocialContextUnionType.md)
326
+ - [SuperFollowsReplyUserResult](docs/SuperFollowsReplyUserResult.md)
327
+ - [SuperFollowsReplyUserResultData](docs/SuperFollowsReplyUserResultData.md)
328
+ - [SuperFollowsReplyUserResultLegacy](docs/SuperFollowsReplyUserResultLegacy.md)
329
+ - [Text](docs/Text.md)
330
+ - [TextEntity](docs/TextEntity.md)
331
+ - [TextEntityRef](docs/TextEntityRef.md)
332
+ - [TextHighlight](docs/TextHighlight.md)
333
+ - [ThumbnailImage](docs/ThumbnailImage.md)
334
+ - [Timeline](docs/Timeline.md)
335
+ - [TimelineAddEntries](docs/TimelineAddEntries.md)
336
+ - [TimelineAddEntry](docs/TimelineAddEntry.md)
337
+ - [TimelineAddToModule](docs/TimelineAddToModule.md)
338
+ - [TimelineClearCache](docs/TimelineClearCache.md)
339
+ - [TimelineClearEntriesUnreadState](docs/TimelineClearEntriesUnreadState.md)
340
+ - [TimelineCommunity](docs/TimelineCommunity.md)
341
+ - [TimelineCoverBehavior](docs/TimelineCoverBehavior.md)
342
+ - [TimelineCoverBehaviorUrl](docs/TimelineCoverBehaviorUrl.md)
343
+ - [TimelineGeneralContext](docs/TimelineGeneralContext.md)
344
+ - [TimelineHalfCover](docs/TimelineHalfCover.md)
345
+ - [TimelineMarkEntriesUnreadGreaterThanSortIndex](docs/TimelineMarkEntriesUnreadGreaterThanSortIndex.md)
346
+ - [TimelineMessagePrompt](docs/TimelineMessagePrompt.md)
347
+ - [TimelineNotification](docs/TimelineNotification.md)
348
+ - [TimelinePinEntry](docs/TimelinePinEntry.md)
349
+ - [TimelinePrompt](docs/TimelinePrompt.md)
350
+ - [TimelineReplaceEntry](docs/TimelineReplaceEntry.md)
351
+ - [TimelineResponse](docs/TimelineResponse.md)
352
+ - [TimelineResult](docs/TimelineResult.md)
353
+ - [TimelineShowAlert](docs/TimelineShowAlert.md)
354
+ - [TimelineShowAlertRichText](docs/TimelineShowAlertRichText.md)
355
+ - [TimelineShowCover](docs/TimelineShowCover.md)
356
+ - [TimelineTerminateTimeline](docs/TimelineTerminateTimeline.md)
357
+ - [TimelineTimelineCursor](docs/TimelineTimelineCursor.md)
358
+ - [TimelineTimelineItem](docs/TimelineTimelineItem.md)
359
+ - [TimelineTimelineModule](docs/TimelineTimelineModule.md)
360
+ - [TimelineTombstone](docs/TimelineTombstone.md)
361
+ - [TimelineTopicContext](docs/TimelineTopicContext.md)
362
+ - [TimelineTrend](docs/TimelineTrend.md)
363
+ - [TimelineTweet](docs/TimelineTweet.md)
364
+ - [TimelineUser](docs/TimelineUser.md)
365
+ - [Timestamp](docs/Timestamp.md)
366
+ - [TombstoneEntity](docs/TombstoneEntity.md)
367
+ - [TombstoneInfo](docs/TombstoneInfo.md)
368
+ - [TombstoneRef](docs/TombstoneRef.md)
369
+ - [TombstoneRichText](docs/TombstoneRichText.md)
370
+ - [TopicContext](docs/TopicContext.md)
371
+ - [Tracing](docs/Tracing.md)
372
+ - [TrendImage](docs/TrendImage.md)
373
+ - [TrendMetadata](docs/TrendMetadata.md)
374
+ - [TrendResults](docs/TrendResults.md)
375
+ - [Tweet](docs/Tweet.md)
376
+ - [TweetCard](docs/TweetCard.md)
377
+ - [TweetCardLegacy](docs/TweetCardLegacy.md)
378
+ - [TweetCardLegacyBindingValue](docs/TweetCardLegacyBindingValue.md)
379
+ - [TweetCardLegacyBindingValueData](docs/TweetCardLegacyBindingValueData.md)
380
+ - [TweetCardLegacyBindingValueDataImage](docs/TweetCardLegacyBindingValueDataImage.md)
381
+ - [TweetCardPlatform](docs/TweetCardPlatform.md)
382
+ - [TweetCardPlatformAudience](docs/TweetCardPlatformAudience.md)
383
+ - [TweetCardPlatformData](docs/TweetCardPlatformData.md)
384
+ - [TweetCardPlatformDevice](docs/TweetCardPlatformDevice.md)
385
+ - [TweetDetailResponse](docs/TweetDetailResponse.md)
386
+ - [TweetDetailResponseData](docs/TweetDetailResponseData.md)
387
+ - [TweetEditControl](docs/TweetEditControl.md)
388
+ - [TweetEditControlInitial](docs/TweetEditControlInitial.md)
389
+ - [TweetEditPrespective](docs/TweetEditPrespective.md)
390
+ - [TweetFavoritersResponse](docs/TweetFavoritersResponse.md)
391
+ - [TweetFavoritersResponseData](docs/TweetFavoritersResponseData.md)
392
+ - [TweetInterstitial](docs/TweetInterstitial.md)
393
+ - [TweetInterstitialRevealText](docs/TweetInterstitialRevealText.md)
394
+ - [TweetInterstitialText](docs/TweetInterstitialText.md)
395
+ - [TweetInterstitialTextEntity](docs/TweetInterstitialTextEntity.md)
396
+ - [TweetInterstitialTextEntityRef](docs/TweetInterstitialTextEntityRef.md)
397
+ - [TweetLegacy](docs/TweetLegacy.md)
398
+ - [TweetLegacyScopes](docs/TweetLegacyScopes.md)
399
+ - [TweetLimitedActionResults](docs/TweetLimitedActionResults.md)
400
+ - [TweetPreviewDisplay](docs/TweetPreviewDisplay.md)
401
+ - [TweetPreviewDisplayCta](docs/TweetPreviewDisplayCta.md)
402
+ - [TweetPreviewDisplayCtaUrl](docs/TweetPreviewDisplayCtaUrl.md)
403
+ - [TweetPreviewDisplayTweet](docs/TweetPreviewDisplayTweet.md)
404
+ - [TweetPreviewDisplayTweetViewCount](docs/TweetPreviewDisplayTweetViewCount.md)
405
+ - [TweetPreviousCounts](docs/TweetPreviousCounts.md)
406
+ - [TweetResultByRestIdData](docs/TweetResultByRestIdData.md)
407
+ - [TweetResultByRestIdResponse](docs/TweetResultByRestIdResponse.md)
408
+ - [TweetRetweetersResponse](docs/TweetRetweetersResponse.md)
409
+ - [TweetRetweetersResponseData](docs/TweetRetweetersResponseData.md)
410
+ - [TweetTombstone](docs/TweetTombstone.md)
411
+ - [TweetUnavailable](docs/TweetUnavailable.md)
412
+ - [TweetUnion](docs/TweetUnion.md)
413
+ - [TweetView](docs/TweetView.md)
414
+ - [TweetWithVisibilityResults](docs/TweetWithVisibilityResults.md)
415
+ - [TypeName](docs/TypeName.md)
416
+ - [UnfavoriteTweet](docs/UnfavoriteTweet.md)
417
+ - [UnfavoriteTweetResponse](docs/UnfavoriteTweetResponse.md)
418
+ - [UnifiedCard](docs/UnifiedCard.md)
419
+ - [Url](docs/Url.md)
420
+ - [UrtEndpointOptions](docs/UrtEndpointOptions.md)
421
+ - [UrtEndpointRequestParams](docs/UrtEndpointRequestParams.md)
422
+ - [User](docs/User.md)
423
+ - [UserFeatures](docs/UserFeatures.md)
424
+ - [UserHighlightsInfo](docs/UserHighlightsInfo.md)
425
+ - [UserHighlightsTweetsData](docs/UserHighlightsTweetsData.md)
426
+ - [UserHighlightsTweetsResponse](docs/UserHighlightsTweetsResponse.md)
427
+ - [UserHighlightsTweetsResult](docs/UserHighlightsTweetsResult.md)
428
+ - [UserHighlightsTweetsTimeline](docs/UserHighlightsTweetsTimeline.md)
429
+ - [UserHighlightsTweetsUser](docs/UserHighlightsTweetsUser.md)
430
+ - [UserLegacy](docs/UserLegacy.md)
431
+ - [UserLegacyExtendedProfile](docs/UserLegacyExtendedProfile.md)
432
+ - [UserLegacyExtendedProfileBirthdate](docs/UserLegacyExtendedProfileBirthdate.md)
433
+ - [UserProfessional](docs/UserProfessional.md)
434
+ - [UserProfessionalCategory](docs/UserProfessionalCategory.md)
435
+ - [UserResponse](docs/UserResponse.md)
436
+ - [UserResponseData](docs/UserResponseData.md)
437
+ - [UserResultByScreenName](docs/UserResultByScreenName.md)
438
+ - [UserResultByScreenNameLegacy](docs/UserResultByScreenNameLegacy.md)
439
+ - [UserResultByScreenNameResult](docs/UserResultByScreenNameResult.md)
440
+ - [UserResultCore](docs/UserResultCore.md)
441
+ - [UserResults](docs/UserResults.md)
442
+ - [UserTipJarSettings](docs/UserTipJarSettings.md)
443
+ - [UserTweetsData](docs/UserTweetsData.md)
444
+ - [UserTweetsResponse](docs/UserTweetsResponse.md)
445
+ - [UserTweetsResultV1](docs/UserTweetsResultV1.md)
446
+ - [UserTweetsResultV2](docs/UserTweetsResultV2.md)
447
+ - [UserTweetsUser](docs/UserTweetsUser.md)
448
+ - [UserUnavailable](docs/UserUnavailable.md)
449
+ - [UserUnion](docs/UserUnion.md)
450
+ - [UserValue](docs/UserValue.md)
451
+ - [UserVerificationInfo](docs/UserVerificationInfo.md)
452
+ - [UserVerificationInfoReason](docs/UserVerificationInfoReason.md)
453
+ - [UserVerificationInfoReasonDescription](docs/UserVerificationInfoReasonDescription.md)
454
+ - [UserVerificationInfoReasonDescriptionEntities](docs/UserVerificationInfoReasonDescriptionEntities.md)
455
+ - [UserVerificationInfoReasonDescriptionEntitiesRef](docs/UserVerificationInfoReasonDescriptionEntitiesRef.md)
456
+ - [UsersResponse](docs/UsersResponse.md)
457
+ - [UsersResponseData](docs/UsersResponseData.md)
458
+
459
+ ### Authorization
460
+
461
+
462
+ Authentication schemes defined for the API:
463
+ <a id="Accept"></a>
464
+ #### Accept
465
+
466
+
467
+ - **Type**: API key
468
+ - **API key parameter name**: `Accept`
469
+ - **Location**: HTTP header
470
+ <a id="AcceptEncoding"></a>
471
+ #### AcceptEncoding
472
+
473
+
474
+ - **Type**: API key
475
+ - **API key parameter name**: `Accept-Encoding`
476
+ - **Location**: HTTP header
477
+ <a id="AcceptLanguage"></a>
478
+ #### AcceptLanguage
479
+
480
+
481
+ - **Type**: API key
482
+ - **API key parameter name**: `Accept-Language`
483
+ - **Location**: HTTP header
484
+ <a id="ActiveUser"></a>
485
+ #### ActiveUser
486
+
487
+
488
+ - **Type**: API key
489
+ - **API key parameter name**: `x-twitter-active-user`
490
+ - **Location**: HTTP header
491
+ <a id="AuthType"></a>
492
+ #### AuthType
493
+
494
+
495
+ - **Type**: API key
496
+ - **API key parameter name**: `x-twitter-auth-type`
497
+ - **Location**: HTTP header
498
+ <a id="BearerAuth"></a>
499
+ #### BearerAuth
500
+
501
+
502
+ - **Type**: HTTP Bearer Token authentication
503
+ <a id="ClientLanguage"></a>
504
+ #### ClientLanguage
505
+
506
+
507
+ - **Type**: API key
508
+ - **API key parameter name**: `x-twitter-client-language`
509
+ - **Location**: HTTP header
510
+ <a id="ClientTransactionId"></a>
511
+ #### ClientTransactionId
512
+
513
+
514
+ - **Type**: API key
515
+ - **API key parameter name**: `x-client-transaction-id`
516
+ - **Location**: HTTP header
517
+ <a id="ClientUuid"></a>
518
+ #### ClientUuid
519
+
520
+
521
+ - **Type**: API key
522
+ - **API key parameter name**: `x-client-uuid`
523
+ - **Location**: HTTP header
524
+ <a id="CookieAuthToken"></a>
525
+ #### CookieAuthToken
526
+
527
+
528
+ - **Type**: API key
529
+ - **API key parameter name**: `auth_token`
530
+ - **Location**:
531
+ <a id="CookieCt0"></a>
532
+ #### CookieCt0
533
+
534
+
535
+ - **Type**: API key
536
+ - **API key parameter name**: `ct0`
537
+ - **Location**:
538
+ <a id="CookieGt0"></a>
539
+ #### CookieGt0
37
540
 
38
- ```
39
- npm install twitter-openapi-typescript-generated@0.0.37 --save
40
- ```
41
541
 
42
- _unPublished (not recommended):_
542
+ - **Type**: API key
543
+ - **API key parameter name**: `gt0`
544
+ - **Location**:
545
+ <a id="CsrfToken"></a>
546
+ #### CsrfToken
43
547
 
548
+
549
+ - **Type**: API key
550
+ - **API key parameter name**: `x-csrf-token`
551
+ - **Location**: HTTP header
552
+ <a id="GuestToken"></a>
553
+ #### GuestToken
554
+
555
+
556
+ - **Type**: API key
557
+ - **API key parameter name**: `x-guest-token`
558
+ - **Location**: HTTP header
559
+ <a id="Priority"></a>
560
+ #### Priority
561
+
562
+
563
+ - **Type**: API key
564
+ - **API key parameter name**: `Priority`
565
+ - **Location**: HTTP header
566
+ <a id="Referer"></a>
567
+ #### Referer
568
+
569
+
570
+ - **Type**: API key
571
+ - **API key parameter name**: `Referer`
572
+ - **Location**: HTTP header
573
+ <a id="SecChUa"></a>
574
+ #### SecChUa
575
+
576
+
577
+ - **Type**: API key
578
+ - **API key parameter name**: `Sec-Ch-Ua`
579
+ - **Location**: HTTP header
580
+ <a id="SecChUaMobile"></a>
581
+ #### SecChUaMobile
582
+
583
+
584
+ - **Type**: API key
585
+ - **API key parameter name**: `Sec-Ch-Ua-Mobile`
586
+ - **Location**: HTTP header
587
+ <a id="SecChUaPlatform"></a>
588
+ #### SecChUaPlatform
589
+
590
+
591
+ - **Type**: API key
592
+ - **API key parameter name**: `Sec-Ch-Ua-Platform`
593
+ - **Location**: HTTP header
594
+ <a id="SecFetchDest"></a>
595
+ #### SecFetchDest
596
+
597
+
598
+ - **Type**: API key
599
+ - **API key parameter name**: `Sec-Fetch-Dest`
600
+ - **Location**: HTTP header
601
+ <a id="SecFetchMode"></a>
602
+ #### SecFetchMode
603
+
604
+
605
+ - **Type**: API key
606
+ - **API key parameter name**: `Sec-Fetch-Mode`
607
+ - **Location**: HTTP header
608
+ <a id="SecFetchSite"></a>
609
+ #### SecFetchSite
610
+
611
+
612
+ - **Type**: API key
613
+ - **API key parameter name**: `Sec-Fetch-Site`
614
+ - **Location**: HTTP header
615
+ <a id="UserAgent"></a>
616
+ #### UserAgent
617
+
618
+
619
+ - **Type**: API key
620
+ - **API key parameter name**: `user-agent`
621
+ - **Location**: HTTP header
622
+
623
+ ## About
624
+
625
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
626
+ and is automatically generated by the
627
+ [OpenAPI Generator](https://openapi-generator.tech) project:
628
+
629
+ - API version: `0.0.1`
630
+ - Package version: `0.0.39`
631
+ - Generator version: `7.22.0`
632
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
633
+
634
+ The generated npm module supports the following:
635
+
636
+ - Environments
637
+ * Node.js
638
+ * Webpack
639
+ * Browserify
640
+ - Language levels
641
+ * ES5 - you must have a Promises/A+ library installed
642
+ * ES6
643
+ - Module systems
644
+ * CommonJS
645
+ * ES6 module system
646
+
647
+
648
+ ## Development
649
+
650
+ ### Building
651
+
652
+ To build the TypeScript source code, you need to have Node.js and npm installed.
653
+ After cloning the repository, navigate to the project directory and run:
654
+
655
+ ```bash
656
+ npm install
657
+ npm run build
44
658
  ```
45
- npm install PATH_TO_GENERATED_PACKAGE --save
659
+
660
+ ### Publishing
661
+
662
+ Once you've built the package, you can publish it to npm:
663
+
664
+ ```bash
665
+ npm publish
46
666
  ```
667
+
668
+ ## License
669
+
670
+ [custom license or AGPL-3.0-or-later](https://github.com/fa0311/twitter-openapi#license)