x-twitter-scraper 0.15.0 → 0.17.0

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 (238) hide show
  1. package/CHANGELOG.md +63 -5
  2. package/README.md +1 -0
  3. package/client.d.mts +12 -4
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +12 -4
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs.map +1 -1
  9. package/internal/detect-platform.d.mts +3 -1
  10. package/internal/detect-platform.d.mts.map +1 -1
  11. package/internal/detect-platform.d.ts +3 -1
  12. package/internal/detect-platform.d.ts.map +1 -1
  13. package/internal/detect-platform.js +1 -1
  14. package/internal/detect-platform.js.map +1 -1
  15. package/internal/detect-platform.mjs +1 -1
  16. package/internal/detect-platform.mjs.map +1 -1
  17. package/internal/uploads.js +1 -1
  18. package/internal/uploads.js.map +1 -1
  19. package/internal/uploads.mjs +1 -1
  20. package/internal/uploads.mjs.map +1 -1
  21. package/package.json +2 -2
  22. package/resources/account.d.mts +5 -0
  23. package/resources/account.d.mts.map +1 -1
  24. package/resources/account.d.ts +5 -0
  25. package/resources/account.d.ts.map +1 -1
  26. package/resources/compose.d.mts +1 -1
  27. package/resources/compose.d.mts.map +1 -1
  28. package/resources/compose.d.ts +1 -1
  29. package/resources/compose.d.ts.map +1 -1
  30. package/resources/drafts.d.mts +13 -3
  31. package/resources/drafts.d.mts.map +1 -1
  32. package/resources/drafts.d.ts +13 -3
  33. package/resources/drafts.d.ts.map +1 -1
  34. package/resources/drafts.js +1 -1
  35. package/resources/drafts.mjs +1 -1
  36. package/resources/events.d.mts +100 -29
  37. package/resources/events.d.mts.map +1 -1
  38. package/resources/events.d.ts +100 -29
  39. package/resources/events.d.ts.map +1 -1
  40. package/resources/events.js.map +1 -1
  41. package/resources/events.mjs.map +1 -1
  42. package/resources/index.d.mts +2 -2
  43. package/resources/index.d.mts.map +1 -1
  44. package/resources/index.d.ts +2 -2
  45. package/resources/index.d.ts.map +1 -1
  46. package/resources/index.js.map +1 -1
  47. package/resources/index.mjs.map +1 -1
  48. package/resources/monitors/index.d.mts +2 -1
  49. package/resources/monitors/index.d.mts.map +1 -1
  50. package/resources/monitors/index.d.ts +2 -1
  51. package/resources/monitors/index.d.ts.map +1 -1
  52. package/resources/monitors/index.js +3 -1
  53. package/resources/monitors/index.js.map +1 -1
  54. package/resources/monitors/index.mjs +1 -0
  55. package/resources/monitors/index.mjs.map +1 -1
  56. package/resources/monitors/keywords.d.mts +15 -65
  57. package/resources/monitors/keywords.d.mts.map +1 -1
  58. package/resources/monitors/keywords.d.ts +15 -65
  59. package/resources/monitors/keywords.d.ts.map +1 -1
  60. package/resources/monitors/monitors.d.mts +12 -5
  61. package/resources/monitors/monitors.d.mts.map +1 -1
  62. package/resources/monitors/monitors.d.ts +12 -5
  63. package/resources/monitors/monitors.d.ts.map +1 -1
  64. package/resources/monitors/monitors.js +4 -0
  65. package/resources/monitors/monitors.js.map +1 -1
  66. package/resources/monitors/monitors.mjs +4 -0
  67. package/resources/monitors/monitors.mjs.map +1 -1
  68. package/resources/monitors/posts.d.mts +344 -0
  69. package/resources/monitors/posts.d.mts.map +1 -0
  70. package/resources/monitors/posts.d.ts +344 -0
  71. package/resources/monitors/posts.d.ts.map +1 -0
  72. package/resources/monitors/posts.js +94 -0
  73. package/resources/monitors/posts.js.map +1 -0
  74. package/resources/monitors/posts.mjs +90 -0
  75. package/resources/monitors/posts.mjs.map +1 -0
  76. package/resources/shared.d.mts +671 -7
  77. package/resources/shared.d.mts.map +1 -1
  78. package/resources/shared.d.ts +671 -7
  79. package/resources/shared.d.ts.map +1 -1
  80. package/resources/support/index.d.mts +1 -1
  81. package/resources/support/index.d.mts.map +1 -1
  82. package/resources/support/index.d.ts +1 -1
  83. package/resources/support/index.d.ts.map +1 -1
  84. package/resources/support/index.js.map +1 -1
  85. package/resources/support/index.mjs.map +1 -1
  86. package/resources/support/support.d.mts +2 -2
  87. package/resources/support/support.d.mts.map +1 -1
  88. package/resources/support/support.d.ts +2 -2
  89. package/resources/support/support.d.ts.map +1 -1
  90. package/resources/support/support.js.map +1 -1
  91. package/resources/support/support.mjs.map +1 -1
  92. package/resources/support/tickets.d.mts +26 -25
  93. package/resources/support/tickets.d.mts.map +1 -1
  94. package/resources/support/tickets.d.ts +26 -25
  95. package/resources/support/tickets.d.ts.map +1 -1
  96. package/resources/support/tickets.js.map +1 -1
  97. package/resources/support/tickets.mjs.map +1 -1
  98. package/resources/webhooks.d.mts +10 -4
  99. package/resources/webhooks.d.mts.map +1 -1
  100. package/resources/webhooks.d.ts +10 -4
  101. package/resources/webhooks.d.ts.map +1 -1
  102. package/resources/webhooks.js.map +1 -1
  103. package/resources/webhooks.mjs.map +1 -1
  104. package/resources/x/accounts.d.mts +14 -4
  105. package/resources/x/accounts.d.mts.map +1 -1
  106. package/resources/x/accounts.d.ts +14 -4
  107. package/resources/x/accounts.d.ts.map +1 -1
  108. package/resources/x/accounts.js +6 -4
  109. package/resources/x/accounts.js.map +1 -1
  110. package/resources/x/accounts.mjs +6 -4
  111. package/resources/x/accounts.mjs.map +1 -1
  112. package/resources/x/broadcasts.d.mts +3 -127
  113. package/resources/x/broadcasts.d.mts.map +1 -1
  114. package/resources/x/broadcasts.d.ts +3 -127
  115. package/resources/x/broadcasts.d.ts.map +1 -1
  116. package/resources/x/communities/communities.d.mts +92 -1
  117. package/resources/x/communities/communities.d.mts.map +1 -1
  118. package/resources/x/communities/communities.d.ts +92 -1
  119. package/resources/x/communities/communities.d.ts.map +1 -1
  120. package/resources/x/communities/communities.js +14 -0
  121. package/resources/x/communities/communities.js.map +1 -1
  122. package/resources/x/communities/communities.mjs +14 -0
  123. package/resources/x/communities/communities.mjs.map +1 -1
  124. package/resources/x/communities/index.d.mts +1 -1
  125. package/resources/x/communities/index.d.mts.map +1 -1
  126. package/resources/x/communities/index.d.ts +1 -1
  127. package/resources/x/communities/index.d.ts.map +1 -1
  128. package/resources/x/communities/index.js.map +1 -1
  129. package/resources/x/communities/index.mjs.map +1 -1
  130. package/resources/x/community-notes.d.mts +122 -510
  131. package/resources/x/community-notes.d.mts.map +1 -1
  132. package/resources/x/community-notes.d.ts +122 -510
  133. package/resources/x/community-notes.d.ts.map +1 -1
  134. package/resources/x/community-notes.js.map +1 -1
  135. package/resources/x/community-notes.mjs.map +1 -1
  136. package/resources/x/index.d.mts +7 -6
  137. package/resources/x/index.d.mts.map +1 -1
  138. package/resources/x/index.d.ts +7 -6
  139. package/resources/x/index.d.ts.map +1 -1
  140. package/resources/x/index.js +3 -1
  141. package/resources/x/index.js.map +1 -1
  142. package/resources/x/index.mjs +1 -0
  143. package/resources/x/index.mjs.map +1 -1
  144. package/resources/x/jobs.d.mts +144 -283
  145. package/resources/x/jobs.d.mts.map +1 -1
  146. package/resources/x/jobs.d.ts +144 -283
  147. package/resources/x/jobs.d.ts.map +1 -1
  148. package/resources/x/jobs.js.map +1 -1
  149. package/resources/x/jobs.mjs.map +1 -1
  150. package/resources/x/lists.d.mts +27 -425
  151. package/resources/x/lists.d.mts.map +1 -1
  152. package/resources/x/lists.d.ts +27 -425
  153. package/resources/x/lists.d.ts.map +1 -1
  154. package/resources/x/media.d.mts +13 -2
  155. package/resources/x/media.d.mts.map +1 -1
  156. package/resources/x/media.d.ts +13 -2
  157. package/resources/x/media.d.ts.map +1 -1
  158. package/resources/x/media.js.map +1 -1
  159. package/resources/x/media.mjs.map +1 -1
  160. package/resources/x/profile.d.mts +13 -4
  161. package/resources/x/profile.d.mts.map +1 -1
  162. package/resources/x/profile.d.ts +13 -4
  163. package/resources/x/profile.d.ts.map +1 -1
  164. package/resources/x/profile.js.map +1 -1
  165. package/resources/x/profile.mjs.map +1 -1
  166. package/resources/x/spaces.d.mts +213 -669
  167. package/resources/x/spaces.d.mts.map +1 -1
  168. package/resources/x/spaces.d.ts +213 -669
  169. package/resources/x/spaces.d.ts.map +1 -1
  170. package/resources/x/spaces.js.map +1 -1
  171. package/resources/x/spaces.mjs.map +1 -1
  172. package/resources/x/sports.d.mts +1349 -0
  173. package/resources/x/sports.d.mts.map +1 -0
  174. package/resources/x/sports.d.ts +1349 -0
  175. package/resources/x/sports.d.ts.map +1 -0
  176. package/resources/x/sports.js +76 -0
  177. package/resources/x/sports.js.map +1 -0
  178. package/resources/x/sports.mjs +72 -0
  179. package/resources/x/sports.mjs.map +1 -0
  180. package/resources/x/tweets/tweets.d.mts +32 -24
  181. package/resources/x/tweets/tweets.d.mts.map +1 -1
  182. package/resources/x/tweets/tweets.d.ts +32 -24
  183. package/resources/x/tweets/tweets.d.ts.map +1 -1
  184. package/resources/x/tweets/tweets.js.map +1 -1
  185. package/resources/x/tweets/tweets.mjs.map +1 -1
  186. package/resources/x/users/users.d.mts +62 -614
  187. package/resources/x/users/users.d.mts.map +1 -1
  188. package/resources/x/users/users.d.ts +62 -614
  189. package/resources/x/users/users.d.ts.map +1 -1
  190. package/resources/x/users/users.js.map +1 -1
  191. package/resources/x/users/users.mjs.map +1 -1
  192. package/resources/x/x.d.mts +63 -118
  193. package/resources/x/x.d.mts.map +1 -1
  194. package/resources/x/x.d.ts +63 -118
  195. package/resources/x/x.d.ts.map +1 -1
  196. package/resources/x/x.js +4 -0
  197. package/resources/x/x.js.map +1 -1
  198. package/resources/x/x.mjs +4 -0
  199. package/resources/x/x.mjs.map +1 -1
  200. package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
  201. package/src/client.ts +12 -0
  202. package/src/internal/detect-platform.ts +2 -2
  203. package/src/internal/uploads.ts +1 -1
  204. package/src/resources/account.ts +6 -0
  205. package/src/resources/compose.ts +1 -1
  206. package/src/resources/drafts.ts +14 -2
  207. package/src/resources/events.ts +137 -29
  208. package/src/resources/index.ts +2 -0
  209. package/src/resources/monitors/index.ts +21 -0
  210. package/src/resources/monitors/keywords.ts +15 -79
  211. package/src/resources/monitors/monitors.ts +52 -3
  212. package/src/resources/monitors/posts.ts +463 -0
  213. package/src/resources/shared.ts +897 -215
  214. package/src/resources/support/index.ts +1 -0
  215. package/src/resources/support/support.ts +2 -0
  216. package/src/resources/support/tickets.ts +29 -25
  217. package/src/resources/webhooks.ts +11 -4
  218. package/src/resources/x/accounts.ts +19 -4
  219. package/src/resources/x/broadcasts.ts +3 -154
  220. package/src/resources/x/communities/communities.ts +113 -0
  221. package/src/resources/x/communities/index.ts +3 -0
  222. package/src/resources/x/community-notes.ts +137 -582
  223. package/src/resources/x/index.ts +62 -0
  224. package/src/resources/x/jobs.ts +160 -324
  225. package/src/resources/x/lists.ts +27 -499
  226. package/src/resources/x/media.ts +15 -2
  227. package/src/resources/x/profile.ts +15 -4
  228. package/src/resources/x/spaces.ts +227 -787
  229. package/src/resources/x/sports.ts +1675 -0
  230. package/src/resources/x/tweets/tweets.ts +41 -26
  231. package/src/resources/x/users/users.ts +62 -721
  232. package/src/resources/x/x.ts +185 -128
  233. package/src/version.ts +1 -1
  234. package/version.d.mts +1 -1
  235. package/version.d.ts +1 -1
  236. package/version.js +1 -1
  237. package/version.mjs +1 -1
  238. package/src/lib/.keep +0 -2
@@ -17,6 +17,7 @@ import {
17
17
  } from './account-connection-challenges';
18
18
  import * as AccountsAPI from './accounts';
19
19
  import {
20
+ AccountBulkRetryParams,
20
21
  AccountBulkRetryResponse,
21
22
  AccountCreateParams,
22
23
  AccountCreateResponse,
@@ -63,6 +64,9 @@ import {
63
64
  CommunityNoteRetrieveContributorParams,
64
65
  CommunityNoteRetrieveContributorResponse,
65
66
  CommunityNotes,
67
+ CommunityNotesContributor,
68
+ CommunityNotesRatingOutcome,
69
+ PaginatedCommunityNotes,
66
70
  } from './community-notes';
67
71
  import * as DmAPI from './dm';
68
72
  import {
@@ -78,6 +82,7 @@ import * as FollowersAPI from './followers';
78
82
  import { FollowerCheckParams, FollowerCheckResponse, Followers } from './followers';
79
83
  import * as JobsAPI from './jobs';
80
84
  import {
85
+ Job,
81
86
  JobListLocationsParams,
82
87
  JobListLocationsResponse,
83
88
  JobRetrieveParams,
@@ -117,8 +122,62 @@ import {
117
122
  ProfileUpdateParams,
118
123
  ProfileUpdateResponse,
119
124
  } from './profile';
125
+ import * as SportsAPI from './sports';
126
+ import {
127
+ FootballBoxScore,
128
+ FootballDrive,
129
+ FootballFumbleStats,
130
+ FootballLeague,
131
+ FootballOdds,
132
+ FootballPassingStats,
133
+ FootballPeriod,
134
+ FootballPlay,
135
+ FootballPlayDetail,
136
+ FootballPlayDetailPenalty,
137
+ FootballPlayDetailPlayer,
138
+ FootballPlayOnField,
139
+ FootballPlayPost,
140
+ FootballPlayScore,
141
+ FootballPlayStart,
142
+ FootballPlayer,
143
+ FootballPlayerHeadshots,
144
+ FootballPlayerStats,
145
+ FootballPlayerStatsConversions,
146
+ FootballPlayerStatsDefense,
147
+ FootballPlayerStatsExtraPoints,
148
+ FootballPlayerStatsFieldGoals,
149
+ FootballPlayerStatsPunts,
150
+ FootballPlayerStatsReceiving,
151
+ FootballPlayerXUser,
152
+ FootballPlays,
153
+ FootballQuarter,
154
+ FootballReturnStats,
155
+ FootballRushingStats,
156
+ FootballSchedule,
157
+ FootballScheduleGame,
158
+ FootballScheduleGameOdds,
159
+ FootballSchedulePeriod,
160
+ FootballScoreboard,
161
+ FootballScoreboardSituation,
162
+ FootballSide,
163
+ FootballTeamBox,
164
+ FootballTeamScore,
165
+ FootballTeamTotals,
166
+ FootballTeamTotalsPenalties,
167
+ FootballTeamTotalsThirdDowns,
168
+ SportListGamesParams,
169
+ SportRetrieveBoxScoreParams,
170
+ SportRetrievePlaysParams,
171
+ SportRetrieveScoreboardParams,
172
+ Sports,
173
+ SportsTeam,
174
+ SportsTeamColor,
175
+ SportsTeamLogos,
176
+ } from './sports';
120
177
  import * as SpacesAPI from './spaces';
121
178
  import {
179
+ Space,
180
+ SpaceParticipant,
122
181
  SpaceRetrieveParams,
123
182
  SpaceRetrieveReplayParams,
124
183
  SpaceRetrieveReplayResponse,
@@ -132,6 +191,8 @@ import { WriteActionRetrieveResponse, WriteActions } from './write-actions';
132
191
  import * as CommunitiesAPI from './communities/communities';
133
192
  import {
134
193
  Communities,
194
+ CommunityAnalytics,
195
+ CommunityAnalyticsMetric,
135
196
  CommunityCreateParams,
136
197
  CommunityCreateResponse,
137
198
  CommunityDeleteParams,
@@ -142,6 +203,7 @@ import {
142
203
  CommunityListSuggestedResponse,
143
204
  CommunityListTopicsParams,
144
205
  CommunityListTopicsResponse,
206
+ CommunityRetrieveAnalyticsParams,
145
207
  CommunityRetrieveInfoParams,
146
208
  CommunityRetrieveInfoResponse,
147
209
  CommunityRetrieveMembersParams,
@@ -255,6 +317,7 @@ export class X extends APIResource {
255
317
  broadcasts: BroadcastsAPI.Broadcasts = new BroadcastsAPI.Broadcasts(this._client);
256
318
  communityNotes: CommunityNotesAPI.CommunityNotes = new CommunityNotesAPI.CommunityNotes(this._client);
257
319
  spaces: SpacesAPI.Spaces = new SpacesAPI.Spaces(this._client);
320
+ sports: SportsAPI.Sports = new SportsAPI.Sports(this._client);
258
321
 
259
322
  /**
260
323
  * Returns the accounts, topics, hashtags & cashtags X suggests while someone types
@@ -635,6 +698,11 @@ export namespace XAutocompleteSearchResponse {
635
698
  */
636
699
  profilePicture?: string;
637
700
 
701
+ /**
702
+ * The same avatar at full size.
703
+ */
704
+ profilePictureOriginal?: string;
705
+
638
706
  /**
639
707
  * Whether the account protects its posts.
640
708
  */
@@ -909,6 +977,11 @@ export namespace XGetArticleResponse {
909
977
 
910
978
  profilePicture?: string;
911
979
 
980
+ /**
981
+ * The same profile picture at full size.
982
+ */
983
+ profilePictureOriginal?: string;
984
+
912
985
  protected?: boolean;
913
986
 
914
987
  /**
@@ -1057,67 +1130,69 @@ export namespace XGetNotificationsResponse {
1057
1130
  }
1058
1131
  }
1059
1132
 
1060
- export interface XGetTrendLocationsResponse {
1133
+ /**
1134
+ * A place X offers trends for.
1135
+ */
1136
+ export interface TrendLocation {
1061
1137
  /**
1062
- * Locations returned & charged.
1138
+ * Country name. Null for Worldwide.
1063
1139
  */
1064
- count: number;
1140
+ country: string | null;
1065
1141
 
1066
- locations: Array<XGetTrendLocationsResponse.Location>;
1142
+ /**
1143
+ * 2-letter country code. Null for Worldwide.
1144
+ */
1145
+ countryCode: string | null;
1146
+
1147
+ name: string;
1067
1148
 
1068
1149
  /**
1069
- * Locations that match the filters, before limit.
1150
+ * WOEID of the country or region above it. Null for Worldwide.
1070
1151
  */
1071
- total: number;
1152
+ parentWoeid: number | null;
1072
1153
 
1073
1154
  /**
1074
- * What to send instead. Present only when no location matches.
1155
+ * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1075
1156
  */
1076
- message?: string;
1077
- }
1157
+ placeType: string | null;
1078
1158
 
1079
- export namespace XGetTrendLocationsResponse {
1080
1159
  /**
1081
- * A place X offers trends for.
1160
+ * X's numeric code for the kind of place.
1082
1161
  */
1083
- export interface Location {
1084
- /**
1085
- * Country name. Null for Worldwide.
1086
- */
1087
- country: string | null;
1162
+ placeTypeCode: number | null;
1088
1163
 
1089
- /**
1090
- * 2-letter country code. Null for Worldwide.
1091
- */
1092
- countryCode: string | null;
1164
+ /**
1165
+ * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1166
+ */
1167
+ url: string | null;
1093
1168
 
1094
- name: string;
1169
+ /**
1170
+ * Location ID. Pass it as woeid to /x/trends.
1171
+ */
1172
+ woeid: number;
1173
+ }
1095
1174
 
1096
- /**
1097
- * WOEID of the country or region above it. Null for Worldwide.
1098
- */
1099
- parentWoeid: number | null;
1175
+ export interface XGetTrendLocationsResponse {
1176
+ /**
1177
+ * Locations returned & charged.
1178
+ */
1179
+ count: number;
1100
1180
 
1101
- /**
1102
- * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1103
- */
1104
- placeType: string | null;
1181
+ locations: Array<TrendLocation>;
1105
1182
 
1106
- /**
1107
- * X's numeric code for the kind of place.
1108
- */
1109
- placeTypeCode: number | null;
1183
+ /**
1184
+ * Locations that match the filters, before limit.
1185
+ */
1186
+ total: number;
1110
1187
 
1111
- /**
1112
- * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1113
- */
1114
- url: string | null;
1188
+ /**
1189
+ * What to send instead. Present only when no location matches.
1190
+ */
1191
+ message?: string;
1192
+ }
1115
1193
 
1116
- /**
1117
- * Location ID. Pass it as woeid to /x/trends.
1118
- */
1119
- woeid: number;
1120
- }
1194
+ export namespace XGetTrendLocationsResponse {
1195
+ export type Location = TrendLocation;
1121
1196
  }
1122
1197
 
1123
1198
  export interface XGetTrendsResponse {
@@ -1137,7 +1212,7 @@ export interface XGetTrendsResponse {
1137
1212
  * The place country or location named. Absent when woeid picked the place or the
1138
1213
  * request named none.
1139
1214
  */
1140
- location?: XGetTrendsResponse.Location;
1215
+ location?: TrendLocation;
1141
1216
 
1142
1217
  /**
1143
1218
  * The time at asked for, as Xquik read it. A span such as 24h shows here as the
@@ -1172,48 +1247,7 @@ export namespace XGetTrendsResponse {
1172
1247
  url?: string;
1173
1248
  }
1174
1249
 
1175
- /**
1176
- * The place country or location named. Absent when woeid picked the place or the
1177
- * request named none.
1178
- */
1179
- export interface Location {
1180
- /**
1181
- * Country name. Null for Worldwide.
1182
- */
1183
- country: string | null;
1184
-
1185
- /**
1186
- * 2-letter country code. Null for Worldwide.
1187
- */
1188
- countryCode: string | null;
1189
-
1190
- name: string;
1191
-
1192
- /**
1193
- * WOEID of the country or region above it. Null for Worldwide.
1194
- */
1195
- parentWoeid: number | null;
1196
-
1197
- /**
1198
- * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1199
- */
1200
- placeType: string | null;
1201
-
1202
- /**
1203
- * X's numeric code for the kind of place.
1204
- */
1205
- placeTypeCode: number | null;
1206
-
1207
- /**
1208
- * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1209
- */
1210
- url: string | null;
1211
-
1212
- /**
1213
- * Location ID. Pass it as woeid to /x/trends.
1214
- */
1215
- woeid: number;
1216
- }
1250
+ export type Location = TrendLocation;
1217
1251
  }
1218
1252
 
1219
1253
  export interface XGetTrendsHistoryResponse {
@@ -1255,7 +1289,7 @@ export interface XGetTrendsHistoryResponse {
1255
1289
  * The place the request named by country or location. Absent when it sent a woeid
1256
1290
  * or named no place.
1257
1291
  */
1258
- location?: XGetTrendsHistoryResponse.Location;
1292
+ location?: TrendLocation;
1259
1293
  }
1260
1294
 
1261
1295
  export namespace XGetTrendsHistoryResponse {
@@ -1303,48 +1337,7 @@ export namespace XGetTrendsHistoryResponse {
1303
1337
  }
1304
1338
  }
1305
1339
 
1306
- /**
1307
- * The place the request named by country or location. Absent when it sent a woeid
1308
- * or named no place.
1309
- */
1310
- export interface Location {
1311
- /**
1312
- * Country name. Null for Worldwide.
1313
- */
1314
- country: string | null;
1315
-
1316
- /**
1317
- * 2-letter country code. Null for Worldwide.
1318
- */
1319
- countryCode: string | null;
1320
-
1321
- name: string;
1322
-
1323
- /**
1324
- * WOEID of the country or region above it. Null for Worldwide.
1325
- */
1326
- parentWoeid: number | null;
1327
-
1328
- /**
1329
- * X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
1330
- */
1331
- placeType: string | null;
1332
-
1333
- /**
1334
- * X's numeric code for the kind of place.
1335
- */
1336
- placeTypeCode: number | null;
1337
-
1338
- /**
1339
- * X's legacy Yahoo GeoPlanet reference. It may not resolve.
1340
- */
1341
- url: string | null;
1342
-
1343
- /**
1344
- * Location ID. Pass it as woeid to /x/trends.
1345
- */
1346
- woeid: number;
1347
- }
1340
+ export type Location = TrendLocation;
1348
1341
  }
1349
1342
 
1350
1343
  export interface XSearchPlacesResponse {
@@ -1866,9 +1859,11 @@ X.Lists = Lists;
1866
1859
  X.Broadcasts = Broadcasts;
1867
1860
  X.CommunityNotes = CommunityNotes;
1868
1861
  X.Spaces = Spaces;
1862
+ X.Sports = Sports;
1869
1863
 
1870
1864
  export declare namespace X {
1871
1865
  export {
1866
+ type TrendLocation as TrendLocation,
1872
1867
  type XAutocompleteSearchResponse as XAutocompleteSearchResponse,
1873
1868
  type XGetArticleResponse as XGetArticleResponse,
1874
1869
  type XGetHashflagsResponse as XGetHashflagsResponse,
@@ -1997,6 +1992,7 @@ export declare namespace X {
1997
1992
 
1998
1993
  export {
1999
1994
  Jobs as Jobs,
1995
+ type Job as Job,
2000
1996
  type JobRetrieveResponse as JobRetrieveResponse,
2001
1997
  type JobListLocationsResponse as JobListLocationsResponse,
2002
1998
  type JobSearchResponse as JobSearchResponse,
@@ -2035,6 +2031,8 @@ export declare namespace X {
2035
2031
 
2036
2032
  export {
2037
2033
  Communities as Communities,
2034
+ type CommunityAnalytics as CommunityAnalytics,
2035
+ type CommunityAnalyticsMetric as CommunityAnalyticsMetric,
2038
2036
  type CommunityCreateResponse as CommunityCreateResponse,
2039
2037
  type CommunityDeleteResponse as CommunityDeleteResponse,
2040
2038
  type CommunityListSuggestedResponse as CommunityListSuggestedResponse,
@@ -2046,6 +2044,7 @@ export declare namespace X {
2046
2044
  type CommunityListPopularParams as CommunityListPopularParams,
2047
2045
  type CommunityListSuggestedParams as CommunityListSuggestedParams,
2048
2046
  type CommunityListTopicsParams as CommunityListTopicsParams,
2047
+ type CommunityRetrieveAnalyticsParams as CommunityRetrieveAnalyticsParams,
2049
2048
  type CommunityRetrieveInfoParams as CommunityRetrieveInfoParams,
2050
2049
  type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams,
2051
2050
  type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams,
@@ -2064,6 +2063,7 @@ export declare namespace X {
2064
2063
  type AccountReauthResponse as AccountReauthResponse,
2065
2064
  type AccountCreateParams as AccountCreateParams,
2066
2065
  type AccountListParams as AccountListParams,
2066
+ type AccountBulkRetryParams as AccountBulkRetryParams,
2067
2067
  type AccountReauthParams as AccountReauthParams,
2068
2068
  };
2069
2069
 
@@ -2106,6 +2106,9 @@ export declare namespace X {
2106
2106
 
2107
2107
  export {
2108
2108
  CommunityNotes as CommunityNotes,
2109
+ type CommunityNotesContributor as CommunityNotesContributor,
2110
+ type CommunityNotesRatingOutcome as CommunityNotesRatingOutcome,
2111
+ type PaginatedCommunityNotes as PaginatedCommunityNotes,
2109
2112
  type CommunityNoteListContributorDeletedNotesResponse as CommunityNoteListContributorDeletedNotesResponse,
2110
2113
  type CommunityNoteListContributorNotesResponse as CommunityNoteListContributorNotesResponse,
2111
2114
  type CommunityNoteRetrieveContributorResponse as CommunityNoteRetrieveContributorResponse,
@@ -2116,6 +2119,8 @@ export declare namespace X {
2116
2119
 
2117
2120
  export {
2118
2121
  Spaces as Spaces,
2122
+ type Space as Space,
2123
+ type SpaceParticipant as SpaceParticipant,
2119
2124
  type SpaceRetrieveResponse as SpaceRetrieveResponse,
2120
2125
  type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
2121
2126
  type SpaceSearchResponse as SpaceSearchResponse,
@@ -2123,4 +2128,56 @@ export declare namespace X {
2123
2128
  type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams,
2124
2129
  type SpaceSearchParams as SpaceSearchParams,
2125
2130
  };
2131
+
2132
+ export {
2133
+ Sports as Sports,
2134
+ type FootballLeague as FootballLeague,
2135
+ type FootballTeamScore as FootballTeamScore,
2136
+ type FootballSchedulePeriod as FootballSchedulePeriod,
2137
+ type FootballOdds as FootballOdds,
2138
+ type FootballScheduleGameOdds as FootballScheduleGameOdds,
2139
+ type FootballScheduleGame as FootballScheduleGame,
2140
+ type SportsTeamColor as SportsTeamColor,
2141
+ type SportsTeamLogos as SportsTeamLogos,
2142
+ type SportsTeam as SportsTeam,
2143
+ type FootballSchedule as FootballSchedule,
2144
+ type FootballScoreboardSituation as FootballScoreboardSituation,
2145
+ type FootballSide as FootballSide,
2146
+ type FootballPeriod as FootballPeriod,
2147
+ type FootballPlayScore as FootballPlayScore,
2148
+ type FootballPlayStart as FootballPlayStart,
2149
+ type FootballPlayOnField as FootballPlayOnField,
2150
+ type FootballPlayDetailPlayer as FootballPlayDetailPlayer,
2151
+ type FootballPlayDetailPenalty as FootballPlayDetailPenalty,
2152
+ type FootballPlayDetail as FootballPlayDetail,
2153
+ type FootballPlayPost as FootballPlayPost,
2154
+ type FootballPlay as FootballPlay,
2155
+ type FootballPlayerHeadshots as FootballPlayerHeadshots,
2156
+ type FootballPlayerXUser as FootballPlayerXUser,
2157
+ type FootballPlayer as FootballPlayer,
2158
+ type FootballScoreboard as FootballScoreboard,
2159
+ type FootballTeamTotalsThirdDowns as FootballTeamTotalsThirdDowns,
2160
+ type FootballFumbleStats as FootballFumbleStats,
2161
+ type FootballPassingStats as FootballPassingStats,
2162
+ type FootballTeamTotalsPenalties as FootballTeamTotalsPenalties,
2163
+ type FootballRushingStats as FootballRushingStats,
2164
+ type FootballTeamTotals as FootballTeamTotals,
2165
+ type FootballPlayerStatsReceiving as FootballPlayerStatsReceiving,
2166
+ type FootballPlayerStatsDefense as FootballPlayerStatsDefense,
2167
+ type FootballReturnStats as FootballReturnStats,
2168
+ type FootballPlayerStatsPunts as FootballPlayerStatsPunts,
2169
+ type FootballPlayerStatsFieldGoals as FootballPlayerStatsFieldGoals,
2170
+ type FootballPlayerStatsExtraPoints as FootballPlayerStatsExtraPoints,
2171
+ type FootballPlayerStatsConversions as FootballPlayerStatsConversions,
2172
+ type FootballPlayerStats as FootballPlayerStats,
2173
+ type FootballTeamBox as FootballTeamBox,
2174
+ type FootballBoxScore as FootballBoxScore,
2175
+ type FootballDrive as FootballDrive,
2176
+ type FootballQuarter as FootballQuarter,
2177
+ type FootballPlays as FootballPlays,
2178
+ type SportListGamesParams as SportListGamesParams,
2179
+ type SportRetrieveScoreboardParams as SportRetrieveScoreboardParams,
2180
+ type SportRetrieveBoxScoreParams as SportRetrieveBoxScoreParams,
2181
+ type SportRetrievePlaysParams as SportRetrievePlaysParams,
2182
+ };
2126
2183
  }
package/src/version.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  //
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
 
5
- export const VERSION = '0.15.0';
5
+ export const VERSION = '0.17.0';
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.15.0";
1
+ export declare const VERSION = "0.17.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.15.0";
1
+ export declare const VERSION = "0.17.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -4,5 +4,5 @@
4
4
  // SPDX-License-Identifier: Apache-2.0
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.VERSION = void 0;
7
- exports.VERSION = '0.15.0';
7
+ exports.VERSION = '0.17.0';
8
8
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-FileCopyrightText: 2026 Xquik contributors
2
2
  //
3
3
  // SPDX-License-Identifier: Apache-2.0
4
- export const VERSION = '0.15.0';
4
+ export const VERSION = '0.17.0';
5
5
  //# sourceMappingURL=version.mjs.map
package/src/lib/.keep DELETED
@@ -1,2 +0,0 @@
1
- This directory holds custom files that extend the SDK.
2
- Code generation leaves it unchanged, except for this file.