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.
- package/CHANGELOG.md +63 -5
- package/README.md +1 -0
- package/client.d.mts +12 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -4
- 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/internal/uploads.js +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/account.d.mts +5 -0
- package/resources/account.d.mts.map +1 -1
- package/resources/account.d.ts +5 -0
- package/resources/account.d.ts.map +1 -1
- package/resources/compose.d.mts +1 -1
- package/resources/compose.d.mts.map +1 -1
- package/resources/compose.d.ts +1 -1
- package/resources/compose.d.ts.map +1 -1
- package/resources/drafts.d.mts +13 -3
- package/resources/drafts.d.mts.map +1 -1
- package/resources/drafts.d.ts +13 -3
- package/resources/drafts.d.ts.map +1 -1
- package/resources/drafts.js +1 -1
- package/resources/drafts.mjs +1 -1
- package/resources/events.d.mts +100 -29
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +100 -29
- 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 +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- 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 +15 -65
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +15 -65
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/monitors.d.mts +12 -5
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +12 -5
- 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 +671 -7
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +671 -7
- 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 +26 -25
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +26 -25
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/support/tickets.js.map +1 -1
- package/resources/support/tickets.mjs.map +1 -1
- package/resources/webhooks.d.mts +10 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +10 -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 -127
- package/resources/x/broadcasts.d.mts.map +1 -1
- package/resources/x/broadcasts.d.ts +3 -127
- 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 -283
- package/resources/x/jobs.d.mts.map +1 -1
- package/resources/x/jobs.d.ts +144 -283
- 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 +27 -425
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +27 -425
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/media.d.mts +13 -2
- package/resources/x/media.d.mts.map +1 -1
- package/resources/x/media.d.ts +13 -2
- package/resources/x/media.d.ts.map +1 -1
- package/resources/x/media.js.map +1 -1
- package/resources/x/media.mjs.map +1 -1
- package/resources/x/profile.d.mts +13 -4
- package/resources/x/profile.d.mts.map +1 -1
- package/resources/x/profile.d.ts +13 -4
- package/resources/x/profile.d.ts.map +1 -1
- package/resources/x/profile.js.map +1 -1
- package/resources/x/profile.mjs.map +1 -1
- package/resources/x/spaces.d.mts +213 -669
- package/resources/x/spaces.d.mts.map +1 -1
- package/resources/x/spaces.d.ts +213 -669
- 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 +32 -24
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +32 -24
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs.map +1 -1
- package/resources/x/users/users.d.mts +62 -614
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +62 -614
- 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 +63 -118
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +63 -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 +12 -0
- package/src/internal/detect-platform.ts +2 -2
- package/src/internal/uploads.ts +1 -1
- package/src/resources/account.ts +6 -0
- package/src/resources/compose.ts +1 -1
- package/src/resources/drafts.ts +14 -2
- package/src/resources/events.ts +137 -29
- package/src/resources/index.ts +2 -0
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +15 -79
- package/src/resources/monitors/monitors.ts +52 -3
- package/src/resources/monitors/posts.ts +463 -0
- package/src/resources/shared.ts +897 -215
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +29 -25
- package/src/resources/webhooks.ts +11 -4
- package/src/resources/x/accounts.ts +19 -4
- package/src/resources/x/broadcasts.ts +3 -154
- 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 -324
- package/src/resources/x/lists.ts +27 -499
- package/src/resources/x/media.ts +15 -2
- package/src/resources/x/profile.ts +15 -4
- package/src/resources/x/spaces.ts +227 -787
- package/src/resources/x/sports.ts +1675 -0
- package/src/resources/x/tweets/tweets.ts +41 -26
- package/src/resources/x/users/users.ts +62 -721
- package/src/resources/x/x.ts +185 -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
|
@@ -145,7 +145,7 @@ export class Users extends APIResource {
|
|
|
145
145
|
id: string,
|
|
146
146
|
query: UserRetrieveFollowerIDsParams | null | undefined = {},
|
|
147
147
|
options?: RequestOptions,
|
|
148
|
-
): APIPromise<
|
|
148
|
+
): APIPromise<Shared.PaginatedUserIds> {
|
|
149
149
|
return this._client.get(path`/x/users/${id}/follower-ids`, { query, ...options });
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -218,7 +218,7 @@ export class Users extends APIResource {
|
|
|
218
218
|
id: string,
|
|
219
219
|
query: UserRetrieveFollowingIDsParams | null | undefined = {},
|
|
220
220
|
options?: RequestOptions,
|
|
221
|
-
): APIPromise<
|
|
221
|
+
): APIPromise<Shared.PaginatedUserIds> {
|
|
222
222
|
return this._client.get(path`/x/users/${id}/following-ids`, { query, ...options });
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -294,7 +294,7 @@ export class Users extends APIResource {
|
|
|
294
294
|
id: string,
|
|
295
295
|
query: UserRetrieveListMembershipsParams | null | undefined = {},
|
|
296
296
|
options?: RequestOptions,
|
|
297
|
-
): APIPromise<
|
|
297
|
+
): APIPromise<Shared.PaginatedLists> {
|
|
298
298
|
return this._client.get(path`/x/users/${id}/list-memberships`, { query, ...options });
|
|
299
299
|
}
|
|
300
300
|
|
|
@@ -312,7 +312,7 @@ export class Users extends APIResource {
|
|
|
312
312
|
id: string,
|
|
313
313
|
query: UserRetrieveListsParams | null | undefined = {},
|
|
314
314
|
options?: RequestOptions,
|
|
315
|
-
): APIPromise<
|
|
315
|
+
): APIPromise<Shared.PaginatedLists> {
|
|
316
316
|
return this._client.get(path`/x/users/${id}/lists`, { query, ...options });
|
|
317
317
|
}
|
|
318
318
|
|
|
@@ -840,26 +840,13 @@ export interface UserRetrieveBatchTweetsResponse {
|
|
|
840
840
|
unprocessed_ids: Array<string>;
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
|
|
844
|
-
* A page of user IDs without profiles. Follow next_cursor while the response
|
|
845
|
-
* reports more pages.
|
|
846
|
-
*/
|
|
847
|
-
export interface UserRetrieveFollowerIDsResponse {
|
|
848
|
-
has_next_page: boolean;
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* X user IDs, newest relationship first.
|
|
852
|
-
*/
|
|
853
|
-
ids: Array<string>;
|
|
854
|
-
|
|
855
|
-
next_cursor: string;
|
|
856
|
-
}
|
|
843
|
+
export type UserRetrieveFollowerIDsResponse = Shared.PaginatedUserIds;
|
|
857
844
|
|
|
858
845
|
/**
|
|
859
846
|
* A standard or terminal maximum-coverage relationship page.
|
|
860
847
|
*/
|
|
861
848
|
export type UserRetrieveFollowersResponse =
|
|
862
|
-
Shared.
|
|
849
|
+
Shared.UserListPage | UserRetrieveFollowersResponse.UserListCoverageResponse;
|
|
863
850
|
|
|
864
851
|
export namespace UserRetrieveFollowersResponse {
|
|
865
852
|
/**
|
|
@@ -874,9 +861,9 @@ export namespace UserRetrieveFollowersResponse {
|
|
|
874
861
|
*/
|
|
875
862
|
diagnostic: UserListCoverageResponse.Diagnostic;
|
|
876
863
|
|
|
877
|
-
has_next_page
|
|
864
|
+
has_next_page: false;
|
|
878
865
|
|
|
879
|
-
next_cursor
|
|
866
|
+
next_cursor: '';
|
|
880
867
|
}
|
|
881
868
|
|
|
882
869
|
export namespace UserListCoverageResponse {
|
|
@@ -974,7 +961,7 @@ export namespace UserRetrieveFollowersResponse {
|
|
|
974
961
|
* A standard or terminal maximum-coverage relationship page.
|
|
975
962
|
*/
|
|
976
963
|
export type UserRetrieveFollowingResponse =
|
|
977
|
-
Shared.
|
|
964
|
+
Shared.UserListPage | UserRetrieveFollowingResponse.UserListCoverageResponse;
|
|
978
965
|
|
|
979
966
|
export namespace UserRetrieveFollowingResponse {
|
|
980
967
|
/**
|
|
@@ -989,9 +976,9 @@ export namespace UserRetrieveFollowingResponse {
|
|
|
989
976
|
*/
|
|
990
977
|
diagnostic: UserListCoverageResponse.Diagnostic;
|
|
991
978
|
|
|
992
|
-
has_next_page
|
|
979
|
+
has_next_page: false;
|
|
993
980
|
|
|
994
|
-
next_cursor
|
|
981
|
+
next_cursor: '';
|
|
995
982
|
}
|
|
996
983
|
|
|
997
984
|
export namespace UserListCoverageResponse {
|
|
@@ -1085,20 +1072,7 @@ export namespace UserRetrieveFollowingResponse {
|
|
|
1085
1072
|
}
|
|
1086
1073
|
}
|
|
1087
1074
|
|
|
1088
|
-
|
|
1089
|
-
* A page of user IDs without profiles. Follow next_cursor while the response
|
|
1090
|
-
* reports more pages.
|
|
1091
|
-
*/
|
|
1092
|
-
export interface UserRetrieveFollowingIDsResponse {
|
|
1093
|
-
has_next_page: boolean;
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* X user IDs, newest relationship first.
|
|
1097
|
-
*/
|
|
1098
|
-
ids: Array<string>;
|
|
1099
|
-
|
|
1100
|
-
next_cursor: string;
|
|
1101
|
-
}
|
|
1075
|
+
export type UserRetrieveFollowingIDsResponse = Shared.PaginatedUserIds;
|
|
1102
1076
|
|
|
1103
1077
|
export interface UserRetrieveInsightsResponse {
|
|
1104
1078
|
/**
|
|
@@ -1251,548 +1225,66 @@ export namespace UserRetrieveInsightsResponse {
|
|
|
1251
1225
|
}
|
|
1252
1226
|
}
|
|
1253
1227
|
|
|
1254
|
-
|
|
1255
|
-
* One page of public X Lists. Follow next_cursor while the response reports more
|
|
1256
|
-
* pages. Each returned List costs 1 credit.
|
|
1257
|
-
*/
|
|
1258
|
-
export interface UserRetrieveListMembershipsResponse {
|
|
1259
|
-
has_next_page: boolean;
|
|
1260
|
-
|
|
1261
|
-
lists: Array<UserRetrieveListMembershipsResponse.List>;
|
|
1262
|
-
|
|
1263
|
-
next_cursor: string;
|
|
1264
|
-
}
|
|
1228
|
+
export type UserRetrieveListMembershipsResponse = Shared.PaginatedLists;
|
|
1265
1229
|
|
|
1266
1230
|
export namespace UserRetrieveListMembershipsResponse {
|
|
1267
|
-
|
|
1268
|
-
* Public X List with its owner's public profile. Leaves out what X tells the
|
|
1269
|
-
* reading account, such as whether it follows the List.
|
|
1270
|
-
*/
|
|
1271
|
-
export interface List {
|
|
1272
|
-
/**
|
|
1273
|
-
* Numeric ID of the List.
|
|
1274
|
-
*/
|
|
1275
|
-
id: string;
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* Name the owner gave the List.
|
|
1279
|
-
*/
|
|
1280
|
-
name: string;
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* URL of the banner the owner uploaded. Absent when the owner uploaded none.
|
|
1284
|
-
*/
|
|
1285
|
-
bannerUrl?: string;
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
* When the owner made the List.
|
|
1289
|
-
*/
|
|
1290
|
-
createdAt?: string;
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* Banner the owner uploaded.
|
|
1294
|
-
*/
|
|
1295
|
-
customBanner?: List.CustomBanner;
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
1299
|
-
* 2 calls can return different ones.
|
|
1300
|
-
*/
|
|
1301
|
-
defaultBanner?: List.DefaultBanner;
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* About text of the List. Empty when the owner wrote none.
|
|
1305
|
-
*/
|
|
1306
|
-
description?: string;
|
|
1307
|
-
|
|
1308
|
-
/**
|
|
1309
|
-
* Avatar URLs of a few List members, which X may pick per request.
|
|
1310
|
-
*/
|
|
1311
|
-
facepileUrls?: Array<string>;
|
|
1312
|
-
|
|
1313
|
-
/**
|
|
1314
|
-
* Accounts on the List.
|
|
1315
|
-
*/
|
|
1316
|
-
memberCount?: number;
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* Member count as X words it, such as 35 members.
|
|
1320
|
-
*/
|
|
1321
|
-
membersContext?: string;
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* Public profile of the account that owns the List.
|
|
1325
|
-
*/
|
|
1326
|
-
owner?: Shared.UserProfile;
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* Accounts that follow the List, which X calls followers.
|
|
1330
|
-
*/
|
|
1331
|
-
subscriberCount?: number;
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* List page on x.com.
|
|
1335
|
-
*/
|
|
1336
|
-
url?: string;
|
|
1337
|
-
}
|
|
1231
|
+
export type List = Shared.XList;
|
|
1338
1232
|
|
|
1339
1233
|
export namespace List {
|
|
1340
|
-
|
|
1341
|
-
* Banner the owner uploaded.
|
|
1342
|
-
*/
|
|
1343
|
-
export interface CustomBanner {
|
|
1344
|
-
/**
|
|
1345
|
-
* Banner image URL.
|
|
1346
|
-
*/
|
|
1347
|
-
url: string;
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Banner height in pixels.
|
|
1351
|
-
*/
|
|
1352
|
-
height?: number;
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* Media ID of an uploaded banner.
|
|
1356
|
-
*/
|
|
1357
|
-
mediaId?: string;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Stable media key of an uploaded banner.
|
|
1361
|
-
*/
|
|
1362
|
-
mediaKey?: string;
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* Dominant colors of an uploaded banner and their shares.
|
|
1366
|
-
*/
|
|
1367
|
-
palette?: Array<CustomBanner.Palette>;
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1371
|
-
*/
|
|
1372
|
-
salientRect?: CustomBanner.SalientRect;
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Banner width in pixels.
|
|
1376
|
-
*/
|
|
1377
|
-
width?: number;
|
|
1378
|
-
}
|
|
1234
|
+
export type CustomBanner = Shared.XListBanner;
|
|
1379
1235
|
|
|
1380
1236
|
export namespace CustomBanner {
|
|
1381
|
-
export
|
|
1382
|
-
/**
|
|
1383
|
-
* Share of the banner
|
|
1384
|
-
*/
|
|
1385
|
-
percentage?: number;
|
|
1386
|
-
|
|
1387
|
-
/**
|
|
1388
|
-
* The color's red, green and blue values.
|
|
1389
|
-
*/
|
|
1390
|
-
rgb?: Palette.Rgb;
|
|
1391
|
-
}
|
|
1237
|
+
export type Palette = Shared.XListBanner.Palette;
|
|
1392
1238
|
|
|
1393
1239
|
export namespace Palette {
|
|
1394
|
-
|
|
1395
|
-
* The color's red, green and blue values.
|
|
1396
|
-
*/
|
|
1397
|
-
export interface Rgb {
|
|
1398
|
-
blue?: number;
|
|
1399
|
-
|
|
1400
|
-
green?: number;
|
|
1401
|
-
|
|
1402
|
-
red?: number;
|
|
1403
|
-
}
|
|
1240
|
+
export type Rgb = Shared.XListBanner.Palette.Rgb;
|
|
1404
1241
|
}
|
|
1405
1242
|
|
|
1406
|
-
|
|
1407
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1408
|
-
*/
|
|
1409
|
-
export interface SalientRect {
|
|
1410
|
-
/**
|
|
1411
|
-
* Height of the marked area.
|
|
1412
|
-
*/
|
|
1413
|
-
height?: number;
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* Pixels from the banner's left.
|
|
1417
|
-
*/
|
|
1418
|
-
left?: number;
|
|
1419
|
-
|
|
1420
|
-
/**
|
|
1421
|
-
* Pixels from the banner's top.
|
|
1422
|
-
*/
|
|
1423
|
-
top?: number;
|
|
1424
|
-
|
|
1425
|
-
/**
|
|
1426
|
-
* Width of the marked area.
|
|
1427
|
-
*/
|
|
1428
|
-
width?: number;
|
|
1429
|
-
}
|
|
1243
|
+
export type SalientRect = Shared.XListBanner.SalientRect;
|
|
1430
1244
|
}
|
|
1431
1245
|
|
|
1432
|
-
|
|
1433
|
-
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
1434
|
-
* 2 calls can return different ones.
|
|
1435
|
-
*/
|
|
1436
|
-
export interface DefaultBanner {
|
|
1437
|
-
/**
|
|
1438
|
-
* Banner image URL.
|
|
1439
|
-
*/
|
|
1440
|
-
url: string;
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* Banner height in pixels.
|
|
1444
|
-
*/
|
|
1445
|
-
height?: number;
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* Media ID of an uploaded banner.
|
|
1449
|
-
*/
|
|
1450
|
-
mediaId?: string;
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
* Stable media key of an uploaded banner.
|
|
1454
|
-
*/
|
|
1455
|
-
mediaKey?: string;
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* Dominant colors of an uploaded banner and their shares.
|
|
1459
|
-
*/
|
|
1460
|
-
palette?: Array<DefaultBanner.Palette>;
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1464
|
-
*/
|
|
1465
|
-
salientRect?: DefaultBanner.SalientRect;
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* Banner width in pixels.
|
|
1469
|
-
*/
|
|
1470
|
-
width?: number;
|
|
1471
|
-
}
|
|
1246
|
+
export type DefaultBanner = Shared.XListBanner;
|
|
1472
1247
|
|
|
1473
1248
|
export namespace DefaultBanner {
|
|
1474
|
-
export
|
|
1475
|
-
/**
|
|
1476
|
-
* Share of the banner
|
|
1477
|
-
*/
|
|
1478
|
-
percentage?: number;
|
|
1479
|
-
|
|
1480
|
-
/**
|
|
1481
|
-
* The color's red, green and blue values.
|
|
1482
|
-
*/
|
|
1483
|
-
rgb?: Palette.Rgb;
|
|
1484
|
-
}
|
|
1249
|
+
export type Palette = Shared.XListBanner.Palette;
|
|
1485
1250
|
|
|
1486
1251
|
export namespace Palette {
|
|
1487
|
-
|
|
1488
|
-
* The color's red, green and blue values.
|
|
1489
|
-
*/
|
|
1490
|
-
export interface Rgb {
|
|
1491
|
-
blue?: number;
|
|
1492
|
-
|
|
1493
|
-
green?: number;
|
|
1494
|
-
|
|
1495
|
-
red?: number;
|
|
1496
|
-
}
|
|
1252
|
+
export type Rgb = Shared.XListBanner.Palette.Rgb;
|
|
1497
1253
|
}
|
|
1498
1254
|
|
|
1499
|
-
|
|
1500
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1501
|
-
*/
|
|
1502
|
-
export interface SalientRect {
|
|
1503
|
-
/**
|
|
1504
|
-
* Height of the marked area.
|
|
1505
|
-
*/
|
|
1506
|
-
height?: number;
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* Pixels from the banner's left.
|
|
1510
|
-
*/
|
|
1511
|
-
left?: number;
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
* Pixels from the banner's top.
|
|
1515
|
-
*/
|
|
1516
|
-
top?: number;
|
|
1517
|
-
|
|
1518
|
-
/**
|
|
1519
|
-
* Width of the marked area.
|
|
1520
|
-
*/
|
|
1521
|
-
width?: number;
|
|
1522
|
-
}
|
|
1255
|
+
export type SalientRect = Shared.XListBanner.SalientRect;
|
|
1523
1256
|
}
|
|
1524
1257
|
}
|
|
1525
1258
|
}
|
|
1526
1259
|
|
|
1527
|
-
|
|
1528
|
-
* One page of public X Lists. Follow next_cursor while the response reports more
|
|
1529
|
-
* pages. Each returned List costs 1 credit.
|
|
1530
|
-
*/
|
|
1531
|
-
export interface UserRetrieveListsResponse {
|
|
1532
|
-
has_next_page: boolean;
|
|
1533
|
-
|
|
1534
|
-
lists: Array<UserRetrieveListsResponse.List>;
|
|
1535
|
-
|
|
1536
|
-
next_cursor: string;
|
|
1537
|
-
}
|
|
1260
|
+
export type UserRetrieveListsResponse = Shared.PaginatedLists;
|
|
1538
1261
|
|
|
1539
1262
|
export namespace UserRetrieveListsResponse {
|
|
1540
|
-
|
|
1541
|
-
* Public X List with its owner's public profile. Leaves out what X tells the
|
|
1542
|
-
* reading account, such as whether it follows the List.
|
|
1543
|
-
*/
|
|
1544
|
-
export interface List {
|
|
1545
|
-
/**
|
|
1546
|
-
* Numeric ID of the List.
|
|
1547
|
-
*/
|
|
1548
|
-
id: string;
|
|
1549
|
-
|
|
1550
|
-
/**
|
|
1551
|
-
* Name the owner gave the List.
|
|
1552
|
-
*/
|
|
1553
|
-
name: string;
|
|
1554
|
-
|
|
1555
|
-
/**
|
|
1556
|
-
* URL of the banner the owner uploaded. Absent when the owner uploaded none.
|
|
1557
|
-
*/
|
|
1558
|
-
bannerUrl?: string;
|
|
1559
|
-
|
|
1560
|
-
/**
|
|
1561
|
-
* When the owner made the List.
|
|
1562
|
-
*/
|
|
1563
|
-
createdAt?: string;
|
|
1564
|
-
|
|
1565
|
-
/**
|
|
1566
|
-
* Banner the owner uploaded.
|
|
1567
|
-
*/
|
|
1568
|
-
customBanner?: List.CustomBanner;
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
1572
|
-
* 2 calls can return different ones.
|
|
1573
|
-
*/
|
|
1574
|
-
defaultBanner?: List.DefaultBanner;
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* About text of the List. Empty when the owner wrote none.
|
|
1578
|
-
*/
|
|
1579
|
-
description?: string;
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* Avatar URLs of a few List members, which X may pick per request.
|
|
1583
|
-
*/
|
|
1584
|
-
facepileUrls?: Array<string>;
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Accounts on the List.
|
|
1588
|
-
*/
|
|
1589
|
-
memberCount?: number;
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* Member count as X words it, such as 35 members.
|
|
1593
|
-
*/
|
|
1594
|
-
membersContext?: string;
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* Public profile of the account that owns the List.
|
|
1598
|
-
*/
|
|
1599
|
-
owner?: Shared.UserProfile;
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* Accounts that follow the List, which X calls followers.
|
|
1603
|
-
*/
|
|
1604
|
-
subscriberCount?: number;
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* List page on x.com.
|
|
1608
|
-
*/
|
|
1609
|
-
url?: string;
|
|
1610
|
-
}
|
|
1263
|
+
export type List = Shared.XList;
|
|
1611
1264
|
|
|
1612
1265
|
export namespace List {
|
|
1613
|
-
|
|
1614
|
-
* Banner the owner uploaded.
|
|
1615
|
-
*/
|
|
1616
|
-
export interface CustomBanner {
|
|
1617
|
-
/**
|
|
1618
|
-
* Banner image URL.
|
|
1619
|
-
*/
|
|
1620
|
-
url: string;
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* Banner height in pixels.
|
|
1624
|
-
*/
|
|
1625
|
-
height?: number;
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* Media ID of an uploaded banner.
|
|
1629
|
-
*/
|
|
1630
|
-
mediaId?: string;
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* Stable media key of an uploaded banner.
|
|
1634
|
-
*/
|
|
1635
|
-
mediaKey?: string;
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* Dominant colors of an uploaded banner and their shares.
|
|
1639
|
-
*/
|
|
1640
|
-
palette?: Array<CustomBanner.Palette>;
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1644
|
-
*/
|
|
1645
|
-
salientRect?: CustomBanner.SalientRect;
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* Banner width in pixels.
|
|
1649
|
-
*/
|
|
1650
|
-
width?: number;
|
|
1651
|
-
}
|
|
1266
|
+
export type CustomBanner = Shared.XListBanner;
|
|
1652
1267
|
|
|
1653
1268
|
export namespace CustomBanner {
|
|
1654
|
-
export
|
|
1655
|
-
/**
|
|
1656
|
-
* Share of the banner
|
|
1657
|
-
*/
|
|
1658
|
-
percentage?: number;
|
|
1659
|
-
|
|
1660
|
-
/**
|
|
1661
|
-
* The color's red, green and blue values.
|
|
1662
|
-
*/
|
|
1663
|
-
rgb?: Palette.Rgb;
|
|
1664
|
-
}
|
|
1269
|
+
export type Palette = Shared.XListBanner.Palette;
|
|
1665
1270
|
|
|
1666
1271
|
export namespace Palette {
|
|
1667
|
-
|
|
1668
|
-
* The color's red, green and blue values.
|
|
1669
|
-
*/
|
|
1670
|
-
export interface Rgb {
|
|
1671
|
-
blue?: number;
|
|
1672
|
-
|
|
1673
|
-
green?: number;
|
|
1674
|
-
|
|
1675
|
-
red?: number;
|
|
1676
|
-
}
|
|
1272
|
+
export type Rgb = Shared.XListBanner.Palette.Rgb;
|
|
1677
1273
|
}
|
|
1678
1274
|
|
|
1679
|
-
|
|
1680
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1681
|
-
*/
|
|
1682
|
-
export interface SalientRect {
|
|
1683
|
-
/**
|
|
1684
|
-
* Height of the marked area.
|
|
1685
|
-
*/
|
|
1686
|
-
height?: number;
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* Pixels from the banner's left.
|
|
1690
|
-
*/
|
|
1691
|
-
left?: number;
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* Pixels from the banner's top.
|
|
1695
|
-
*/
|
|
1696
|
-
top?: number;
|
|
1697
|
-
|
|
1698
|
-
/**
|
|
1699
|
-
* Width of the marked area.
|
|
1700
|
-
*/
|
|
1701
|
-
width?: number;
|
|
1702
|
-
}
|
|
1275
|
+
export type SalientRect = Shared.XListBanner.SalientRect;
|
|
1703
1276
|
}
|
|
1704
1277
|
|
|
1705
|
-
|
|
1706
|
-
* Banner X shows when the owner uploaded none. X picks it per reading account, so
|
|
1707
|
-
* 2 calls can return different ones.
|
|
1708
|
-
*/
|
|
1709
|
-
export interface DefaultBanner {
|
|
1710
|
-
/**
|
|
1711
|
-
* Banner image URL.
|
|
1712
|
-
*/
|
|
1713
|
-
url: string;
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* Banner height in pixels.
|
|
1717
|
-
*/
|
|
1718
|
-
height?: number;
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* Media ID of an uploaded banner.
|
|
1722
|
-
*/
|
|
1723
|
-
mediaId?: string;
|
|
1724
|
-
|
|
1725
|
-
/**
|
|
1726
|
-
* Stable media key of an uploaded banner.
|
|
1727
|
-
*/
|
|
1728
|
-
mediaKey?: string;
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Dominant colors of an uploaded banner and their shares.
|
|
1732
|
-
*/
|
|
1733
|
-
palette?: Array<DefaultBanner.Palette>;
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1737
|
-
*/
|
|
1738
|
-
salientRect?: DefaultBanner.SalientRect;
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* Banner width in pixels.
|
|
1742
|
-
*/
|
|
1743
|
-
width?: number;
|
|
1744
|
-
}
|
|
1278
|
+
export type DefaultBanner = Shared.XListBanner;
|
|
1745
1279
|
|
|
1746
1280
|
export namespace DefaultBanner {
|
|
1747
|
-
export
|
|
1748
|
-
/**
|
|
1749
|
-
* Share of the banner
|
|
1750
|
-
*/
|
|
1751
|
-
percentage?: number;
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* The color's red, green and blue values.
|
|
1755
|
-
*/
|
|
1756
|
-
rgb?: Palette.Rgb;
|
|
1757
|
-
}
|
|
1281
|
+
export type Palette = Shared.XListBanner.Palette;
|
|
1758
1282
|
|
|
1759
1283
|
export namespace Palette {
|
|
1760
|
-
|
|
1761
|
-
* The color's red, green and blue values.
|
|
1762
|
-
*/
|
|
1763
|
-
export interface Rgb {
|
|
1764
|
-
blue?: number;
|
|
1765
|
-
|
|
1766
|
-
green?: number;
|
|
1767
|
-
|
|
1768
|
-
red?: number;
|
|
1769
|
-
}
|
|
1284
|
+
export type Rgb = Shared.XListBanner.Palette.Rgb;
|
|
1770
1285
|
}
|
|
1771
1286
|
|
|
1772
|
-
|
|
1773
|
-
* Area X marks as the subject of the banner, in pixels.
|
|
1774
|
-
*/
|
|
1775
|
-
export interface SalientRect {
|
|
1776
|
-
/**
|
|
1777
|
-
* Height of the marked area.
|
|
1778
|
-
*/
|
|
1779
|
-
height?: number;
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* Pixels from the banner's left.
|
|
1783
|
-
*/
|
|
1784
|
-
left?: number;
|
|
1785
|
-
|
|
1786
|
-
/**
|
|
1787
|
-
* Pixels from the banner's top.
|
|
1788
|
-
*/
|
|
1789
|
-
top?: number;
|
|
1790
|
-
|
|
1791
|
-
/**
|
|
1792
|
-
* Width of the marked area.
|
|
1793
|
-
*/
|
|
1794
|
-
width?: number;
|
|
1795
|
-
}
|
|
1287
|
+
export type SalientRect = Shared.XListBanner.SalientRect;
|
|
1796
1288
|
}
|
|
1797
1289
|
}
|
|
1798
1290
|
}
|
|
@@ -1805,7 +1297,7 @@ export interface UserRetrieveLiveResponse {
|
|
|
1805
1297
|
/**
|
|
1806
1298
|
* Latest broadcast, live or ended. Null when X shows none.
|
|
1807
1299
|
*/
|
|
1808
|
-
broadcast:
|
|
1300
|
+
broadcast: Shared.Broadcast | null;
|
|
1809
1301
|
|
|
1810
1302
|
/**
|
|
1811
1303
|
* True while the user's latest broadcast is running.
|
|
@@ -1824,161 +1316,10 @@ export interface UserRetrieveLiveResponse {
|
|
|
1824
1316
|
}
|
|
1825
1317
|
|
|
1826
1318
|
export namespace UserRetrieveLiveResponse {
|
|
1827
|
-
|
|
1828
|
-
* X broadcast, a live video
|
|
1829
|
-
*/
|
|
1830
|
-
export interface Broadcast {
|
|
1831
|
-
/**
|
|
1832
|
-
* Broadcast ID
|
|
1833
|
-
*/
|
|
1834
|
-
id: string;
|
|
1835
|
-
|
|
1836
|
-
/**
|
|
1837
|
-
* Camera rotation in degrees
|
|
1838
|
-
*/
|
|
1839
|
-
cameraRotation?: number;
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* X's code for who may chat
|
|
1843
|
-
*/
|
|
1844
|
-
chatOption?: number;
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* Public X profile.
|
|
1848
|
-
*/
|
|
1849
|
-
creator?: Shared.UserProfile;
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* When the broadcast ended
|
|
1853
|
-
*/
|
|
1854
|
-
endedAt?: string;
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* Video height in pixels
|
|
1858
|
-
*/
|
|
1859
|
-
height?: number;
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
* Whether X offers a recording of the broadcast
|
|
1863
|
-
*/
|
|
1864
|
-
isAvailableForReplay?: boolean;
|
|
1865
|
-
|
|
1866
|
-
/**
|
|
1867
|
-
* Whether the video stream runs in high-latency mode
|
|
1868
|
-
*/
|
|
1869
|
-
isHighLatency?: boolean;
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* Whether X marks the chat private
|
|
1873
|
-
*/
|
|
1874
|
-
isPrivateChat?: boolean;
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* Whether the broadcaster edited the title of the replay
|
|
1878
|
-
*/
|
|
1879
|
-
isTitleEdited?: boolean;
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
* When the video stream last reached X
|
|
1883
|
-
*/
|
|
1884
|
-
lastPingAt?: string;
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* X's media key for the video
|
|
1888
|
-
*/
|
|
1889
|
-
mediaKey?: string;
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* Broadcaster, as X's live video service names the account
|
|
1893
|
-
*/
|
|
1894
|
-
periscopeUser?: Broadcast.PeriscopeUser;
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* Image X shows before the broadcast starts
|
|
1898
|
-
*/
|
|
1899
|
-
preLiveSlateUrl?: string;
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* When the broadcast was set to start
|
|
1903
|
-
*/
|
|
1904
|
-
scheduledStart?: string;
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* What produced the video stream, as X names it
|
|
1908
|
-
*/
|
|
1909
|
-
source?: string;
|
|
1910
|
-
|
|
1911
|
-
/**
|
|
1912
|
-
* When the broadcast went live
|
|
1913
|
-
*/
|
|
1914
|
-
startedAt?: string;
|
|
1915
|
-
|
|
1916
|
-
/**
|
|
1917
|
-
* Such as NotStarted, Running or Ended, as X names it
|
|
1918
|
-
*/
|
|
1919
|
-
state?: string;
|
|
1920
|
-
|
|
1921
|
-
/**
|
|
1922
|
-
* Broadcast title
|
|
1923
|
-
*/
|
|
1924
|
-
title?: string;
|
|
1925
|
-
|
|
1926
|
-
/**
|
|
1927
|
-
* Accounts that watched, live or after
|
|
1928
|
-
*/
|
|
1929
|
-
totalWatched?: number;
|
|
1930
|
-
|
|
1931
|
-
/**
|
|
1932
|
-
* Accounts watching, as X counts them
|
|
1933
|
-
*/
|
|
1934
|
-
totalWatching?: number;
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
1938
|
-
*/
|
|
1939
|
-
tweet?: Shared.SearchTweet;
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
* ID of the post that announces the broadcast
|
|
1943
|
-
*/
|
|
1944
|
-
tweetId?: string;
|
|
1945
|
-
|
|
1946
|
-
/**
|
|
1947
|
-
* X's revision number of the broadcast
|
|
1948
|
-
*/
|
|
1949
|
-
version?: number;
|
|
1950
|
-
|
|
1951
|
-
/**
|
|
1952
|
-
* Video width in pixels
|
|
1953
|
-
*/
|
|
1954
|
-
width?: number;
|
|
1955
|
-
}
|
|
1319
|
+
export type Broadcast = Shared.Broadcast;
|
|
1956
1320
|
|
|
1957
1321
|
export namespace Broadcast {
|
|
1958
|
-
|
|
1959
|
-
* Broadcaster, as X's live video service names the account
|
|
1960
|
-
*/
|
|
1961
|
-
export interface PeriscopeUser {
|
|
1962
|
-
/**
|
|
1963
|
-
* Live video account ID
|
|
1964
|
-
*/
|
|
1965
|
-
id?: string;
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
* Live video display name
|
|
1969
|
-
*/
|
|
1970
|
-
displayName?: string;
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* Live video avatar URL
|
|
1974
|
-
*/
|
|
1975
|
-
profilePicture?: string;
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* Live video username
|
|
1979
|
-
*/
|
|
1980
|
-
username?: string;
|
|
1981
|
-
}
|
|
1322
|
+
export type PeriscopeUser = Shared.Broadcast.PeriscopeUser;
|
|
1982
1323
|
}
|
|
1983
1324
|
}
|
|
1984
1325
|
|
|
@@ -1986,7 +1327,7 @@ export namespace UserRetrieveLiveResponse {
|
|
|
1986
1327
|
* A standard or terminal maximum-coverage relationship page.
|
|
1987
1328
|
*/
|
|
1988
1329
|
export type UserRetrieveVerifiedFollowersResponse =
|
|
1989
|
-
Shared.
|
|
1330
|
+
Shared.UserListPage | UserRetrieveVerifiedFollowersResponse.UserListCoverageResponse;
|
|
1990
1331
|
|
|
1991
1332
|
export namespace UserRetrieveVerifiedFollowersResponse {
|
|
1992
1333
|
/**
|
|
@@ -2001,9 +1342,9 @@ export namespace UserRetrieveVerifiedFollowersResponse {
|
|
|
2001
1342
|
*/
|
|
2002
1343
|
diagnostic: UserListCoverageResponse.Diagnostic;
|
|
2003
1344
|
|
|
2004
|
-
has_next_page
|
|
1345
|
+
has_next_page: false;
|
|
2005
1346
|
|
|
2006
|
-
next_cursor
|
|
1347
|
+
next_cursor: '';
|
|
2007
1348
|
}
|
|
2008
1349
|
|
|
2009
1350
|
export namespace UserListCoverageResponse {
|
|
@@ -3635,7 +2976,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3635
2976
|
blueVerifiedOnly?: boolean;
|
|
3636
2977
|
|
|
3637
2978
|
/**
|
|
3638
|
-
* @deprecated
|
|
2979
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3639
2980
|
*/
|
|
3640
2981
|
cardName?: string;
|
|
3641
2982
|
|
|
@@ -3661,7 +3002,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3661
3002
|
exactPhrase?: string;
|
|
3662
3003
|
|
|
3663
3004
|
/**
|
|
3664
|
-
* @deprecated
|
|
3005
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3665
3006
|
*/
|
|
3666
3007
|
excludeSource?: string;
|
|
3667
3008
|
|
|
@@ -3686,7 +3027,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3686
3027
|
fromUser?: string;
|
|
3687
3028
|
|
|
3688
3029
|
/**
|
|
3689
|
-
* @deprecated
|
|
3030
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3690
3031
|
*/
|
|
3691
3032
|
geocode?: string;
|
|
3692
3033
|
|
|
@@ -3781,12 +3122,12 @@ export interface UserRetrieveLikesParams {
|
|
|
3781
3122
|
nativeRetweets?: boolean;
|
|
3782
3123
|
|
|
3783
3124
|
/**
|
|
3784
|
-
* @deprecated
|
|
3125
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3785
3126
|
*/
|
|
3786
3127
|
near?: string;
|
|
3787
3128
|
|
|
3788
3129
|
/**
|
|
3789
|
-
* @deprecated
|
|
3130
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3790
3131
|
*/
|
|
3791
3132
|
news?: boolean;
|
|
3792
3133
|
|
|
@@ -3829,7 +3170,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3829
3170
|
retweetsOfTweetId?: string;
|
|
3830
3171
|
|
|
3831
3172
|
/**
|
|
3832
|
-
* @deprecated
|
|
3173
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3833
3174
|
*/
|
|
3834
3175
|
safe?: boolean;
|
|
3835
3176
|
|
|
@@ -3844,7 +3185,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3844
3185
|
sinceId?: string;
|
|
3845
3186
|
|
|
3846
3187
|
/**
|
|
3847
|
-
* @deprecated
|
|
3188
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3848
3189
|
*/
|
|
3849
3190
|
source?: string;
|
|
3850
3191
|
|
|
@@ -3869,7 +3210,7 @@ export interface UserRetrieveLikesParams {
|
|
|
3869
3210
|
verifiedOnly?: boolean;
|
|
3870
3211
|
|
|
3871
3212
|
/**
|
|
3872
|
-
* @deprecated
|
|
3213
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3873
3214
|
*/
|
|
3874
3215
|
within?: string;
|
|
3875
3216
|
|
|
@@ -3973,7 +3314,7 @@ export interface UserRetrieveMediaParams {
|
|
|
3973
3314
|
blueVerifiedOnly?: boolean;
|
|
3974
3315
|
|
|
3975
3316
|
/**
|
|
3976
|
-
* @deprecated
|
|
3317
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
3977
3318
|
*/
|
|
3978
3319
|
cardName?: string;
|
|
3979
3320
|
|
|
@@ -3999,7 +3340,7 @@ export interface UserRetrieveMediaParams {
|
|
|
3999
3340
|
exactPhrase?: string;
|
|
4000
3341
|
|
|
4001
3342
|
/**
|
|
4002
|
-
* @deprecated
|
|
3343
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4003
3344
|
*/
|
|
4004
3345
|
excludeSource?: string;
|
|
4005
3346
|
|
|
@@ -4024,7 +3365,7 @@ export interface UserRetrieveMediaParams {
|
|
|
4024
3365
|
fromUser?: string;
|
|
4025
3366
|
|
|
4026
3367
|
/**
|
|
4027
|
-
* @deprecated
|
|
3368
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4028
3369
|
*/
|
|
4029
3370
|
geocode?: string;
|
|
4030
3371
|
|
|
@@ -4119,12 +3460,12 @@ export interface UserRetrieveMediaParams {
|
|
|
4119
3460
|
nativeRetweets?: boolean;
|
|
4120
3461
|
|
|
4121
3462
|
/**
|
|
4122
|
-
* @deprecated
|
|
3463
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4123
3464
|
*/
|
|
4124
3465
|
near?: string;
|
|
4125
3466
|
|
|
4126
3467
|
/**
|
|
4127
|
-
* @deprecated
|
|
3468
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4128
3469
|
*/
|
|
4129
3470
|
news?: boolean;
|
|
4130
3471
|
|
|
@@ -4167,7 +3508,7 @@ export interface UserRetrieveMediaParams {
|
|
|
4167
3508
|
retweetsOfTweetId?: string;
|
|
4168
3509
|
|
|
4169
3510
|
/**
|
|
4170
|
-
* @deprecated
|
|
3511
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4171
3512
|
*/
|
|
4172
3513
|
safe?: boolean;
|
|
4173
3514
|
|
|
@@ -4182,7 +3523,7 @@ export interface UserRetrieveMediaParams {
|
|
|
4182
3523
|
sinceId?: string;
|
|
4183
3524
|
|
|
4184
3525
|
/**
|
|
4185
|
-
* @deprecated
|
|
3526
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4186
3527
|
*/
|
|
4187
3528
|
source?: string;
|
|
4188
3529
|
|
|
@@ -4207,7 +3548,7 @@ export interface UserRetrieveMediaParams {
|
|
|
4207
3548
|
verifiedOnly?: boolean;
|
|
4208
3549
|
|
|
4209
3550
|
/**
|
|
4210
|
-
* @deprecated
|
|
3551
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4211
3552
|
*/
|
|
4212
3553
|
within?: string;
|
|
4213
3554
|
|
|
@@ -4231,7 +3572,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4231
3572
|
blueVerifiedOnly?: boolean;
|
|
4232
3573
|
|
|
4233
3574
|
/**
|
|
4234
|
-
* @deprecated
|
|
3575
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4235
3576
|
*/
|
|
4236
3577
|
cardName?: string;
|
|
4237
3578
|
|
|
@@ -4257,7 +3598,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4257
3598
|
exactPhrase?: string;
|
|
4258
3599
|
|
|
4259
3600
|
/**
|
|
4260
|
-
* @deprecated
|
|
3601
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4261
3602
|
*/
|
|
4262
3603
|
excludeSource?: string;
|
|
4263
3604
|
|
|
@@ -4282,7 +3623,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4282
3623
|
fromUser?: string;
|
|
4283
3624
|
|
|
4284
3625
|
/**
|
|
4285
|
-
* @deprecated
|
|
3626
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4286
3627
|
*/
|
|
4287
3628
|
geocode?: string;
|
|
4288
3629
|
|
|
@@ -4377,12 +3718,12 @@ export interface UserRetrieveMentionsParams {
|
|
|
4377
3718
|
nativeRetweets?: boolean;
|
|
4378
3719
|
|
|
4379
3720
|
/**
|
|
4380
|
-
* @deprecated
|
|
3721
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4381
3722
|
*/
|
|
4382
3723
|
near?: string;
|
|
4383
3724
|
|
|
4384
3725
|
/**
|
|
4385
|
-
* @deprecated
|
|
3726
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4386
3727
|
*/
|
|
4387
3728
|
news?: boolean;
|
|
4388
3729
|
|
|
@@ -4425,7 +3766,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4425
3766
|
retweetsOfTweetId?: string;
|
|
4426
3767
|
|
|
4427
3768
|
/**
|
|
4428
|
-
* @deprecated
|
|
3769
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4429
3770
|
*/
|
|
4430
3771
|
safe?: boolean;
|
|
4431
3772
|
|
|
@@ -4446,7 +3787,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4446
3787
|
sinceTime?: string;
|
|
4447
3788
|
|
|
4448
3789
|
/**
|
|
4449
|
-
* @deprecated
|
|
3790
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4450
3791
|
*/
|
|
4451
3792
|
source?: string;
|
|
4452
3793
|
|
|
@@ -4477,7 +3818,7 @@ export interface UserRetrieveMentionsParams {
|
|
|
4477
3818
|
verifiedOnly?: boolean;
|
|
4478
3819
|
|
|
4479
3820
|
/**
|
|
4480
|
-
* @deprecated
|
|
3821
|
+
* @deprecated The API ignores this filter on this route. Remove it.
|
|
4481
3822
|
*/
|
|
4482
3823
|
within?: string;
|
|
4483
3824
|
|