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
|
@@ -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,295 +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
|
-
* Business or Government badge type
|
|
286
|
-
*/
|
|
287
|
-
verifiedType?: string;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export namespace Admin {
|
|
291
|
-
/**
|
|
292
|
-
* Organization affiliation label shown on an X profile.
|
|
293
|
-
*/
|
|
294
|
-
export interface AffiliatesHighlightedLabel {
|
|
295
|
-
badgeUrl?: string;
|
|
296
|
-
|
|
297
|
-
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;
|
|
298
260
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
261
|
+
/**
|
|
262
|
+
* Name the account shows in the Space
|
|
263
|
+
*/
|
|
264
|
+
name: string;
|
|
303
265
|
|
|
304
|
-
|
|
266
|
+
username: string;
|
|
305
267
|
|
|
306
|
-
|
|
268
|
+
/**
|
|
269
|
+
* Organization affiliation label shown on an X profile.
|
|
270
|
+
*/
|
|
271
|
+
affiliatesHighlightedLabel?: SpaceParticipant.AffiliatesHighlightedLabel;
|
|
307
272
|
|
|
308
|
-
|
|
273
|
+
/**
|
|
274
|
+
* Whether the account has X Premium verification
|
|
275
|
+
*/
|
|
276
|
+
isBlueVerified?: boolean;
|
|
309
277
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
278
|
+
/**
|
|
279
|
+
* Whether a host muted the account
|
|
280
|
+
*/
|
|
281
|
+
isMutedByAdmin?: boolean;
|
|
313
282
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
id: string;
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Name the account shows in the Space
|
|
322
|
-
*/
|
|
323
|
-
name: string;
|
|
324
|
-
|
|
325
|
-
username: string;
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* Organization affiliation label shown on an X profile.
|
|
329
|
-
*/
|
|
330
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Whether the account has X Premium verification
|
|
334
|
-
*/
|
|
335
|
-
isBlueVerified?: boolean;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Whether a host muted the account
|
|
339
|
-
*/
|
|
340
|
-
isMutedByAdmin?: boolean;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* Whether the account muted itself
|
|
344
|
-
*/
|
|
345
|
-
isMutedByGuest?: boolean;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Whether X shows a verified badge in the Space
|
|
349
|
-
*/
|
|
350
|
-
isVerified?: boolean;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* When the account joined the Space
|
|
354
|
-
*/
|
|
355
|
-
joinedAt?: string;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* The account's ID in X's broadcast service
|
|
359
|
-
*/
|
|
360
|
-
periscopeUserId?: string;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Profile picture URL
|
|
364
|
-
*/
|
|
365
|
-
profilePicture?: string;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Business or Government badge type
|
|
369
|
-
*/
|
|
370
|
-
verifiedType?: string;
|
|
371
|
-
}
|
|
283
|
+
/**
|
|
284
|
+
* Whether the account muted itself
|
|
285
|
+
*/
|
|
286
|
+
isMutedByGuest?: boolean;
|
|
372
287
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
export interface AffiliatesHighlightedLabel {
|
|
378
|
-
badgeUrl?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Whether X shows a verified badge in the Space
|
|
290
|
+
*/
|
|
291
|
+
isVerified?: boolean;
|
|
379
292
|
|
|
380
|
-
|
|
293
|
+
/**
|
|
294
|
+
* When the account joined the Space
|
|
295
|
+
*/
|
|
296
|
+
joinedAt?: string;
|
|
381
297
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
298
|
+
/**
|
|
299
|
+
* The account's ID in X's broadcast service
|
|
300
|
+
*/
|
|
301
|
+
periscopeUserId?: string;
|
|
386
302
|
|
|
387
|
-
|
|
303
|
+
/**
|
|
304
|
+
* Profile picture URL
|
|
305
|
+
*/
|
|
306
|
+
profilePicture?: string;
|
|
388
307
|
|
|
389
|
-
|
|
308
|
+
/**
|
|
309
|
+
* The participant's profile picture at full size
|
|
310
|
+
*/
|
|
311
|
+
profilePictureOriginal?: string;
|
|
390
312
|
|
|
391
|
-
|
|
313
|
+
/**
|
|
314
|
+
* Business or Government badge type
|
|
315
|
+
*/
|
|
316
|
+
verifiedType?: string;
|
|
317
|
+
}
|
|
392
318
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
319
|
+
export namespace SpaceParticipant {
|
|
320
|
+
/**
|
|
321
|
+
* Organization affiliation label shown on an X profile.
|
|
322
|
+
*/
|
|
323
|
+
export type AffiliatesHighlightedLabel = Shared.UserProfile.AffiliatesHighlightedLabel;
|
|
324
|
+
}
|
|
396
325
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Name the account shows in the Space
|
|
405
|
-
*/
|
|
406
|
-
name: string;
|
|
407
|
-
|
|
408
|
-
username: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Organization affiliation label shown on an X profile.
|
|
412
|
-
*/
|
|
413
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Whether the account has X Premium verification
|
|
417
|
-
*/
|
|
418
|
-
isBlueVerified?: boolean;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Whether a host muted the account
|
|
422
|
-
*/
|
|
423
|
-
isMutedByAdmin?: boolean;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Whether the account muted itself
|
|
427
|
-
*/
|
|
428
|
-
isMutedByGuest?: boolean;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Whether X shows a verified badge in the Space
|
|
432
|
-
*/
|
|
433
|
-
isVerified?: boolean;
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* When the account joined the Space
|
|
437
|
-
*/
|
|
438
|
-
joinedAt?: string;
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* The account's ID in X's broadcast service
|
|
442
|
-
*/
|
|
443
|
-
periscopeUserId?: string;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Profile picture URL
|
|
447
|
-
*/
|
|
448
|
-
profilePicture?: string;
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* Business or Government badge type
|
|
452
|
-
*/
|
|
453
|
-
verifiedType?: string;
|
|
454
|
-
}
|
|
326
|
+
export interface SpaceRetrieveResponse {
|
|
327
|
+
/**
|
|
328
|
+
* X Space
|
|
329
|
+
*/
|
|
330
|
+
space: Space;
|
|
331
|
+
}
|
|
455
332
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
* Organization affiliation label shown on an X profile.
|
|
459
|
-
*/
|
|
460
|
-
export interface AffiliatesHighlightedLabel {
|
|
461
|
-
badgeUrl?: string;
|
|
333
|
+
export namespace SpaceRetrieveResponse {
|
|
334
|
+
export type Space = SpacesAPI.Space;
|
|
462
335
|
|
|
463
|
-
|
|
336
|
+
export namespace Space {
|
|
337
|
+
export type Admin = SpacesAPI.SpaceParticipant;
|
|
464
338
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
longDescription?: { [key: string]: unknown };
|
|
339
|
+
export namespace Admin {
|
|
340
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
341
|
+
}
|
|
469
342
|
|
|
470
|
-
|
|
343
|
+
export type Listener = SpacesAPI.SpaceParticipant;
|
|
471
344
|
|
|
472
|
-
|
|
345
|
+
export namespace Listener {
|
|
346
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
347
|
+
}
|
|
473
348
|
|
|
474
|
-
|
|
349
|
+
export type Speaker = SpacesAPI.SpaceParticipant;
|
|
475
350
|
|
|
476
|
-
|
|
477
|
-
|
|
351
|
+
export namespace Speaker {
|
|
352
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
478
353
|
}
|
|
479
354
|
|
|
480
|
-
|
|
481
|
-
* A post shared in a Space, & the account that shared it.
|
|
482
|
-
*/
|
|
483
|
-
export interface Sharing {
|
|
484
|
-
/**
|
|
485
|
-
* X's ID of the sharing, not of the post
|
|
486
|
-
*/
|
|
487
|
-
id?: string;
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* When the post was shared
|
|
491
|
-
*/
|
|
492
|
-
sharedAt?: string;
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Public X profile.
|
|
496
|
-
*/
|
|
497
|
-
sharedBy?: Shared.UserProfile;
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
501
|
-
*/
|
|
502
|
-
tweet?: Shared.SearchTweet;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* When X last changed the sharing
|
|
506
|
-
*/
|
|
507
|
-
updatedAt?: string;
|
|
508
|
-
}
|
|
355
|
+
export type Sharing = SpacesAPI.Space.Sharing;
|
|
509
356
|
}
|
|
510
357
|
}
|
|
511
358
|
|
|
@@ -546,441 +393,32 @@ export interface SpaceSearchResponse {
|
|
|
546
393
|
/**
|
|
547
394
|
* Public Spaces, in the order the posts share them
|
|
548
395
|
*/
|
|
549
|
-
spaces: Array<
|
|
396
|
+
spaces: Array<Space>;
|
|
550
397
|
}
|
|
551
398
|
|
|
552
399
|
export namespace SpaceSearchResponse {
|
|
553
|
-
|
|
554
|
-
* X Space
|
|
555
|
-
*/
|
|
556
|
-
export interface Space {
|
|
557
|
-
/**
|
|
558
|
-
* Space ID
|
|
559
|
-
*/
|
|
560
|
-
id: string;
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* Hosts and co-hosts
|
|
564
|
-
*/
|
|
565
|
-
admins: Array<Space.Admin>;
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Accounts X lists as listeners
|
|
569
|
-
*/
|
|
570
|
-
listeners: Array<Space.Listener>;
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Accounts X lists as speakers
|
|
574
|
-
*/
|
|
575
|
-
speakers: Array<Space.Speaker>;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Audio or video kind, as X names it
|
|
579
|
-
*/
|
|
580
|
-
contentType?: string;
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* X's code for who may speak
|
|
584
|
-
*/
|
|
585
|
-
conversationControls?: number;
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* When the Space was made
|
|
589
|
-
*/
|
|
590
|
-
createdAt?: string;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* Public X profile.
|
|
594
|
-
*/
|
|
595
|
-
creator?: Shared.UserProfile;
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Whether X lets no more accounts join
|
|
599
|
-
*/
|
|
600
|
-
disallowJoin?: boolean;
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* When the Space ended
|
|
604
|
-
*/
|
|
605
|
-
endedAt?: string;
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Whether listeners may clip the Space
|
|
609
|
-
*/
|
|
610
|
-
isAvailableForClipping?: boolean;
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Whether X offers a recording
|
|
614
|
-
*/
|
|
615
|
-
isAvailableForReplay?: boolean;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Whether only X employees may join
|
|
619
|
-
*/
|
|
620
|
-
isEmployeeOnly?: boolean;
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* Whether the host locked the Space
|
|
624
|
-
*/
|
|
625
|
-
isLocked?: boolean;
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Most hosts and co-hosts the Space allows
|
|
629
|
-
*/
|
|
630
|
-
maxAdminCapacity?: number;
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* X's media key for the Space's audio
|
|
634
|
-
*/
|
|
635
|
-
mediaKey?: string;
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* IDs of the accounts the host tagged
|
|
639
|
-
*/
|
|
640
|
-
mentionedUserIds?: Array<string>;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Whether anonymous listening is off
|
|
644
|
-
*/
|
|
645
|
-
noIncognito?: boolean;
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* Accounts in the Space now, while it is live
|
|
649
|
-
*/
|
|
650
|
-
participantCount?: number;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* When the Space was set to start
|
|
654
|
-
*/
|
|
655
|
-
scheduledStart?: string;
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* Posts the hosts and speakers shared in the Space, in X's order. Only when X
|
|
659
|
-
* lists them.
|
|
660
|
-
*/
|
|
661
|
-
sharings?: Array<Space.Sharing>;
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* When the Space went live
|
|
665
|
-
*/
|
|
666
|
-
startedAt?: string;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* NotStarted (scheduled), Running (live), Ended, Canceled (scheduled, never
|
|
670
|
-
* started) or TimedOut (closed by X, not by its host)
|
|
671
|
-
*/
|
|
672
|
-
state?: string;
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Space title
|
|
676
|
-
*/
|
|
677
|
-
title?: string;
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* Accounts that listened live
|
|
681
|
-
*/
|
|
682
|
-
totalLiveListeners?: number;
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Accounts that played the recording
|
|
686
|
-
*/
|
|
687
|
-
totalReplayWatched?: number;
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
691
|
-
*/
|
|
692
|
-
tweet?: Shared.SearchTweet;
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* ID of the post that announces the Space
|
|
696
|
-
*/
|
|
697
|
-
tweetId?: string;
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* When X last changed the Space
|
|
701
|
-
*/
|
|
702
|
-
updatedAt?: string;
|
|
703
|
-
}
|
|
400
|
+
export type Space = SpacesAPI.Space;
|
|
704
401
|
|
|
705
402
|
export namespace Space {
|
|
706
|
-
|
|
707
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
708
|
-
*/
|
|
709
|
-
export interface Admin {
|
|
710
|
-
id: string;
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Name the account shows in the Space
|
|
714
|
-
*/
|
|
715
|
-
name: string;
|
|
716
|
-
|
|
717
|
-
username: string;
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* Organization affiliation label shown on an X profile.
|
|
721
|
-
*/
|
|
722
|
-
affiliatesHighlightedLabel?: Admin.AffiliatesHighlightedLabel;
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Whether the account has X Premium verification
|
|
726
|
-
*/
|
|
727
|
-
isBlueVerified?: boolean;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Whether a host muted the account
|
|
731
|
-
*/
|
|
732
|
-
isMutedByAdmin?: boolean;
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* Whether the account muted itself
|
|
736
|
-
*/
|
|
737
|
-
isMutedByGuest?: boolean;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* Whether X shows a verified badge in the Space
|
|
741
|
-
*/
|
|
742
|
-
isVerified?: boolean;
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* When the account joined the Space
|
|
746
|
-
*/
|
|
747
|
-
joinedAt?: string;
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* The account's ID in X's broadcast service
|
|
751
|
-
*/
|
|
752
|
-
periscopeUserId?: string;
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Profile picture URL
|
|
756
|
-
*/
|
|
757
|
-
profilePicture?: string;
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* Business or Government badge type
|
|
761
|
-
*/
|
|
762
|
-
verifiedType?: string;
|
|
763
|
-
}
|
|
403
|
+
export type Admin = SpacesAPI.SpaceParticipant;
|
|
764
404
|
|
|
765
405
|
export namespace Admin {
|
|
766
|
-
|
|
767
|
-
* Organization affiliation label shown on an X profile.
|
|
768
|
-
*/
|
|
769
|
-
export interface AffiliatesHighlightedLabel {
|
|
770
|
-
badgeUrl?: string;
|
|
771
|
-
|
|
772
|
-
description?: string;
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* Public text, ranges, references, and mention data.
|
|
776
|
-
*/
|
|
777
|
-
longDescription?: { [key: string]: unknown };
|
|
778
|
-
|
|
779
|
-
url?: string;
|
|
780
|
-
|
|
781
|
-
urlType?: string;
|
|
782
|
-
|
|
783
|
-
userLabelDisplayType?: string;
|
|
784
|
-
|
|
785
|
-
userLabelType?: string;
|
|
786
|
-
}
|
|
406
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
787
407
|
}
|
|
788
408
|
|
|
789
|
-
|
|
790
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
791
|
-
*/
|
|
792
|
-
export interface Listener {
|
|
793
|
-
id: string;
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Name the account shows in the Space
|
|
797
|
-
*/
|
|
798
|
-
name: string;
|
|
799
|
-
|
|
800
|
-
username: string;
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* Organization affiliation label shown on an X profile.
|
|
804
|
-
*/
|
|
805
|
-
affiliatesHighlightedLabel?: Listener.AffiliatesHighlightedLabel;
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Whether the account has X Premium verification
|
|
809
|
-
*/
|
|
810
|
-
isBlueVerified?: boolean;
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* Whether a host muted the account
|
|
814
|
-
*/
|
|
815
|
-
isMutedByAdmin?: boolean;
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* Whether the account muted itself
|
|
819
|
-
*/
|
|
820
|
-
isMutedByGuest?: boolean;
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* Whether X shows a verified badge in the Space
|
|
824
|
-
*/
|
|
825
|
-
isVerified?: boolean;
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* When the account joined the Space
|
|
829
|
-
*/
|
|
830
|
-
joinedAt?: string;
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* The account's ID in X's broadcast service
|
|
834
|
-
*/
|
|
835
|
-
periscopeUserId?: string;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Profile picture URL
|
|
839
|
-
*/
|
|
840
|
-
profilePicture?: string;
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* Business or Government badge type
|
|
844
|
-
*/
|
|
845
|
-
verifiedType?: string;
|
|
846
|
-
}
|
|
409
|
+
export type Listener = SpacesAPI.SpaceParticipant;
|
|
847
410
|
|
|
848
411
|
export namespace Listener {
|
|
849
|
-
|
|
850
|
-
* Organization affiliation label shown on an X profile.
|
|
851
|
-
*/
|
|
852
|
-
export interface AffiliatesHighlightedLabel {
|
|
853
|
-
badgeUrl?: string;
|
|
854
|
-
|
|
855
|
-
description?: string;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Public text, ranges, references, and mention data.
|
|
859
|
-
*/
|
|
860
|
-
longDescription?: { [key: string]: unknown };
|
|
861
|
-
|
|
862
|
-
url?: string;
|
|
863
|
-
|
|
864
|
-
urlType?: string;
|
|
865
|
-
|
|
866
|
-
userLabelDisplayType?: string;
|
|
867
|
-
|
|
868
|
-
userLabelType?: string;
|
|
869
|
-
}
|
|
412
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
870
413
|
}
|
|
871
414
|
|
|
872
|
-
|
|
873
|
-
* An account on a Space's stage or in its audience, as X lists it there.
|
|
874
|
-
*/
|
|
875
|
-
export interface Speaker {
|
|
876
|
-
id: string;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* Name the account shows in the Space
|
|
880
|
-
*/
|
|
881
|
-
name: string;
|
|
882
|
-
|
|
883
|
-
username: string;
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* Organization affiliation label shown on an X profile.
|
|
887
|
-
*/
|
|
888
|
-
affiliatesHighlightedLabel?: Speaker.AffiliatesHighlightedLabel;
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* Whether the account has X Premium verification
|
|
892
|
-
*/
|
|
893
|
-
isBlueVerified?: boolean;
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* Whether a host muted the account
|
|
897
|
-
*/
|
|
898
|
-
isMutedByAdmin?: boolean;
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Whether the account muted itself
|
|
902
|
-
*/
|
|
903
|
-
isMutedByGuest?: boolean;
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Whether X shows a verified badge in the Space
|
|
907
|
-
*/
|
|
908
|
-
isVerified?: boolean;
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* When the account joined the Space
|
|
912
|
-
*/
|
|
913
|
-
joinedAt?: string;
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* The account's ID in X's broadcast service
|
|
917
|
-
*/
|
|
918
|
-
periscopeUserId?: string;
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* Profile picture URL
|
|
922
|
-
*/
|
|
923
|
-
profilePicture?: string;
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* Business or Government badge type
|
|
927
|
-
*/
|
|
928
|
-
verifiedType?: string;
|
|
929
|
-
}
|
|
415
|
+
export type Speaker = SpacesAPI.SpaceParticipant;
|
|
930
416
|
|
|
931
417
|
export namespace Speaker {
|
|
932
|
-
|
|
933
|
-
* Organization affiliation label shown on an X profile.
|
|
934
|
-
*/
|
|
935
|
-
export interface AffiliatesHighlightedLabel {
|
|
936
|
-
badgeUrl?: string;
|
|
937
|
-
|
|
938
|
-
description?: string;
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Public text, ranges, references, and mention data.
|
|
942
|
-
*/
|
|
943
|
-
longDescription?: { [key: string]: unknown };
|
|
944
|
-
|
|
945
|
-
url?: string;
|
|
946
|
-
|
|
947
|
-
urlType?: string;
|
|
948
|
-
|
|
949
|
-
userLabelDisplayType?: string;
|
|
950
|
-
|
|
951
|
-
userLabelType?: string;
|
|
952
|
-
}
|
|
418
|
+
export type AffiliatesHighlightedLabel = SpacesAPI.SpaceParticipant.AffiliatesHighlightedLabel;
|
|
953
419
|
}
|
|
954
420
|
|
|
955
|
-
|
|
956
|
-
* A post shared in a Space, & the account that shared it.
|
|
957
|
-
*/
|
|
958
|
-
export interface Sharing {
|
|
959
|
-
/**
|
|
960
|
-
* X's ID of the sharing, not of the post
|
|
961
|
-
*/
|
|
962
|
-
id?: string;
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* When the post was shared
|
|
966
|
-
*/
|
|
967
|
-
sharedAt?: string;
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* Public X profile.
|
|
971
|
-
*/
|
|
972
|
-
sharedBy?: Shared.UserProfile;
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* Search tweet with author. Zero metrics may mean X omitted counts.
|
|
976
|
-
*/
|
|
977
|
-
tweet?: Shared.SearchTweet;
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* When X last changed the sharing
|
|
981
|
-
*/
|
|
982
|
-
updatedAt?: string;
|
|
983
|
-
}
|
|
421
|
+
export type Sharing = SpacesAPI.Space.Sharing;
|
|
984
422
|
}
|
|
985
423
|
}
|
|
986
424
|
|
|
@@ -1069,6 +507,8 @@ export interface SpaceSearchParams {
|
|
|
1069
507
|
|
|
1070
508
|
export declare namespace Spaces {
|
|
1071
509
|
export {
|
|
510
|
+
type Space as Space,
|
|
511
|
+
type SpaceParticipant as SpaceParticipant,
|
|
1072
512
|
type SpaceRetrieveResponse as SpaceRetrieveResponse,
|
|
1073
513
|
type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
|
|
1074
514
|
type SpaceSearchResponse as SpaceSearchResponse,
|