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
package/resources/x/spaces.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as SpacesAPI from "./spaces.mjs";
|
|
3
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
6
|
/**
|
|
@@ -44,360 +45,235 @@ export declare class Spaces extends APIResource {
|
|
|
44
45
|
*/
|
|
45
46
|
search(query: SpaceSearchParams, options?: RequestOptions): APIPromise<SpaceSearchResponse>;
|
|
46
47
|
}
|
|
47
|
-
|
|
48
|
+
/**
|
|
49
|
+
* X Space
|
|
50
|
+
*/
|
|
51
|
+
export interface Space {
|
|
48
52
|
/**
|
|
49
|
-
*
|
|
53
|
+
* Space ID
|
|
54
|
+
*/
|
|
55
|
+
id: string;
|
|
56
|
+
/**
|
|
57
|
+
* Hosts and co-hosts
|
|
58
|
+
*/
|
|
59
|
+
admins: Array<SpaceParticipant>;
|
|
60
|
+
/**
|
|
61
|
+
* Accounts X lists as listeners
|
|
62
|
+
*/
|
|
63
|
+
listeners: Array<SpaceParticipant>;
|
|
64
|
+
/**
|
|
65
|
+
* Accounts X lists as speakers
|
|
66
|
+
*/
|
|
67
|
+
speakers: Array<SpaceParticipant>;
|
|
68
|
+
/**
|
|
69
|
+
* Audio or video kind, as X names it
|
|
70
|
+
*/
|
|
71
|
+
contentType?: string;
|
|
72
|
+
/**
|
|
73
|
+
* X's code for who may speak
|
|
74
|
+
*/
|
|
75
|
+
conversationControls?: number;
|
|
76
|
+
/**
|
|
77
|
+
* When the Space was made
|
|
78
|
+
*/
|
|
79
|
+
createdAt?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Public X profile.
|
|
82
|
+
*/
|
|
83
|
+
creator?: Shared.UserProfile;
|
|
84
|
+
/**
|
|
85
|
+
* Whether X lets no more accounts join
|
|
86
|
+
*/
|
|
87
|
+
disallowJoin?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* When the Space ended
|
|
90
|
+
*/
|
|
91
|
+
endedAt?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Whether listeners may clip the Space
|
|
94
|
+
*/
|
|
95
|
+
isAvailableForClipping?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Whether X offers a recording
|
|
98
|
+
*/
|
|
99
|
+
isAvailableForReplay?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Whether only X employees may join
|
|
102
|
+
*/
|
|
103
|
+
isEmployeeOnly?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the host locked the Space
|
|
106
|
+
*/
|
|
107
|
+
isLocked?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Most hosts and co-hosts the Space allows
|
|
110
|
+
*/
|
|
111
|
+
maxAdminCapacity?: number;
|
|
112
|
+
/**
|
|
113
|
+
* X's media key for the Space's audio
|
|
114
|
+
*/
|
|
115
|
+
mediaKey?: string;
|
|
116
|
+
/**
|
|
117
|
+
* IDs of the accounts the host tagged
|
|
118
|
+
*/
|
|
119
|
+
mentionedUserIds?: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Whether anonymous listening is off
|
|
122
|
+
*/
|
|
123
|
+
noIncognito?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Accounts in the Space now, while it is live
|
|
126
|
+
*/
|
|
127
|
+
participantCount?: number;
|
|
128
|
+
/**
|
|
129
|
+
* When the Space was set to start
|
|
130
|
+
*/
|
|
131
|
+
scheduledStart?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
134
|
+
* lists them.
|
|
135
|
+
*/
|
|
136
|
+
sharings?: Array<Space.Sharing>;
|
|
137
|
+
/**
|
|
138
|
+
* When the Space went live
|
|
139
|
+
*/
|
|
140
|
+
startedAt?: string;
|
|
141
|
+
/**
|
|
142
|
+
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
143
|
+
* started) or TimedOut (closed by X, not by its host)
|
|
144
|
+
*/
|
|
145
|
+
state?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Space title
|
|
148
|
+
*/
|
|
149
|
+
title?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Accounts that listened live
|
|
152
|
+
*/
|
|
153
|
+
totalLiveListeners?: number;
|
|
154
|
+
/**
|
|
155
|
+
* Accounts that played the recording
|
|
156
|
+
*/
|
|
157
|
+
totalReplayWatched?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
160
|
+
*/
|
|
161
|
+
tweet?: Shared.SearchTweet;
|
|
162
|
+
/**
|
|
163
|
+
* ID of the post that announces the Space
|
|
164
|
+
*/
|
|
165
|
+
tweetId?: string;
|
|
166
|
+
/**
|
|
167
|
+
* When X last changed the Space
|
|
50
168
|
*/
|
|
51
|
-
|
|
169
|
+
updatedAt?: string;
|
|
52
170
|
}
|
|
53
|
-
export declare namespace
|
|
171
|
+
export declare namespace Space {
|
|
54
172
|
/**
|
|
55
|
-
*
|
|
173
|
+
* A post shared in a Space, & the account that shared it.
|
|
56
174
|
*/
|
|
57
|
-
interface
|
|
58
|
-
/**
|
|
59
|
-
* Space ID
|
|
60
|
-
*/
|
|
61
|
-
id: string;
|
|
62
|
-
/**
|
|
63
|
-
* Hosts and co-hosts
|
|
64
|
-
*/
|
|
65
|
-
admins: Array<Space.Admin>;
|
|
175
|
+
interface Sharing {
|
|
66
176
|
/**
|
|
67
|
-
*
|
|
177
|
+
* X's ID of the sharing, not of the post
|
|
68
178
|
*/
|
|
69
|
-
|
|
179
|
+
id?: string;
|
|
70
180
|
/**
|
|
71
|
-
*
|
|
181
|
+
* When the post was shared
|
|
72
182
|
*/
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Audio or video kind, as X names it
|
|
76
|
-
*/
|
|
77
|
-
contentType?: string;
|
|
78
|
-
/**
|
|
79
|
-
* X's code for who may speak
|
|
80
|
-
*/
|
|
81
|
-
conversationControls?: number;
|
|
82
|
-
/**
|
|
83
|
-
* When the Space was made
|
|
84
|
-
*/
|
|
85
|
-
createdAt?: string;
|
|
183
|
+
sharedAt?: string;
|
|
86
184
|
/**
|
|
87
185
|
* Public X profile.
|
|
88
186
|
*/
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Whether X lets no more accounts join
|
|
92
|
-
*/
|
|
93
|
-
disallowJoin?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* When the Space ended
|
|
96
|
-
*/
|
|
97
|
-
endedAt?: string;
|
|
98
|
-
/**
|
|
99
|
-
* Whether listeners may clip the Space
|
|
100
|
-
*/
|
|
101
|
-
isAvailableForClipping?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Whether X offers a recording
|
|
104
|
-
*/
|
|
105
|
-
isAvailableForReplay?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Whether only X employees may join
|
|
108
|
-
*/
|
|
109
|
-
isEmployeeOnly?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Whether the host locked the Space
|
|
112
|
-
*/
|
|
113
|
-
isLocked?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Most hosts and co-hosts the Space allows
|
|
116
|
-
*/
|
|
117
|
-
maxAdminCapacity?: number;
|
|
118
|
-
/**
|
|
119
|
-
* X's media key for the Space's audio
|
|
120
|
-
*/
|
|
121
|
-
mediaKey?: string;
|
|
122
|
-
/**
|
|
123
|
-
* IDs of the accounts the host tagged
|
|
124
|
-
*/
|
|
125
|
-
mentionedUserIds?: Array<string>;
|
|
126
|
-
/**
|
|
127
|
-
* Whether anonymous listening is off
|
|
128
|
-
*/
|
|
129
|
-
noIncognito?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Accounts in the Space now, while it is live
|
|
132
|
-
*/
|
|
133
|
-
participantCount?: number;
|
|
134
|
-
/**
|
|
135
|
-
* When the Space was set to start
|
|
136
|
-
*/
|
|
137
|
-
scheduledStart?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
140
|
-
* lists them.
|
|
141
|
-
*/
|
|
142
|
-
sharings?: Array<Space.Sharing>;
|
|
143
|
-
/**
|
|
144
|
-
* When the Space went live
|
|
145
|
-
*/
|
|
146
|
-
startedAt?: string;
|
|
147
|
-
/**
|
|
148
|
-
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
149
|
-
* started) or TimedOut (closed by X, not by its host)
|
|
150
|
-
*/
|
|
151
|
-
state?: string;
|
|
152
|
-
/**
|
|
153
|
-
* Space title
|
|
154
|
-
*/
|
|
155
|
-
title?: string;
|
|
156
|
-
/**
|
|
157
|
-
* Accounts that listened live
|
|
158
|
-
*/
|
|
159
|
-
totalLiveListeners?: number;
|
|
160
|
-
/**
|
|
161
|
-
* Accounts that played the recording
|
|
162
|
-
*/
|
|
163
|
-
totalReplayWatched?: number;
|
|
187
|
+
sharedBy?: Shared.UserProfile;
|
|
164
188
|
/**
|
|
165
189
|
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
166
190
|
*/
|
|
167
191
|
tweet?: Shared.SearchTweet;
|
|
168
192
|
/**
|
|
169
|
-
*
|
|
170
|
-
*/
|
|
171
|
-
tweetId?: string;
|
|
172
|
-
/**
|
|
173
|
-
* When X last changed the Space
|
|
193
|
+
* When X last changed the sharing
|
|
174
194
|
*/
|
|
175
195
|
updatedAt?: string;
|
|
176
196
|
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* An account on a Space's stage or in its audience, as X lists it there.
|
|
200
|
+
*/
|
|
201
|
+
export interface SpaceParticipant {
|
|
202
|
+
id: string;
|
|
203
|
+
/**
|
|
204
|
+
* Name the account shows in the Space
|
|
205
|
+
*/
|
|
206
|
+
name: string;
|
|
207
|
+
username: string;
|
|
208
|
+
/**
|
|
209
|
+
* Organization affiliation label shown on an X profile.
|
|
210
|
+
*/
|
|
211
|
+
affiliatesHighlightedLabel?: SpaceParticipant.AffiliatesHighlightedLabel;
|
|
212
|
+
/**
|
|
213
|
+
* Whether the account has X Premium verification
|
|
214
|
+
*/
|
|
215
|
+
isBlueVerified?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Whether a host muted the account
|
|
218
|
+
*/
|
|
219
|
+
isMutedByAdmin?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the account muted itself
|
|
222
|
+
*/
|
|
223
|
+
isMutedByGuest?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Whether X shows a verified badge in the Space
|
|
226
|
+
*/
|
|
227
|
+
isVerified?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* When the account joined the Space
|
|
230
|
+
*/
|
|
231
|
+
joinedAt?: string;
|
|
232
|
+
/**
|
|
233
|
+
* The account's ID in X's broadcast service
|
|
234
|
+
*/
|
|
235
|
+
periscopeUserId?: string;
|
|
236
|
+
/**
|
|
237
|
+
* Profile picture URL
|
|
238
|
+
*/
|
|
239
|
+
profilePicture?: string;
|
|
240
|
+
/**
|
|
241
|
+
* The participant's profile picture at full size
|
|
242
|
+
*/
|
|
243
|
+
profilePictureOriginal?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Business or Government badge type
|
|
246
|
+
*/
|
|
247
|
+
verifiedType?: string;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace SpaceParticipant {
|
|
250
|
+
/**
|
|
251
|
+
* Organization affiliation label shown on an X profile.
|
|
252
|
+
*/
|
|
253
|
+
type AffiliatesHighlightedLabel = Shared.UserProfile.AffiliatesHighlightedLabel;
|
|
254
|
+
}
|
|
255
|
+
export interface SpaceRetrieveResponse {
|
|
256
|
+
/**
|
|
257
|
+
* X Space
|
|
258
|
+
*/
|
|
259
|
+
space: Space;
|
|
260
|
+
}
|
|
261
|
+
export declare namespace SpaceRetrieveResponse {
|
|
262
|
+
type Space = SpacesAPI.Space;
|
|
177
263
|
namespace Space {
|
|
178
|
-
|
|
179
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
180
|
-
*/
|
|
181
|
-
interface Admin {
|
|
182
|
-
id: string;
|
|
183
|
-
/**
|
|
184
|
-
* Name the account shows in the Space
|
|
185
|
-
*/
|
|
186
|
-
name: string;
|
|
187
|
-
username: string;
|
|
188
|
-
/**
|
|
189
|
-
* Organization affiliation label shown on an X profile.
|
|
190
|
-
*/
|
|
191
|
-
affiliatesHighlightedLabel?: Admin.AffiliatesHighlightedLabel;
|
|
192
|
-
/**
|
|
193
|
-
* Whether the account has X Premium verification
|
|
194
|
-
*/
|
|
195
|
-
isBlueVerified?: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Whether a host muted the account
|
|
198
|
-
*/
|
|
199
|
-
isMutedByAdmin?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Whether the account muted itself
|
|
202
|
-
*/
|
|
203
|
-
isMutedByGuest?: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* Whether X shows a verified badge in the Space
|
|
206
|
-
*/
|
|
207
|
-
isVerified?: boolean;
|
|
208
|
-
/**
|
|
209
|
-
* When the account joined the Space
|
|
210
|
-
*/
|
|
211
|
-
joinedAt?: string;
|
|
212
|
-
/**
|
|
213
|
-
* The account's ID in X's broadcast service
|
|
214
|
-
*/
|
|
215
|
-
periscopeUserId?: string;
|
|
216
|
-
/**
|
|
217
|
-
* Profile picture URL
|
|
218
|
-
*/
|
|
219
|
-
profilePicture?: string;
|
|
220
|
-
/**
|
|
221
|
-
* Business or Government badge type
|
|
222
|
-
*/
|
|
223
|
-
verifiedType?: string;
|
|
224
|
-
}
|
|
264
|
+
type Admin = SpacesAPI.SpaceParticipant;
|
|
225
265
|
namespace Admin {
|
|
226
|
-
|
|
227
|
-
* Organization affiliation label shown on an X profile.
|
|
228
|
-
*/
|
|
229
|
-
interface AffiliatesHighlightedLabel {
|
|
230
|
-
badgeUrl?: string;
|
|
231
|
-
description?: string;
|
|
232
|
-
/**
|
|
233
|
-
* Public text, ranges, references, and mention data.
|
|
234
|
-
*/
|
|
235
|
-
longDescription?: {
|
|
236
|
-
[key: string]: unknown;
|
|
237
|
-
};
|
|
238
|
-
url?: string;
|
|
239
|
-
urlType?: string;
|
|
240
|
-
userLabelDisplayType?: string;
|
|
241
|
-
userLabelType?: string;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
246
|
-
*/
|
|
247
|
-
interface Listener {
|
|
248
|
-
id: string;
|
|
249
|
-
/**
|
|
250
|
-
* Name the account shows in the Space
|
|
251
|
-
*/
|
|
252
|
-
name: string;
|
|
253
|
-
username: string;
|
|
254
|
-
/**
|
|
255
|
-
* Organization affiliation label shown on an X profile.
|
|
256
|
-
*/
|
|
257
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
258
|
-
/**
|
|
259
|
-
* Whether the account has X Premium verification
|
|
260
|
-
*/
|
|
261
|
-
isBlueVerified?: boolean;
|
|
262
|
-
/**
|
|
263
|
-
* Whether a host muted the account
|
|
264
|
-
*/
|
|
265
|
-
isMutedByAdmin?: boolean;
|
|
266
|
-
/**
|
|
267
|
-
* Whether the account muted itself
|
|
268
|
-
*/
|
|
269
|
-
isMutedByGuest?: boolean;
|
|
270
|
-
/**
|
|
271
|
-
* Whether X shows a verified badge in the Space
|
|
272
|
-
*/
|
|
273
|
-
isVerified?: boolean;
|
|
274
|
-
/**
|
|
275
|
-
* When the account joined the Space
|
|
276
|
-
*/
|
|
277
|
-
joinedAt?: string;
|
|
278
|
-
/**
|
|
279
|
-
* The account's ID in X's broadcast service
|
|
280
|
-
*/
|
|
281
|
-
periscopeUserId?: string;
|
|
282
|
-
/**
|
|
283
|
-
* Profile picture URL
|
|
284
|
-
*/
|
|
285
|
-
profilePicture?: string;
|
|
286
|
-
/**
|
|
287
|
-
* Business or Government badge type
|
|
288
|
-
*/
|
|
289
|
-
verifiedType?: string;
|
|
266
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
290
267
|
}
|
|
268
|
+
type Listener = SpacesAPI.SpaceParticipant;
|
|
291
269
|
namespace Listener {
|
|
292
|
-
|
|
293
|
-
* Organization affiliation label shown on an X profile.
|
|
294
|
-
*/
|
|
295
|
-
interface AffiliatesHighlightedLabel {
|
|
296
|
-
badgeUrl?: string;
|
|
297
|
-
description?: string;
|
|
298
|
-
/**
|
|
299
|
-
* Public text, ranges, references, and mention data.
|
|
300
|
-
*/
|
|
301
|
-
longDescription?: {
|
|
302
|
-
[key: string]: unknown;
|
|
303
|
-
};
|
|
304
|
-
url?: string;
|
|
305
|
-
urlType?: string;
|
|
306
|
-
userLabelDisplayType?: string;
|
|
307
|
-
userLabelType?: string;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
312
|
-
*/
|
|
313
|
-
interface Speaker {
|
|
314
|
-
id: string;
|
|
315
|
-
/**
|
|
316
|
-
* Name the account shows in the Space
|
|
317
|
-
*/
|
|
318
|
-
name: string;
|
|
319
|
-
username: string;
|
|
320
|
-
/**
|
|
321
|
-
* Organization affiliation label shown on an X profile.
|
|
322
|
-
*/
|
|
323
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
324
|
-
/**
|
|
325
|
-
* Whether the account has X Premium verification
|
|
326
|
-
*/
|
|
327
|
-
isBlueVerified?: boolean;
|
|
328
|
-
/**
|
|
329
|
-
* Whether a host muted the account
|
|
330
|
-
*/
|
|
331
|
-
isMutedByAdmin?: boolean;
|
|
332
|
-
/**
|
|
333
|
-
* Whether the account muted itself
|
|
334
|
-
*/
|
|
335
|
-
isMutedByGuest?: boolean;
|
|
336
|
-
/**
|
|
337
|
-
* Whether X shows a verified badge in the Space
|
|
338
|
-
*/
|
|
339
|
-
isVerified?: boolean;
|
|
340
|
-
/**
|
|
341
|
-
* When the account joined the Space
|
|
342
|
-
*/
|
|
343
|
-
joinedAt?: string;
|
|
344
|
-
/**
|
|
345
|
-
* The account's ID in X's broadcast service
|
|
346
|
-
*/
|
|
347
|
-
periscopeUserId?: string;
|
|
348
|
-
/**
|
|
349
|
-
* Profile picture URL
|
|
350
|
-
*/
|
|
351
|
-
profilePicture?: string;
|
|
352
|
-
/**
|
|
353
|
-
* Business or Government badge type
|
|
354
|
-
*/
|
|
355
|
-
verifiedType?: string;
|
|
270
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
356
271
|
}
|
|
272
|
+
type Speaker = SpacesAPI.SpaceParticipant;
|
|
357
273
|
namespace Speaker {
|
|
358
|
-
|
|
359
|
-
* Organization affiliation label shown on an X profile.
|
|
360
|
-
*/
|
|
361
|
-
interface AffiliatesHighlightedLabel {
|
|
362
|
-
badgeUrl?: string;
|
|
363
|
-
description?: string;
|
|
364
|
-
/**
|
|
365
|
-
* Public text, ranges, references, and mention data.
|
|
366
|
-
*/
|
|
367
|
-
longDescription?: {
|
|
368
|
-
[key: string]: unknown;
|
|
369
|
-
};
|
|
370
|
-
url?: string;
|
|
371
|
-
urlType?: string;
|
|
372
|
-
userLabelDisplayType?: string;
|
|
373
|
-
userLabelType?: string;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* A post shared in a Space, & the account that shared it.
|
|
378
|
-
*/
|
|
379
|
-
interface Sharing {
|
|
380
|
-
/**
|
|
381
|
-
* X's ID of the sharing, not of the post
|
|
382
|
-
*/
|
|
383
|
-
id?: string;
|
|
384
|
-
/**
|
|
385
|
-
* When the post was shared
|
|
386
|
-
*/
|
|
387
|
-
sharedAt?: string;
|
|
388
|
-
/**
|
|
389
|
-
* Public X profile.
|
|
390
|
-
*/
|
|
391
|
-
sharedBy?: Shared.UserProfile;
|
|
392
|
-
/**
|
|
393
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
394
|
-
*/
|
|
395
|
-
tweet?: Shared.SearchTweet;
|
|
396
|
-
/**
|
|
397
|
-
* When X last changed the sharing
|
|
398
|
-
*/
|
|
399
|
-
updatedAt?: string;
|
|
274
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
400
275
|
}
|
|
276
|
+
type Sharing = SpacesAPI.Space.Sharing;
|
|
401
277
|
}
|
|
402
278
|
}
|
|
403
279
|
export interface SpaceRetrieveReplayResponse {
|
|
@@ -431,356 +307,24 @@ export interface SpaceSearchResponse {
|
|
|
431
307
|
/**
|
|
432
308
|
* Public Spaces, in the order the posts share them
|
|
433
309
|
*/
|
|
434
|
-
spaces: Array<
|
|
310
|
+
spaces: Array<Space>;
|
|
435
311
|
}
|
|
436
312
|
export declare namespace SpaceSearchResponse {
|
|
437
|
-
|
|
438
|
-
* X Space
|
|
439
|
-
*/
|
|
440
|
-
interface Space {
|
|
441
|
-
/**
|
|
442
|
-
* Space ID
|
|
443
|
-
*/
|
|
444
|
-
id: string;
|
|
445
|
-
/**
|
|
446
|
-
* Hosts and co-hosts
|
|
447
|
-
*/
|
|
448
|
-
admins: Array<Space.Admin>;
|
|
449
|
-
/**
|
|
450
|
-
* Accounts X lists as listeners
|
|
451
|
-
*/
|
|
452
|
-
listeners: Array<Space.Listener>;
|
|
453
|
-
/**
|
|
454
|
-
* Accounts X lists as speakers
|
|
455
|
-
*/
|
|
456
|
-
speakers: Array<Space.Speaker>;
|
|
457
|
-
/**
|
|
458
|
-
* Audio or video kind, as X names it
|
|
459
|
-
*/
|
|
460
|
-
contentType?: string;
|
|
461
|
-
/**
|
|
462
|
-
* X's code for who may speak
|
|
463
|
-
*/
|
|
464
|
-
conversationControls?: number;
|
|
465
|
-
/**
|
|
466
|
-
* When the Space was made
|
|
467
|
-
*/
|
|
468
|
-
createdAt?: string;
|
|
469
|
-
/**
|
|
470
|
-
* Public X profile.
|
|
471
|
-
*/
|
|
472
|
-
creator?: Shared.UserProfile;
|
|
473
|
-
/**
|
|
474
|
-
* Whether X lets no more accounts join
|
|
475
|
-
*/
|
|
476
|
-
disallowJoin?: boolean;
|
|
477
|
-
/**
|
|
478
|
-
* When the Space ended
|
|
479
|
-
*/
|
|
480
|
-
endedAt?: string;
|
|
481
|
-
/**
|
|
482
|
-
* Whether listeners may clip the Space
|
|
483
|
-
*/
|
|
484
|
-
isAvailableForClipping?: boolean;
|
|
485
|
-
/**
|
|
486
|
-
* Whether X offers a recording
|
|
487
|
-
*/
|
|
488
|
-
isAvailableForReplay?: boolean;
|
|
489
|
-
/**
|
|
490
|
-
* Whether only X employees may join
|
|
491
|
-
*/
|
|
492
|
-
isEmployeeOnly?: boolean;
|
|
493
|
-
/**
|
|
494
|
-
* Whether the host locked the Space
|
|
495
|
-
*/
|
|
496
|
-
isLocked?: boolean;
|
|
497
|
-
/**
|
|
498
|
-
* Most hosts and co-hosts the Space allows
|
|
499
|
-
*/
|
|
500
|
-
maxAdminCapacity?: number;
|
|
501
|
-
/**
|
|
502
|
-
* X's media key for the Space's audio
|
|
503
|
-
*/
|
|
504
|
-
mediaKey?: string;
|
|
505
|
-
/**
|
|
506
|
-
* IDs of the accounts the host tagged
|
|
507
|
-
*/
|
|
508
|
-
mentionedUserIds?: Array<string>;
|
|
509
|
-
/**
|
|
510
|
-
* Whether anonymous listening is off
|
|
511
|
-
*/
|
|
512
|
-
noIncognito?: boolean;
|
|
513
|
-
/**
|
|
514
|
-
* Accounts in the Space now, while it is live
|
|
515
|
-
*/
|
|
516
|
-
participantCount?: number;
|
|
517
|
-
/**
|
|
518
|
-
* When the Space was set to start
|
|
519
|
-
*/
|
|
520
|
-
scheduledStart?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
523
|
-
* lists them.
|
|
524
|
-
*/
|
|
525
|
-
sharings?: Array<Space.Sharing>;
|
|
526
|
-
/**
|
|
527
|
-
* When the Space went live
|
|
528
|
-
*/
|
|
529
|
-
startedAt?: string;
|
|
530
|
-
/**
|
|
531
|
-
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
532
|
-
* started) or TimedOut (closed by X, not by its host)
|
|
533
|
-
*/
|
|
534
|
-
state?: string;
|
|
535
|
-
/**
|
|
536
|
-
* Space title
|
|
537
|
-
*/
|
|
538
|
-
title?: string;
|
|
539
|
-
/**
|
|
540
|
-
* Accounts that listened live
|
|
541
|
-
*/
|
|
542
|
-
totalLiveListeners?: number;
|
|
543
|
-
/**
|
|
544
|
-
* Accounts that played the recording
|
|
545
|
-
*/
|
|
546
|
-
totalReplayWatched?: number;
|
|
547
|
-
/**
|
|
548
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
549
|
-
*/
|
|
550
|
-
tweet?: Shared.SearchTweet;
|
|
551
|
-
/**
|
|
552
|
-
* ID of the post that announces the Space
|
|
553
|
-
*/
|
|
554
|
-
tweetId?: string;
|
|
555
|
-
/**
|
|
556
|
-
* When X last changed the Space
|
|
557
|
-
*/
|
|
558
|
-
updatedAt?: string;
|
|
559
|
-
}
|
|
313
|
+
type Space = SpacesAPI.Space;
|
|
560
314
|
namespace Space {
|
|
561
|
-
|
|
562
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
563
|
-
*/
|
|
564
|
-
interface Admin {
|
|
565
|
-
id: string;
|
|
566
|
-
/**
|
|
567
|
-
* Name the account shows in the Space
|
|
568
|
-
*/
|
|
569
|
-
name: string;
|
|
570
|
-
username: string;
|
|
571
|
-
/**
|
|
572
|
-
* Organization affiliation label shown on an X profile.
|
|
573
|
-
*/
|
|
574
|
-
affiliatesHighlightedLabel?: Admin.AffiliatesHighlightedLabel;
|
|
575
|
-
/**
|
|
576
|
-
* Whether the account has X Premium verification
|
|
577
|
-
*/
|
|
578
|
-
isBlueVerified?: boolean;
|
|
579
|
-
/**
|
|
580
|
-
* Whether a host muted the account
|
|
581
|
-
*/
|
|
582
|
-
isMutedByAdmin?: boolean;
|
|
583
|
-
/**
|
|
584
|
-
* Whether the account muted itself
|
|
585
|
-
*/
|
|
586
|
-
isMutedByGuest?: boolean;
|
|
587
|
-
/**
|
|
588
|
-
* Whether X shows a verified badge in the Space
|
|
589
|
-
*/
|
|
590
|
-
isVerified?: boolean;
|
|
591
|
-
/**
|
|
592
|
-
* When the account joined the Space
|
|
593
|
-
*/
|
|
594
|
-
joinedAt?: string;
|
|
595
|
-
/**
|
|
596
|
-
* The account's ID in X's broadcast service
|
|
597
|
-
*/
|
|
598
|
-
periscopeUserId?: string;
|
|
599
|
-
/**
|
|
600
|
-
* Profile picture URL
|
|
601
|
-
*/
|
|
602
|
-
profilePicture?: string;
|
|
603
|
-
/**
|
|
604
|
-
* Business or Government badge type
|
|
605
|
-
*/
|
|
606
|
-
verifiedType?: string;
|
|
607
|
-
}
|
|
315
|
+
type Admin = SpacesAPI.SpaceParticipant;
|
|
608
316
|
namespace Admin {
|
|
609
|
-
|
|
610
|
-
* Organization affiliation label shown on an X profile.
|
|
611
|
-
*/
|
|
612
|
-
interface AffiliatesHighlightedLabel {
|
|
613
|
-
badgeUrl?: string;
|
|
614
|
-
description?: string;
|
|
615
|
-
/**
|
|
616
|
-
* Public text, ranges, references, and mention data.
|
|
617
|
-
*/
|
|
618
|
-
longDescription?: {
|
|
619
|
-
[key: string]: unknown;
|
|
620
|
-
};
|
|
621
|
-
url?: string;
|
|
622
|
-
urlType?: string;
|
|
623
|
-
userLabelDisplayType?: string;
|
|
624
|
-
userLabelType?: string;
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
/**
|
|
628
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
629
|
-
*/
|
|
630
|
-
interface Listener {
|
|
631
|
-
id: string;
|
|
632
|
-
/**
|
|
633
|
-
* Name the account shows in the Space
|
|
634
|
-
*/
|
|
635
|
-
name: string;
|
|
636
|
-
username: string;
|
|
637
|
-
/**
|
|
638
|
-
* Organization affiliation label shown on an X profile.
|
|
639
|
-
*/
|
|
640
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
641
|
-
/**
|
|
642
|
-
* Whether the account has X Premium verification
|
|
643
|
-
*/
|
|
644
|
-
isBlueVerified?: boolean;
|
|
645
|
-
/**
|
|
646
|
-
* Whether a host muted the account
|
|
647
|
-
*/
|
|
648
|
-
isMutedByAdmin?: boolean;
|
|
649
|
-
/**
|
|
650
|
-
* Whether the account muted itself
|
|
651
|
-
*/
|
|
652
|
-
isMutedByGuest?: boolean;
|
|
653
|
-
/**
|
|
654
|
-
* Whether X shows a verified badge in the Space
|
|
655
|
-
*/
|
|
656
|
-
isVerified?: boolean;
|
|
657
|
-
/**
|
|
658
|
-
* When the account joined the Space
|
|
659
|
-
*/
|
|
660
|
-
joinedAt?: string;
|
|
661
|
-
/**
|
|
662
|
-
* The account's ID in X's broadcast service
|
|
663
|
-
*/
|
|
664
|
-
periscopeUserId?: string;
|
|
665
|
-
/**
|
|
666
|
-
* Profile picture URL
|
|
667
|
-
*/
|
|
668
|
-
profilePicture?: string;
|
|
669
|
-
/**
|
|
670
|
-
* Business or Government badge type
|
|
671
|
-
*/
|
|
672
|
-
verifiedType?: string;
|
|
317
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
673
318
|
}
|
|
319
|
+
type Listener = SpacesAPI.SpaceParticipant;
|
|
674
320
|
namespace Listener {
|
|
675
|
-
|
|
676
|
-
* Organization affiliation label shown on an X profile.
|
|
677
|
-
*/
|
|
678
|
-
interface AffiliatesHighlightedLabel {
|
|
679
|
-
badgeUrl?: string;
|
|
680
|
-
description?: string;
|
|
681
|
-
/**
|
|
682
|
-
* Public text, ranges, references, and mention data.
|
|
683
|
-
*/
|
|
684
|
-
longDescription?: {
|
|
685
|
-
[key: string]: unknown;
|
|
686
|
-
};
|
|
687
|
-
url?: string;
|
|
688
|
-
urlType?: string;
|
|
689
|
-
userLabelDisplayType?: string;
|
|
690
|
-
userLabelType?: string;
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
695
|
-
*/
|
|
696
|
-
interface Speaker {
|
|
697
|
-
id: string;
|
|
698
|
-
/**
|
|
699
|
-
* Name the account shows in the Space
|
|
700
|
-
*/
|
|
701
|
-
name: string;
|
|
702
|
-
username: string;
|
|
703
|
-
/**
|
|
704
|
-
* Organization affiliation label shown on an X profile.
|
|
705
|
-
*/
|
|
706
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
707
|
-
/**
|
|
708
|
-
* Whether the account has X Premium verification
|
|
709
|
-
*/
|
|
710
|
-
isBlueVerified?: boolean;
|
|
711
|
-
/**
|
|
712
|
-
* Whether a host muted the account
|
|
713
|
-
*/
|
|
714
|
-
isMutedByAdmin?: boolean;
|
|
715
|
-
/**
|
|
716
|
-
* Whether the account muted itself
|
|
717
|
-
*/
|
|
718
|
-
isMutedByGuest?: boolean;
|
|
719
|
-
/**
|
|
720
|
-
* Whether X shows a verified badge in the Space
|
|
721
|
-
*/
|
|
722
|
-
isVerified?: boolean;
|
|
723
|
-
/**
|
|
724
|
-
* When the account joined the Space
|
|
725
|
-
*/
|
|
726
|
-
joinedAt?: string;
|
|
727
|
-
/**
|
|
728
|
-
* The account's ID in X's broadcast service
|
|
729
|
-
*/
|
|
730
|
-
periscopeUserId?: string;
|
|
731
|
-
/**
|
|
732
|
-
* Profile picture URL
|
|
733
|
-
*/
|
|
734
|
-
profilePicture?: string;
|
|
735
|
-
/**
|
|
736
|
-
* Business or Government badge type
|
|
737
|
-
*/
|
|
738
|
-
verifiedType?: string;
|
|
321
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
739
322
|
}
|
|
323
|
+
type Speaker = SpacesAPI.SpaceParticipant;
|
|
740
324
|
namespace Speaker {
|
|
741
|
-
|
|
742
|
-
* Organization affiliation label shown on an X profile.
|
|
743
|
-
*/
|
|
744
|
-
interface AffiliatesHighlightedLabel {
|
|
745
|
-
badgeUrl?: string;
|
|
746
|
-
description?: string;
|
|
747
|
-
/**
|
|
748
|
-
* Public text, ranges, references, and mention data.
|
|
749
|
-
*/
|
|
750
|
-
longDescription?: {
|
|
751
|
-
[key: string]: unknown;
|
|
752
|
-
};
|
|
753
|
-
url?: string;
|
|
754
|
-
urlType?: string;
|
|
755
|
-
userLabelDisplayType?: string;
|
|
756
|
-
userLabelType?: string;
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
/**
|
|
760
|
-
* A post shared in a Space, & the account that shared it.
|
|
761
|
-
*/
|
|
762
|
-
interface Sharing {
|
|
763
|
-
/**
|
|
764
|
-
* X's ID of the sharing, not of the post
|
|
765
|
-
*/
|
|
766
|
-
id?: string;
|
|
767
|
-
/**
|
|
768
|
-
* When the post was shared
|
|
769
|
-
*/
|
|
770
|
-
sharedAt?: string;
|
|
771
|
-
/**
|
|
772
|
-
* Public X profile.
|
|
773
|
-
*/
|
|
774
|
-
sharedBy?: Shared.UserProfile;
|
|
775
|
-
/**
|
|
776
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
777
|
-
*/
|
|
778
|
-
tweet?: Shared.SearchTweet;
|
|
779
|
-
/**
|
|
780
|
-
* When X last changed the sharing
|
|
781
|
-
*/
|
|
782
|
-
updatedAt?: string;
|
|
325
|
+
type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
783
326
|
}
|
|
327
|
+
type Sharing = SpacesAPI.Space.Sharing;
|
|
784
328
|
}
|
|
785
329
|
}
|
|
786
330
|
export interface SpaceRetrieveParams {
|
|
@@ -857,6 +401,6 @@ export interface SpaceSearchParams {
|
|
|
857
401
|
queryType?: 'Latest' | 'Top' | 'Live' | 'Upcoming';
|
|
858
402
|
}
|
|
859
403
|
export declare namespace Spaces {
|
|
860
|
-
export { type SpaceRetrieveResponse as SpaceRetrieveResponse, type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse, type SpaceSearchResponse as SpaceSearchResponse, type SpaceRetrieveParams as SpaceRetrieveParams, type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams, type SpaceSearchParams as SpaceSearchParams, };
|
|
404
|
+
export { type Space as Space, type SpaceParticipant as SpaceParticipant, type SpaceRetrieveResponse as SpaceRetrieveResponse, type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse, type SpaceSearchResponse as SpaceSearchResponse, type SpaceRetrieveParams as SpaceRetrieveParams, type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams, type SpaceSearchParams as SpaceSearchParams, };
|
|
861
405
|
}
|
|
862
406
|
//# sourceMappingURL=spaces.d.mts.map
|