x-twitter-scraper 0.16.0 → 0.18.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 +44 -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 +1512 -0
- package/resources/x/sports.d.mts.map +1 -0
- package/resources/x/sports.d.ts +1512 -0
- package/resources/x/sports.d.ts.map +1 -0
- package/resources/x/sports.js +91 -0
- package/resources/x/sports.js.map +1 -0
- package/resources/x/sports.mjs +87 -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 +70 -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 +1877 -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 +191 -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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { APIResource } from '../../core/resource';
|
|
6
6
|
import * as Shared from '../shared';
|
|
7
|
+
import * as SpacesAPI from './spaces';
|
|
7
8
|
import { APIPromise } from '../../core/api-promise';
|
|
8
9
|
import { RequestOptions } from '../../internal/request-options';
|
|
9
10
|
import { path } from '../../internal/utils/path';
|
|
@@ -67,149 +68,177 @@ export class Spaces extends APIResource {
|
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
|
|
70
|
-
|
|
71
|
+
/**
|
|
72
|
+
* X Space
|
|
73
|
+
*/
|
|
74
|
+
export interface Space {
|
|
71
75
|
/**
|
|
72
|
-
*
|
|
76
|
+
* Space ID
|
|
73
77
|
*/
|
|
74
|
-
|
|
75
|
-
}
|
|
78
|
+
id: string;
|
|
76
79
|
|
|
77
|
-
export namespace SpaceRetrieveResponse {
|
|
78
80
|
/**
|
|
79
|
-
*
|
|
81
|
+
* Hosts and co-hosts
|
|
80
82
|
*/
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Space ID
|
|
84
|
-
*/
|
|
85
|
-
id: string;
|
|
83
|
+
admins: Array<SpaceParticipant>;
|
|
86
84
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Accounts X lists as listeners
|
|
87
|
+
*/
|
|
88
|
+
listeners: Array<SpaceParticipant>;
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
/**
|
|
91
|
+
* Accounts X lists as speakers
|
|
92
|
+
*/
|
|
93
|
+
speakers: Array<SpaceParticipant>;
|
|
96
94
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Audio or video kind, as X names it
|
|
97
|
+
*/
|
|
98
|
+
contentType?: string;
|
|
101
99
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
/**
|
|
101
|
+
* X's code for who may speak
|
|
102
|
+
*/
|
|
103
|
+
conversationControls?: number;
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
/**
|
|
106
|
+
* When the Space was made
|
|
107
|
+
*/
|
|
108
|
+
createdAt?: string;
|
|
111
109
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
/**
|
|
111
|
+
* Public X profile.
|
|
112
|
+
*/
|
|
113
|
+
creator?: Shared.UserProfile;
|
|
116
114
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
/**
|
|
116
|
+
* Whether X lets no more accounts join
|
|
117
|
+
*/
|
|
118
|
+
disallowJoin?: boolean;
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
/**
|
|
121
|
+
* When the Space ended
|
|
122
|
+
*/
|
|
123
|
+
endedAt?: string;
|
|
126
124
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Whether listeners may clip the Space
|
|
127
|
+
*/
|
|
128
|
+
isAvailableForClipping?: boolean;
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
/**
|
|
131
|
+
* Whether X offers a recording
|
|
132
|
+
*/
|
|
133
|
+
isAvailableForReplay?: boolean;
|
|
136
134
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
/**
|
|
136
|
+
* Whether only X employees may join
|
|
137
|
+
*/
|
|
138
|
+
isEmployeeOnly?: boolean;
|
|
141
139
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Whether the host locked the Space
|
|
142
|
+
*/
|
|
143
|
+
isLocked?: boolean;
|
|
146
144
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
/**
|
|
146
|
+
* Most hosts and co-hosts the Space allows
|
|
147
|
+
*/
|
|
148
|
+
maxAdminCapacity?: number;
|
|
151
149
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
/**
|
|
151
|
+
* X's media key for the Space's audio
|
|
152
|
+
*/
|
|
153
|
+
mediaKey?: string;
|
|
156
154
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
/**
|
|
156
|
+
* IDs of the accounts the host tagged
|
|
157
|
+
*/
|
|
158
|
+
mentionedUserIds?: Array<string>;
|
|
161
159
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
/**
|
|
161
|
+
* Whether anonymous listening is off
|
|
162
|
+
*/
|
|
163
|
+
noIncognito?: boolean;
|
|
166
164
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Accounts in the Space now, while it is live
|
|
167
|
+
*/
|
|
168
|
+
participantCount?: number;
|
|
171
169
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
/**
|
|
171
|
+
* When the Space was set to start
|
|
172
|
+
*/
|
|
173
|
+
scheduledStart?: string;
|
|
176
174
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
/**
|
|
176
|
+
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
177
|
+
* lists them.
|
|
178
|
+
*/
|
|
179
|
+
sharings?: Array<Space.Sharing>;
|
|
181
180
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
sharings?: Array<Space.Sharing>;
|
|
181
|
+
/**
|
|
182
|
+
* When the Space went live
|
|
183
|
+
*/
|
|
184
|
+
startedAt?: string;
|
|
187
185
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
186
|
+
/**
|
|
187
|
+
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
188
|
+
* started) or TimedOut (closed by X, not by its host)
|
|
189
|
+
*/
|
|
190
|
+
state?: string;
|
|
192
191
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
192
|
+
/**
|
|
193
|
+
* Space title
|
|
194
|
+
*/
|
|
195
|
+
title?: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Accounts that listened live
|
|
199
|
+
*/
|
|
200
|
+
totalLiveListeners?: number;
|
|
198
201
|
|
|
202
|
+
/**
|
|
203
|
+
* Accounts that played the recording
|
|
204
|
+
*/
|
|
205
|
+
totalReplayWatched?: number;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
209
|
+
*/
|
|
210
|
+
tweet?: Shared.SearchTweet;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* ID of the post that announces the Space
|
|
214
|
+
*/
|
|
215
|
+
tweetId?: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* When X last changed the Space
|
|
219
|
+
*/
|
|
220
|
+
updatedAt?: string;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export namespace Space {
|
|
224
|
+
/**
|
|
225
|
+
* A post shared in a Space, & the account that shared it.
|
|
226
|
+
*/
|
|
227
|
+
export interface Sharing {
|
|
199
228
|
/**
|
|
200
|
-
*
|
|
229
|
+
* X's ID of the sharing, not of the post
|
|
201
230
|
*/
|
|
202
|
-
|
|
231
|
+
id?: string;
|
|
203
232
|
|
|
204
233
|
/**
|
|
205
|
-
*
|
|
234
|
+
* When the post was shared
|
|
206
235
|
*/
|
|
207
|
-
|
|
236
|
+
sharedAt?: string;
|
|
208
237
|
|
|
209
238
|
/**
|
|
210
|
-
*
|
|
239
|
+
* Public X profile.
|
|
211
240
|
*/
|
|
212
|
-
|
|
241
|
+
sharedBy?: Shared.UserProfile;
|
|
213
242
|
|
|
214
243
|
/**
|
|
215
244
|
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
@@ -217,310 +246,113 @@ export namespace SpaceRetrieveResponse {
|
|
|
217
246
|
tweet?: Shared.SearchTweet;
|
|
218
247
|
|
|
219
248
|
/**
|
|
220
|
-
*
|
|
221
|
-
*/
|
|
222
|
-
tweetId?: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* When X last changed the Space
|
|
249
|
+
* When X last changed the sharing
|
|
226
250
|
*/
|
|
227
251
|
updatedAt?: string;
|
|
228
252
|
}
|
|
253
|
+
}
|
|
229
254
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
id: string;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Name the account shows in the Space
|
|
239
|
-
*/
|
|
240
|
-
name: string;
|
|
241
|
-
|
|
242
|
-
username: string;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Organization affiliation label shown on an X profile.
|
|
246
|
-
*/
|
|
247
|
-
affiliatesHighlightedLabel?: Admin.AffiliatesHighlightedLabel;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Whether the account has X Premium verification
|
|
251
|
-
*/
|
|
252
|
-
isBlueVerified?: boolean;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Whether a host muted the account
|
|
256
|
-
*/
|
|
257
|
-
isMutedByAdmin?: boolean;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Whether the account muted itself
|
|
261
|
-
*/
|
|
262
|
-
isMutedByGuest?: boolean;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Whether X shows a verified badge in the Space
|
|
266
|
-
*/
|
|
267
|
-
isVerified?: boolean;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* When the account joined the Space
|
|
271
|
-
*/
|
|
272
|
-
joinedAt?: string;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* The account's ID in X's broadcast service
|
|
276
|
-
*/
|
|
277
|
-
periscopeUserId?: string;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Profile picture URL
|
|
281
|
-
*/
|
|
282
|
-
profilePicture?: string;
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* The participant's profile picture at full size
|
|
286
|
-
*/
|
|
287
|
-
profilePictureOriginal?: string;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Business or Government badge type
|
|
291
|
-
*/
|
|
292
|
-
verifiedType?: string;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export namespace Admin {
|
|
296
|
-
/**
|
|
297
|
-
* Organization affiliation label shown on an X profile.
|
|
298
|
-
*/
|
|
299
|
-
export interface AffiliatesHighlightedLabel {
|
|
300
|
-
badgeUrl?: string;
|
|
301
|
-
|
|
302
|
-
description?: string;
|
|
255
|
+
/**
|
|
256
|
+
* An account on a Space's stage or in its audience, as X lists it there.
|
|
257
|
+
*/
|
|
258
|
+
export interface SpaceParticipant {
|
|
259
|
+
id: string;
|
|
303
260
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
261
|
+
/**
|
|
262
|
+
* Name the account shows in the Space
|
|
263
|
+
*/
|
|
264
|
+
name: string;
|
|
308
265
|
|
|
309
|
-
|
|
266
|
+
username: string;
|
|
310
267
|
|
|
311
|
-
|
|
268
|
+
/**
|
|
269
|
+
* Organization affiliation label shown on an X profile.
|
|
270
|
+
*/
|
|
271
|
+
affiliatesHighlightedLabel?: SpaceParticipant.AffiliatesHighlightedLabel;
|
|
312
272
|
|
|
313
|
-
|
|
273
|
+
/**
|
|
274
|
+
* Whether the account has X Premium verification
|
|
275
|
+
*/
|
|
276
|
+
isBlueVerified?: boolean;
|
|
314
277
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
278
|
+
/**
|
|
279
|
+
* Whether a host muted the account
|
|
280
|
+
*/
|
|
281
|
+
isMutedByAdmin?: boolean;
|
|
318
282
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
id: string;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Name the account shows in the Space
|
|
327
|
-
*/
|
|
328
|
-
name: string;
|
|
329
|
-
|
|
330
|
-
username: string;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Organization affiliation label shown on an X profile.
|
|
334
|
-
*/
|
|
335
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Whether the account has X Premium verification
|
|
339
|
-
*/
|
|
340
|
-
isBlueVerified?: boolean;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* Whether a host muted the account
|
|
344
|
-
*/
|
|
345
|
-
isMutedByAdmin?: boolean;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Whether the account muted itself
|
|
349
|
-
*/
|
|
350
|
-
isMutedByGuest?: boolean;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Whether X shows a verified badge in the Space
|
|
354
|
-
*/
|
|
355
|
-
isVerified?: boolean;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* When the account joined the Space
|
|
359
|
-
*/
|
|
360
|
-
joinedAt?: string;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* The account's ID in X's broadcast service
|
|
364
|
-
*/
|
|
365
|
-
periscopeUserId?: string;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Profile picture URL
|
|
369
|
-
*/
|
|
370
|
-
profilePicture?: string;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The participant's profile picture at full size
|
|
374
|
-
*/
|
|
375
|
-
profilePictureOriginal?: string;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* Business or Government badge type
|
|
379
|
-
*/
|
|
380
|
-
verifiedType?: string;
|
|
381
|
-
}
|
|
283
|
+
/**
|
|
284
|
+
* Whether the account muted itself
|
|
285
|
+
*/
|
|
286
|
+
isMutedByGuest?: boolean;
|
|
382
287
|
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
export interface AffiliatesHighlightedLabel {
|
|
388
|
-
badgeUrl?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Whether X shows a verified badge in the Space
|
|
290
|
+
*/
|
|
291
|
+
isVerified?: boolean;
|
|
389
292
|
|
|
390
|
-
|
|
293
|
+
/**
|
|
294
|
+
* When the account joined the Space
|
|
295
|
+
*/
|
|
296
|
+
joinedAt?: string;
|
|
391
297
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
298
|
+
/**
|
|
299
|
+
* The account's ID in X's broadcast service
|
|
300
|
+
*/
|
|
301
|
+
periscopeUserId?: string;
|
|
396
302
|
|
|
397
|
-
|
|
303
|
+
/**
|
|
304
|
+
* Profile picture URL
|
|
305
|
+
*/
|
|
306
|
+
profilePicture?: string;
|
|
398
307
|
|
|
399
|
-
|
|
308
|
+
/**
|
|
309
|
+
* The participant's profile picture at full size
|
|
310
|
+
*/
|
|
311
|
+
profilePictureOriginal?: string;
|
|
400
312
|
|
|
401
|
-
|
|
313
|
+
/**
|
|
314
|
+
* Business or Government badge type
|
|
315
|
+
*/
|
|
316
|
+
verifiedType?: string;
|
|
317
|
+
}
|
|
402
318
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
319
|
+
export namespace SpaceParticipant {
|
|
320
|
+
/**
|
|
321
|
+
* Organization affiliation label shown on an X profile.
|
|
322
|
+
*/
|
|
323
|
+
export type AffiliatesHighlightedLabel = Shared.UserProfile.AffiliatesHighlightedLabel;
|
|
324
|
+
}
|
|
406
325
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Name the account shows in the Space
|
|
415
|
-
*/
|
|
416
|
-
name: string;
|
|
417
|
-
|
|
418
|
-
username: string;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Organization affiliation label shown on an X profile.
|
|
422
|
-
*/
|
|
423
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Whether the account has X Premium verification
|
|
427
|
-
*/
|
|
428
|
-
isBlueVerified?: boolean;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Whether a host muted the account
|
|
432
|
-
*/
|
|
433
|
-
isMutedByAdmin?: boolean;
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Whether the account muted itself
|
|
437
|
-
*/
|
|
438
|
-
isMutedByGuest?: boolean;
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Whether X shows a verified badge in the Space
|
|
442
|
-
*/
|
|
443
|
-
isVerified?: boolean;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* When the account joined the Space
|
|
447
|
-
*/
|
|
448
|
-
joinedAt?: string;
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* The account's ID in X's broadcast service
|
|
452
|
-
*/
|
|
453
|
-
periscopeUserId?: string;
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Profile picture URL
|
|
457
|
-
*/
|
|
458
|
-
profilePicture?: string;
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* The participant's profile picture at full size
|
|
462
|
-
*/
|
|
463
|
-
profilePictureOriginal?: string;
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Business or Government badge type
|
|
467
|
-
*/
|
|
468
|
-
verifiedType?: string;
|
|
469
|
-
}
|
|
326
|
+
export interface SpaceRetrieveResponse {
|
|
327
|
+
/**
|
|
328
|
+
* X Space
|
|
329
|
+
*/
|
|
330
|
+
space: Space;
|
|
331
|
+
}
|
|
470
332
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
* Organization affiliation label shown on an X profile.
|
|
474
|
-
*/
|
|
475
|
-
export interface AffiliatesHighlightedLabel {
|
|
476
|
-
badgeUrl?: string;
|
|
333
|
+
export namespace SpaceRetrieveResponse {
|
|
334
|
+
export type Space = SpacesAPI.Space;
|
|
477
335
|
|
|
478
|
-
|
|
336
|
+
export namespace Space {
|
|
337
|
+
export type Admin = SpacesAPI.SpaceParticipant;
|
|
479
338
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
longDescription?: { [key: string]: unknown };
|
|
339
|
+
export namespace Admin {
|
|
340
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
341
|
+
}
|
|
484
342
|
|
|
485
|
-
|
|
343
|
+
export type Listener = SpacesAPI.SpaceParticipant;
|
|
486
344
|
|
|
487
|
-
|
|
345
|
+
export namespace Listener {
|
|
346
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
347
|
+
}
|
|
488
348
|
|
|
489
|
-
|
|
349
|
+
export type Speaker = SpacesAPI.SpaceParticipant;
|
|
490
350
|
|
|
491
|
-
|
|
492
|
-
|
|
351
|
+
export namespace Speaker {
|
|
352
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
493
353
|
}
|
|
494
354
|
|
|
495
|
-
|
|
496
|
-
* A post shared in a Space, & the account that shared it.
|
|
497
|
-
*/
|
|
498
|
-
export interface Sharing {
|
|
499
|
-
/**
|
|
500
|
-
* X's ID of the sharing, not of the post
|
|
501
|
-
*/
|
|
502
|
-
id?: string;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* When the post was shared
|
|
506
|
-
*/
|
|
507
|
-
sharedAt?: string;
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* Public X profile.
|
|
511
|
-
*/
|
|
512
|
-
sharedBy?: Shared.UserProfile;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
516
|
-
*/
|
|
517
|
-
tweet?: Shared.SearchTweet;
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* When X last changed the sharing
|
|
521
|
-
*/
|
|
522
|
-
updatedAt?: string;
|
|
523
|
-
}
|
|
355
|
+
export type Sharing = SpacesAPI.Space.Sharing;
|
|
524
356
|
}
|
|
525
357
|
}
|
|
526
358
|
|
|
@@ -561,456 +393,32 @@ export interface SpaceSearchResponse {
|
|
|
561
393
|
/**
|
|
562
394
|
* Public Spaces, in the order the posts share them
|
|
563
395
|
*/
|
|
564
|
-
spaces: Array<
|
|
396
|
+
spaces: Array<Space>;
|
|
565
397
|
}
|
|
566
398
|
|
|
567
399
|
export namespace SpaceSearchResponse {
|
|
568
|
-
|
|
569
|
-
* X Space
|
|
570
|
-
*/
|
|
571
|
-
export interface Space {
|
|
572
|
-
/**
|
|
573
|
-
* Space ID
|
|
574
|
-
*/
|
|
575
|
-
id: string;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Hosts and co-hosts
|
|
579
|
-
*/
|
|
580
|
-
admins: Array<Space.Admin>;
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* Accounts X lists as listeners
|
|
584
|
-
*/
|
|
585
|
-
listeners: Array<Space.Listener>;
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Accounts X lists as speakers
|
|
589
|
-
*/
|
|
590
|
-
speakers: Array<Space.Speaker>;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* Audio or video kind, as X names it
|
|
594
|
-
*/
|
|
595
|
-
contentType?: string;
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* X's code for who may speak
|
|
599
|
-
*/
|
|
600
|
-
conversationControls?: number;
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* When the Space was made
|
|
604
|
-
*/
|
|
605
|
-
createdAt?: string;
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Public X profile.
|
|
609
|
-
*/
|
|
610
|
-
creator?: Shared.UserProfile;
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Whether X lets no more accounts join
|
|
614
|
-
*/
|
|
615
|
-
disallowJoin?: boolean;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* When the Space ended
|
|
619
|
-
*/
|
|
620
|
-
endedAt?: string;
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* Whether listeners may clip the Space
|
|
624
|
-
*/
|
|
625
|
-
isAvailableForClipping?: boolean;
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Whether X offers a recording
|
|
629
|
-
*/
|
|
630
|
-
isAvailableForReplay?: boolean;
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Whether only X employees may join
|
|
634
|
-
*/
|
|
635
|
-
isEmployeeOnly?: boolean;
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Whether the host locked the Space
|
|
639
|
-
*/
|
|
640
|
-
isLocked?: boolean;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Most hosts and co-hosts the Space allows
|
|
644
|
-
*/
|
|
645
|
-
maxAdminCapacity?: number;
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* X's media key for the Space's audio
|
|
649
|
-
*/
|
|
650
|
-
mediaKey?: string;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* IDs of the accounts the host tagged
|
|
654
|
-
*/
|
|
655
|
-
mentionedUserIds?: Array<string>;
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* Whether anonymous listening is off
|
|
659
|
-
*/
|
|
660
|
-
noIncognito?: boolean;
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* Accounts in the Space now, while it is live
|
|
664
|
-
*/
|
|
665
|
-
participantCount?: number;
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* When the Space was set to start
|
|
669
|
-
*/
|
|
670
|
-
scheduledStart?: string;
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
674
|
-
* lists them.
|
|
675
|
-
*/
|
|
676
|
-
sharings?: Array<Space.Sharing>;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* When the Space went live
|
|
680
|
-
*/
|
|
681
|
-
startedAt?: string;
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
685
|
-
* started) or TimedOut (closed by X, not by its host)
|
|
686
|
-
*/
|
|
687
|
-
state?: string;
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* Space title
|
|
691
|
-
*/
|
|
692
|
-
title?: string;
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Accounts that listened live
|
|
696
|
-
*/
|
|
697
|
-
totalLiveListeners?: number;
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Accounts that played the recording
|
|
701
|
-
*/
|
|
702
|
-
totalReplayWatched?: number;
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
706
|
-
*/
|
|
707
|
-
tweet?: Shared.SearchTweet;
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* ID of the post that announces the Space
|
|
711
|
-
*/
|
|
712
|
-
tweetId?: string;
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* When X last changed the Space
|
|
716
|
-
*/
|
|
717
|
-
updatedAt?: string;
|
|
718
|
-
}
|
|
400
|
+
export type Space = SpacesAPI.Space;
|
|
719
401
|
|
|
720
402
|
export namespace Space {
|
|
721
|
-
|
|
722
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
723
|
-
*/
|
|
724
|
-
export interface Admin {
|
|
725
|
-
id: string;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Name the account shows in the Space
|
|
729
|
-
*/
|
|
730
|
-
name: string;
|
|
731
|
-
|
|
732
|
-
username: string;
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* Organization affiliation label shown on an X profile.
|
|
736
|
-
*/
|
|
737
|
-
affiliatesHighlightedLabel?: Admin.AffiliatesHighlightedLabel;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* Whether the account has X Premium verification
|
|
741
|
-
*/
|
|
742
|
-
isBlueVerified?: boolean;
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Whether a host muted the account
|
|
746
|
-
*/
|
|
747
|
-
isMutedByAdmin?: boolean;
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* Whether the account muted itself
|
|
751
|
-
*/
|
|
752
|
-
isMutedByGuest?: boolean;
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Whether X shows a verified badge in the Space
|
|
756
|
-
*/
|
|
757
|
-
isVerified?: boolean;
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* When the account joined the Space
|
|
761
|
-
*/
|
|
762
|
-
joinedAt?: string;
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* The account's ID in X's broadcast service
|
|
766
|
-
*/
|
|
767
|
-
periscopeUserId?: string;
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* Profile picture URL
|
|
771
|
-
*/
|
|
772
|
-
profilePicture?: string;
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* The participant's profile picture at full size
|
|
776
|
-
*/
|
|
777
|
-
profilePictureOriginal?: string;
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* Business or Government badge type
|
|
781
|
-
*/
|
|
782
|
-
verifiedType?: string;
|
|
783
|
-
}
|
|
403
|
+
export type Admin = SpacesAPI.SpaceParticipant;
|
|
784
404
|
|
|
785
405
|
export namespace Admin {
|
|
786
|
-
|
|
787
|
-
* Organization affiliation label shown on an X profile.
|
|
788
|
-
*/
|
|
789
|
-
export interface AffiliatesHighlightedLabel {
|
|
790
|
-
badgeUrl?: string;
|
|
791
|
-
|
|
792
|
-
description?: string;
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Public text, ranges, references, and mention data.
|
|
796
|
-
*/
|
|
797
|
-
longDescription?: { [key: string]: unknown };
|
|
798
|
-
|
|
799
|
-
url?: string;
|
|
800
|
-
|
|
801
|
-
urlType?: string;
|
|
802
|
-
|
|
803
|
-
userLabelDisplayType?: string;
|
|
804
|
-
|
|
805
|
-
userLabelType?: string;
|
|
806
|
-
}
|
|
406
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
807
407
|
}
|
|
808
408
|
|
|
809
|
-
|
|
810
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
811
|
-
*/
|
|
812
|
-
export interface Listener {
|
|
813
|
-
id: string;
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* Name the account shows in the Space
|
|
817
|
-
*/
|
|
818
|
-
name: string;
|
|
819
|
-
|
|
820
|
-
username: string;
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* Organization affiliation label shown on an X profile.
|
|
824
|
-
*/
|
|
825
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* Whether the account has X Premium verification
|
|
829
|
-
*/
|
|
830
|
-
isBlueVerified?: boolean;
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Whether a host muted the account
|
|
834
|
-
*/
|
|
835
|
-
isMutedByAdmin?: boolean;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Whether the account muted itself
|
|
839
|
-
*/
|
|
840
|
-
isMutedByGuest?: boolean;
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* Whether X shows a verified badge in the Space
|
|
844
|
-
*/
|
|
845
|
-
isVerified?: boolean;
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* When the account joined the Space
|
|
849
|
-
*/
|
|
850
|
-
joinedAt?: string;
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* The account's ID in X's broadcast service
|
|
854
|
-
*/
|
|
855
|
-
periscopeUserId?: string;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Profile picture URL
|
|
859
|
-
*/
|
|
860
|
-
profilePicture?: string;
|
|
861
|
-
|
|
862
|
-
/**
|
|
863
|
-
* The participant's profile picture at full size
|
|
864
|
-
*/
|
|
865
|
-
profilePictureOriginal?: string;
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* Business or Government badge type
|
|
869
|
-
*/
|
|
870
|
-
verifiedType?: string;
|
|
871
|
-
}
|
|
409
|
+
export type Listener = SpacesAPI.SpaceParticipant;
|
|
872
410
|
|
|
873
411
|
export namespace Listener {
|
|
874
|
-
|
|
875
|
-
* Organization affiliation label shown on an X profile.
|
|
876
|
-
*/
|
|
877
|
-
export interface AffiliatesHighlightedLabel {
|
|
878
|
-
badgeUrl?: string;
|
|
879
|
-
|
|
880
|
-
description?: string;
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* Public text, ranges, references, and mention data.
|
|
884
|
-
*/
|
|
885
|
-
longDescription?: { [key: string]: unknown };
|
|
886
|
-
|
|
887
|
-
url?: string;
|
|
888
|
-
|
|
889
|
-
urlType?: string;
|
|
890
|
-
|
|
891
|
-
userLabelDisplayType?: string;
|
|
892
|
-
|
|
893
|
-
userLabelType?: string;
|
|
894
|
-
}
|
|
412
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
895
413
|
}
|
|
896
414
|
|
|
897
|
-
|
|
898
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
899
|
-
*/
|
|
900
|
-
export interface Speaker {
|
|
901
|
-
id: string;
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* Name the account shows in the Space
|
|
905
|
-
*/
|
|
906
|
-
name: string;
|
|
907
|
-
|
|
908
|
-
username: string;
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Organization affiliation label shown on an X profile.
|
|
912
|
-
*/
|
|
913
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* Whether the account has X Premium verification
|
|
917
|
-
*/
|
|
918
|
-
isBlueVerified?: boolean;
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* Whether a host muted the account
|
|
922
|
-
*/
|
|
923
|
-
isMutedByAdmin?: boolean;
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* Whether the account muted itself
|
|
927
|
-
*/
|
|
928
|
-
isMutedByGuest?: boolean;
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* Whether X shows a verified badge in the Space
|
|
932
|
-
*/
|
|
933
|
-
isVerified?: boolean;
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* When the account joined the Space
|
|
937
|
-
*/
|
|
938
|
-
joinedAt?: string;
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* The account's ID in X's broadcast service
|
|
942
|
-
*/
|
|
943
|
-
periscopeUserId?: string;
|
|
944
|
-
|
|
945
|
-
/**
|
|
946
|
-
* Profile picture URL
|
|
947
|
-
*/
|
|
948
|
-
profilePicture?: string;
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* The participant's profile picture at full size
|
|
952
|
-
*/
|
|
953
|
-
profilePictureOriginal?: string;
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* Business or Government badge type
|
|
957
|
-
*/
|
|
958
|
-
verifiedType?: string;
|
|
959
|
-
}
|
|
415
|
+
export type Speaker = SpacesAPI.SpaceParticipant;
|
|
960
416
|
|
|
961
417
|
export namespace Speaker {
|
|
962
|
-
|
|
963
|
-
* Organization affiliation label shown on an X profile.
|
|
964
|
-
*/
|
|
965
|
-
export interface AffiliatesHighlightedLabel {
|
|
966
|
-
badgeUrl?: string;
|
|
967
|
-
|
|
968
|
-
description?: string;
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* Public text, ranges, references, and mention data.
|
|
972
|
-
*/
|
|
973
|
-
longDescription?: { [key: string]: unknown };
|
|
974
|
-
|
|
975
|
-
url?: string;
|
|
976
|
-
|
|
977
|
-
urlType?: string;
|
|
978
|
-
|
|
979
|
-
userLabelDisplayType?: string;
|
|
980
|
-
|
|
981
|
-
userLabelType?: string;
|
|
982
|
-
}
|
|
418
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
983
419
|
}
|
|
984
420
|
|
|
985
|
-
|
|
986
|
-
* A post shared in a Space, & the account that shared it.
|
|
987
|
-
*/
|
|
988
|
-
export interface Sharing {
|
|
989
|
-
/**
|
|
990
|
-
* X's ID of the sharing, not of the post
|
|
991
|
-
*/
|
|
992
|
-
id?: string;
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* When the post was shared
|
|
996
|
-
*/
|
|
997
|
-
sharedAt?: string;
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* Public X profile.
|
|
1001
|
-
*/
|
|
1002
|
-
sharedBy?: Shared.UserProfile;
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
1006
|
-
*/
|
|
1007
|
-
tweet?: Shared.SearchTweet;
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* When X last changed the sharing
|
|
1011
|
-
*/
|
|
1012
|
-
updatedAt?: string;
|
|
1013
|
-
}
|
|
421
|
+
export type Sharing = SpacesAPI.Space.Sharing;
|
|
1014
422
|
}
|
|
1015
423
|
}
|
|
1016
424
|
|
|
@@ -1099,6 +507,8 @@ export interface SpaceSearchParams {
|
|
|
1099
507
|
|
|
1100
508
|
export declare namespace Spaces {
|
|
1101
509
|
export {
|
|
510
|
+
type Space as Space,
|
|
511
|
+
type SpaceParticipant as SpaceParticipant,
|
|
1102
512
|
type SpaceRetrieveResponse as SpaceRetrieveResponse,
|
|
1103
513
|
type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
|
|
1104
514
|
type SpaceSearchResponse as SpaceSearchResponse,
|