x-twitter-scraper 0.16.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.
- package/CHANGELOG.md +33 -5
- package/README.md +1 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/detect-platform.d.mts +3 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts +3 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/events.d.mts +50 -11
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +50 -11
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +2 -1
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +2 -1
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js +3 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs +1 -0
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/keywords.d.mts +10 -96
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +10 -96
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/monitors.d.mts +6 -2
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +6 -2
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +4 -0
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +4 -0
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors/posts.d.mts +344 -0
- package/resources/monitors/posts.d.mts.map +1 -0
- package/resources/monitors/posts.d.ts +344 -0
- package/resources/monitors/posts.d.ts.map +1 -0
- package/resources/monitors/posts.js +94 -0
- package/resources/monitors/posts.js.map +1 -0
- package/resources/monitors/posts.mjs +90 -0
- package/resources/monitors/posts.mjs.map +1 -0
- package/resources/shared.d.mts +577 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +577 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/support/index.d.mts +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts +2 -2
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +2 -2
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +12 -20
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +12 -20
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/webhooks.d.mts +5 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -4
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/accounts.d.mts +14 -4
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +14 -4
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +6 -4
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +6 -4
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/broadcasts.d.mts +3 -131
- package/resources/x/broadcasts.d.mts.map +1 -1
- package/resources/x/broadcasts.d.ts +3 -131
- package/resources/x/broadcasts.d.ts.map +1 -1
- package/resources/x/communities/communities.d.mts +92 -1
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +92 -1
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +14 -0
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +14 -0
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +1 -1
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +1 -1
- package/resources/x/communities/index.d.ts.map +1 -1
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs.map +1 -1
- package/resources/x/community-notes.d.mts +122 -510
- package/resources/x/community-notes.d.mts.map +1 -1
- package/resources/x/community-notes.d.ts +122 -510
- package/resources/x/community-notes.d.ts.map +1 -1
- package/resources/x/community-notes.js.map +1 -1
- package/resources/x/community-notes.mjs.map +1 -1
- package/resources/x/index.d.mts +7 -6
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +7 -6
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +3 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +1 -0
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/jobs.d.mts +144 -291
- package/resources/x/jobs.d.mts.map +1 -1
- package/resources/x/jobs.d.ts +144 -291
- package/resources/x/jobs.d.ts.map +1 -1
- package/resources/x/jobs.js.map +1 -1
- package/resources/x/jobs.mjs.map +1 -1
- package/resources/x/lists.d.mts +21 -419
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +21 -419
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/spaces.d.mts +213 -693
- package/resources/x/spaces.d.mts.map +1 -1
- package/resources/x/spaces.d.ts +213 -693
- package/resources/x/spaces.d.ts.map +1 -1
- package/resources/x/spaces.js.map +1 -1
- package/resources/x/spaces.mjs.map +1 -1
- package/resources/x/sports.d.mts +1349 -0
- package/resources/x/sports.d.mts.map +1 -0
- package/resources/x/sports.d.ts +1349 -0
- package/resources/x/sports.d.ts.map +1 -0
- package/resources/x/sports.js +76 -0
- package/resources/x/sports.js.map +1 -0
- package/resources/x/sports.mjs +72 -0
- package/resources/x/sports.mjs.map +1 -0
- package/resources/x/tweets/tweets.d.mts +11 -13
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +11 -13
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/users/users.d.mts +29 -585
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +29 -585
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/x.d.mts +55 -118
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +55 -118
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +4 -0
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +4 -0
- package/resources/x/x.mjs.map +1 -1
- package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
- package/src/client.ts +8 -0
- package/src/internal/detect-platform.ts +2 -2
- package/src/resources/events.ts +72 -10
- package/src/resources/index.ts +1 -0
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +10 -118
- package/src/resources/monitors/monitors.ts +46 -0
- package/src/resources/monitors/posts.ts +463 -0
- package/src/resources/shared.ts +773 -200
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +14 -21
- package/src/resources/webhooks.ts +5 -4
- package/src/resources/x/accounts.ts +19 -4
- package/src/resources/x/broadcasts.ts +3 -159
- package/src/resources/x/communities/communities.ts +113 -0
- package/src/resources/x/communities/index.ts +3 -0
- package/src/resources/x/community-notes.ts +137 -582
- package/src/resources/x/index.ts +62 -0
- package/src/resources/x/jobs.ts +160 -334
- package/src/resources/x/lists.ts +21 -493
- package/src/resources/x/spaces.ts +227 -817
- package/src/resources/x/sports.ts +1675 -0
- package/src/resources/x/tweets/tweets.ts +15 -15
- package/src/resources/x/users/users.ts +29 -693
- package/src/resources/x/x.ts +175 -128
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/src/lib/.keep +0 -2
package/src/resources/x/x.ts
CHANGED
|
@@ -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
|
|
@@ -1067,67 +1130,69 @@ export namespace XGetNotificationsResponse {
|
|
|
1067
1130
|
}
|
|
1068
1131
|
}
|
|
1069
1132
|
|
|
1070
|
-
|
|
1133
|
+
/**
|
|
1134
|
+
* A place X offers trends for.
|
|
1135
|
+
*/
|
|
1136
|
+
export interface TrendLocation {
|
|
1071
1137
|
/**
|
|
1072
|
-
*
|
|
1138
|
+
* Country name. Null for Worldwide.
|
|
1073
1139
|
*/
|
|
1074
|
-
|
|
1140
|
+
country: string | null;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* 2-letter country code. Null for Worldwide.
|
|
1144
|
+
*/
|
|
1145
|
+
countryCode: string | null;
|
|
1075
1146
|
|
|
1076
|
-
|
|
1147
|
+
name: string;
|
|
1077
1148
|
|
|
1078
1149
|
/**
|
|
1079
|
-
*
|
|
1150
|
+
* WOEID of the country or region above it. Null for Worldwide.
|
|
1080
1151
|
*/
|
|
1081
|
-
|
|
1152
|
+
parentWoeid: number | null;
|
|
1082
1153
|
|
|
1083
1154
|
/**
|
|
1084
|
-
*
|
|
1155
|
+
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1085
1156
|
*/
|
|
1086
|
-
|
|
1087
|
-
}
|
|
1157
|
+
placeType: string | null;
|
|
1088
1158
|
|
|
1089
|
-
export namespace XGetTrendLocationsResponse {
|
|
1090
1159
|
/**
|
|
1091
|
-
*
|
|
1160
|
+
* X's numeric code for the kind of place.
|
|
1092
1161
|
*/
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Country name. Null for Worldwide.
|
|
1096
|
-
*/
|
|
1097
|
-
country: string | null;
|
|
1162
|
+
placeTypeCode: number | null;
|
|
1098
1163
|
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1164
|
+
/**
|
|
1165
|
+
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1166
|
+
*/
|
|
1167
|
+
url: string | null;
|
|
1103
1168
|
|
|
1104
|
-
|
|
1169
|
+
/**
|
|
1170
|
+
* Location ID. Pass it as woeid to /x/trends.
|
|
1171
|
+
*/
|
|
1172
|
+
woeid: number;
|
|
1173
|
+
}
|
|
1105
1174
|
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1175
|
+
export interface XGetTrendLocationsResponse {
|
|
1176
|
+
/**
|
|
1177
|
+
* Locations returned & charged.
|
|
1178
|
+
*/
|
|
1179
|
+
count: number;
|
|
1110
1180
|
|
|
1111
|
-
|
|
1112
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1113
|
-
*/
|
|
1114
|
-
placeType: string | null;
|
|
1181
|
+
locations: Array<TrendLocation>;
|
|
1115
1182
|
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1183
|
+
/**
|
|
1184
|
+
* Locations that match the filters, before limit.
|
|
1185
|
+
*/
|
|
1186
|
+
total: number;
|
|
1120
1187
|
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1188
|
+
/**
|
|
1189
|
+
* What to send instead. Present only when no location matches.
|
|
1190
|
+
*/
|
|
1191
|
+
message?: string;
|
|
1192
|
+
}
|
|
1125
1193
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
*/
|
|
1129
|
-
woeid: number;
|
|
1130
|
-
}
|
|
1194
|
+
export namespace XGetTrendLocationsResponse {
|
|
1195
|
+
export type Location = TrendLocation;
|
|
1131
1196
|
}
|
|
1132
1197
|
|
|
1133
1198
|
export interface XGetTrendsResponse {
|
|
@@ -1147,7 +1212,7 @@ export interface XGetTrendsResponse {
|
|
|
1147
1212
|
* The place country or location named. Absent when woeid picked the place or the
|
|
1148
1213
|
* request named none.
|
|
1149
1214
|
*/
|
|
1150
|
-
location?:
|
|
1215
|
+
location?: TrendLocation;
|
|
1151
1216
|
|
|
1152
1217
|
/**
|
|
1153
1218
|
* The time at asked for, as Xquik read it. A span such as 24h shows here as the
|
|
@@ -1182,48 +1247,7 @@ export namespace XGetTrendsResponse {
|
|
|
1182
1247
|
url?: string;
|
|
1183
1248
|
}
|
|
1184
1249
|
|
|
1185
|
-
|
|
1186
|
-
* The place country or location named. Absent when woeid picked the place or the
|
|
1187
|
-
* request named none.
|
|
1188
|
-
*/
|
|
1189
|
-
export interface Location {
|
|
1190
|
-
/**
|
|
1191
|
-
* Country name. Null for Worldwide.
|
|
1192
|
-
*/
|
|
1193
|
-
country: string | null;
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* 2-letter country code. Null for Worldwide.
|
|
1197
|
-
*/
|
|
1198
|
-
countryCode: string | null;
|
|
1199
|
-
|
|
1200
|
-
name: string;
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* WOEID of the country or region above it. Null for Worldwide.
|
|
1204
|
-
*/
|
|
1205
|
-
parentWoeid: number | null;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1209
|
-
*/
|
|
1210
|
-
placeType: string | null;
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* X's numeric code for the kind of place.
|
|
1214
|
-
*/
|
|
1215
|
-
placeTypeCode: number | null;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1219
|
-
*/
|
|
1220
|
-
url: string | null;
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* Location ID. Pass it as woeid to /x/trends.
|
|
1224
|
-
*/
|
|
1225
|
-
woeid: number;
|
|
1226
|
-
}
|
|
1250
|
+
export type Location = TrendLocation;
|
|
1227
1251
|
}
|
|
1228
1252
|
|
|
1229
1253
|
export interface XGetTrendsHistoryResponse {
|
|
@@ -1265,7 +1289,7 @@ export interface XGetTrendsHistoryResponse {
|
|
|
1265
1289
|
* The place the request named by country or location. Absent when it sent a woeid
|
|
1266
1290
|
* or named no place.
|
|
1267
1291
|
*/
|
|
1268
|
-
location?:
|
|
1292
|
+
location?: TrendLocation;
|
|
1269
1293
|
}
|
|
1270
1294
|
|
|
1271
1295
|
export namespace XGetTrendsHistoryResponse {
|
|
@@ -1313,48 +1337,7 @@ export namespace XGetTrendsHistoryResponse {
|
|
|
1313
1337
|
}
|
|
1314
1338
|
}
|
|
1315
1339
|
|
|
1316
|
-
|
|
1317
|
-
* The place the request named by country or location. Absent when it sent a woeid
|
|
1318
|
-
* or named no place.
|
|
1319
|
-
*/
|
|
1320
|
-
export interface Location {
|
|
1321
|
-
/**
|
|
1322
|
-
* Country name. Null for Worldwide.
|
|
1323
|
-
*/
|
|
1324
|
-
country: string | null;
|
|
1325
|
-
|
|
1326
|
-
/**
|
|
1327
|
-
* 2-letter country code. Null for Worldwide.
|
|
1328
|
-
*/
|
|
1329
|
-
countryCode: string | null;
|
|
1330
|
-
|
|
1331
|
-
name: string;
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* WOEID of the country or region above it. Null for Worldwide.
|
|
1335
|
-
*/
|
|
1336
|
-
parentWoeid: number | null;
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1340
|
-
*/
|
|
1341
|
-
placeType: string | null;
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* X's numeric code for the kind of place.
|
|
1345
|
-
*/
|
|
1346
|
-
placeTypeCode: number | null;
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1350
|
-
*/
|
|
1351
|
-
url: string | null;
|
|
1352
|
-
|
|
1353
|
-
/**
|
|
1354
|
-
* Location ID. Pass it as woeid to /x/trends.
|
|
1355
|
-
*/
|
|
1356
|
-
woeid: number;
|
|
1357
|
-
}
|
|
1340
|
+
export type Location = TrendLocation;
|
|
1358
1341
|
}
|
|
1359
1342
|
|
|
1360
1343
|
export interface XSearchPlacesResponse {
|
|
@@ -1876,9 +1859,11 @@ X.Lists = Lists;
|
|
|
1876
1859
|
X.Broadcasts = Broadcasts;
|
|
1877
1860
|
X.CommunityNotes = CommunityNotes;
|
|
1878
1861
|
X.Spaces = Spaces;
|
|
1862
|
+
X.Sports = Sports;
|
|
1879
1863
|
|
|
1880
1864
|
export declare namespace X {
|
|
1881
1865
|
export {
|
|
1866
|
+
type TrendLocation as TrendLocation,
|
|
1882
1867
|
type XAutocompleteSearchResponse as XAutocompleteSearchResponse,
|
|
1883
1868
|
type XGetArticleResponse as XGetArticleResponse,
|
|
1884
1869
|
type XGetHashflagsResponse as XGetHashflagsResponse,
|
|
@@ -2007,6 +1992,7 @@ export declare namespace X {
|
|
|
2007
1992
|
|
|
2008
1993
|
export {
|
|
2009
1994
|
Jobs as Jobs,
|
|
1995
|
+
type Job as Job,
|
|
2010
1996
|
type JobRetrieveResponse as JobRetrieveResponse,
|
|
2011
1997
|
type JobListLocationsResponse as JobListLocationsResponse,
|
|
2012
1998
|
type JobSearchResponse as JobSearchResponse,
|
|
@@ -2045,6 +2031,8 @@ export declare namespace X {
|
|
|
2045
2031
|
|
|
2046
2032
|
export {
|
|
2047
2033
|
Communities as Communities,
|
|
2034
|
+
type CommunityAnalytics as CommunityAnalytics,
|
|
2035
|
+
type CommunityAnalyticsMetric as CommunityAnalyticsMetric,
|
|
2048
2036
|
type CommunityCreateResponse as CommunityCreateResponse,
|
|
2049
2037
|
type CommunityDeleteResponse as CommunityDeleteResponse,
|
|
2050
2038
|
type CommunityListSuggestedResponse as CommunityListSuggestedResponse,
|
|
@@ -2056,6 +2044,7 @@ export declare namespace X {
|
|
|
2056
2044
|
type CommunityListPopularParams as CommunityListPopularParams,
|
|
2057
2045
|
type CommunityListSuggestedParams as CommunityListSuggestedParams,
|
|
2058
2046
|
type CommunityListTopicsParams as CommunityListTopicsParams,
|
|
2047
|
+
type CommunityRetrieveAnalyticsParams as CommunityRetrieveAnalyticsParams,
|
|
2059
2048
|
type CommunityRetrieveInfoParams as CommunityRetrieveInfoParams,
|
|
2060
2049
|
type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams,
|
|
2061
2050
|
type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams,
|
|
@@ -2074,6 +2063,7 @@ export declare namespace X {
|
|
|
2074
2063
|
type AccountReauthResponse as AccountReauthResponse,
|
|
2075
2064
|
type AccountCreateParams as AccountCreateParams,
|
|
2076
2065
|
type AccountListParams as AccountListParams,
|
|
2066
|
+
type AccountBulkRetryParams as AccountBulkRetryParams,
|
|
2077
2067
|
type AccountReauthParams as AccountReauthParams,
|
|
2078
2068
|
};
|
|
2079
2069
|
|
|
@@ -2116,6 +2106,9 @@ export declare namespace X {
|
|
|
2116
2106
|
|
|
2117
2107
|
export {
|
|
2118
2108
|
CommunityNotes as CommunityNotes,
|
|
2109
|
+
type CommunityNotesContributor as CommunityNotesContributor,
|
|
2110
|
+
type CommunityNotesRatingOutcome as CommunityNotesRatingOutcome,
|
|
2111
|
+
type PaginatedCommunityNotes as PaginatedCommunityNotes,
|
|
2119
2112
|
type CommunityNoteListContributorDeletedNotesResponse as CommunityNoteListContributorDeletedNotesResponse,
|
|
2120
2113
|
type CommunityNoteListContributorNotesResponse as CommunityNoteListContributorNotesResponse,
|
|
2121
2114
|
type CommunityNoteRetrieveContributorResponse as CommunityNoteRetrieveContributorResponse,
|
|
@@ -2126,6 +2119,8 @@ export declare namespace X {
|
|
|
2126
2119
|
|
|
2127
2120
|
export {
|
|
2128
2121
|
Spaces as Spaces,
|
|
2122
|
+
type Space as Space,
|
|
2123
|
+
type SpaceParticipant as SpaceParticipant,
|
|
2129
2124
|
type SpaceRetrieveResponse as SpaceRetrieveResponse,
|
|
2130
2125
|
type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
|
|
2131
2126
|
type SpaceSearchResponse as SpaceSearchResponse,
|
|
@@ -2133,4 +2128,56 @@ export declare namespace X {
|
|
|
2133
2128
|
type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams,
|
|
2134
2129
|
type SpaceSearchParams as SpaceSearchParams,
|
|
2135
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
|
+
};
|
|
2136
2183
|
}
|
package/src/version.ts
CHANGED
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "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.
|
|
1
|
+
export declare const VERSION = "0.17.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
package/src/lib/.keep
DELETED