x-twitter-scraper 0.4.1 → 0.5.1
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 +21 -0
- package/README.md +1 -0
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/account.d.mts +2 -2
- package/resources/account.d.ts +2 -2
- package/resources/compose.d.mts +186 -65
- package/resources/compose.d.mts.map +1 -1
- package/resources/compose.d.ts +186 -65
- package/resources/compose.d.ts.map +1 -1
- package/resources/compose.js +5 -2
- package/resources/compose.js.map +1 -1
- package/resources/compose.mjs +5 -2
- package/resources/compose.mjs.map +1 -1
- package/resources/credits.d.mts +1 -1
- package/resources/credits.d.ts +1 -1
- package/resources/extractions.d.mts +4 -4
- package/resources/extractions.d.ts +4 -4
- package/resources/guest-wallets.d.mts +2 -2
- package/resources/guest-wallets.d.ts +2 -2
- package/resources/monitors/keywords.d.mts +4 -4
- package/resources/monitors/keywords.d.ts +4 -4
- package/resources/monitors/keywords.js +4 -4
- package/resources/monitors/keywords.mjs +4 -4
- package/resources/monitors/monitors.d.mts +5 -4
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +5 -4
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +5 -4
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +5 -4
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/shared.d.mts +24 -8
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +24 -8
- package/resources/shared.d.ts.map +1 -1
- package/resources/support/tickets.d.mts +67 -4
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +67 -4
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/support/tickets.js +22 -4
- package/resources/support/tickets.js.map +1 -1
- package/resources/support/tickets.mjs +22 -4
- package/resources/support/tickets.mjs.map +1 -1
- package/resources/x/account-connection-challenges.d.mts +1 -1
- package/resources/x/account-connection-challenges.d.ts +1 -1
- package/resources/x/account-connection-challenges.js +1 -1
- package/resources/x/account-connection-challenges.mjs +1 -1
- package/resources/x/accounts.d.mts +9 -6
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +9 -6
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +4 -2
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +4 -2
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/communities/communities.d.mts +360 -10
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +360 -10
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +17 -4
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +17 -4
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/join.d.mts +361 -7
- package/resources/x/communities/join.d.mts.map +1 -1
- package/resources/x/communities/join.d.ts +361 -7
- package/resources/x/communities/join.d.ts.map +1 -1
- package/resources/x/communities/join.js +20 -5
- package/resources/x/communities/join.js.map +1 -1
- package/resources/x/communities/join.mjs +20 -5
- package/resources/x/communities/join.mjs.map +1 -1
- package/resources/x/dm.d.mts +183 -5
- package/resources/x/dm.d.mts.map +1 -1
- package/resources/x/dm.d.ts +183 -5
- package/resources/x/dm.d.ts.map +1 -1
- package/resources/x/dm.js +9 -2
- package/resources/x/dm.js.map +1 -1
- package/resources/x/dm.mjs +9 -2
- package/resources/x/dm.mjs.map +1 -1
- package/resources/x/media.d.mts +178 -10
- package/resources/x/media.d.mts.map +1 -1
- package/resources/x/media.d.ts +178 -10
- package/resources/x/media.d.ts.map +1 -1
- package/resources/x/media.js +9 -5
- package/resources/x/media.js.map +1 -1
- package/resources/x/media.mjs +9 -5
- package/resources/x/media.mjs.map +1 -1
- package/resources/x/profile.d.mts +545 -14
- package/resources/x/profile.d.mts.map +1 -1
- package/resources/x/profile.d.ts +545 -14
- package/resources/x/profile.d.ts.map +1 -1
- package/resources/x/profile.js +25 -6
- package/resources/x/profile.js.map +1 -1
- package/resources/x/profile.mjs +25 -6
- package/resources/x/profile.mjs.map +1 -1
- package/resources/x/tweets/like.d.mts +358 -6
- package/resources/x/tweets/like.d.mts.map +1 -1
- package/resources/x/tweets/like.d.ts +358 -6
- package/resources/x/tweets/like.d.ts.map +1 -1
- package/resources/x/tweets/like.js +17 -4
- package/resources/x/tweets/like.js.map +1 -1
- package/resources/x/tweets/like.mjs +17 -4
- package/resources/x/tweets/like.mjs.map +1 -1
- package/resources/x/tweets/retweet.d.mts +358 -6
- package/resources/x/tweets/retweet.d.mts.map +1 -1
- package/resources/x/tweets/retweet.d.ts +358 -6
- package/resources/x/tweets/retweet.d.ts.map +1 -1
- package/resources/x/tweets/retweet.js +17 -4
- package/resources/x/tweets/retweet.js.map +1 -1
- package/resources/x/tweets/retweet.mjs +17 -4
- package/resources/x/tweets/retweet.mjs.map +1 -1
- package/resources/x/tweets/tweets.d.mts +376 -18
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +376 -18
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/tweets/tweets.js +25 -6
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs +25 -6
- package/resources/x/tweets/tweets.mjs.map +1 -1
- package/resources/x/users/follow.d.mts +361 -7
- package/resources/x/users/follow.d.mts.map +1 -1
- package/resources/x/users/follow.d.ts +361 -7
- package/resources/x/users/follow.d.ts.map +1 -1
- package/resources/x/users/follow.js +20 -5
- package/resources/x/users/follow.js.map +1 -1
- package/resources/x/users/follow.mjs +20 -5
- package/resources/x/users/follow.mjs.map +1 -1
- package/resources/x/users/users.d.mts +181 -5
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +181 -5
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js +9 -2
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs +9 -2
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/write-actions.d.mts +155 -12
- package/resources/x/write-actions.d.mts.map +1 -1
- package/resources/x/write-actions.d.ts +155 -12
- package/resources/x/write-actions.d.ts.map +1 -1
- package/src/client.ts +1 -1
- package/src/resources/account.ts +2 -2
- package/src/resources/compose.ts +232 -65
- package/src/resources/credits.ts +1 -1
- package/src/resources/extractions.ts +4 -4
- package/src/resources/guest-wallets.ts +2 -2
- package/src/resources/monitors/keywords.ts +4 -4
- package/src/resources/monitors/monitors.ts +5 -4
- package/src/resources/shared.ts +93 -9
- package/src/resources/support/tickets.ts +122 -6
- package/src/resources/x/account-connection-challenges.ts +1 -1
- package/src/resources/x/accounts.ts +9 -6
- package/src/resources/x/communities/communities.ts +515 -12
- package/src/resources/x/communities/join.ts +518 -9
- package/src/resources/x/dm.ts +261 -6
- package/src/resources/x/media.ts +258 -11
- package/src/resources/x/profile.ts +786 -17
- package/src/resources/x/tweets/like.ts +515 -8
- package/src/resources/x/tweets/retweet.ts +523 -8
- package/src/resources/x/tweets/tweets.ts +529 -23
- package/src/resources/x/users/follow.ts +518 -9
- package/src/resources/x/users/users.ts +260 -6
- package/src/resources/x/write-actions.ts +207 -14
- 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/resources/x/profile.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class Profile extends APIResource {
|
|
|
12
12
|
* ```ts
|
|
13
13
|
* const profile = await client.x.profile.update({
|
|
14
14
|
* account: '@elonmusk',
|
|
15
|
+
* 'Idempotency-Key': 'Idempotency-Key',
|
|
15
16
|
* description: 'description_value',
|
|
16
17
|
* location: 'location_value',
|
|
17
18
|
* name: 'Example Name',
|
|
@@ -19,7 +20,7 @@ export declare class Profile extends APIResource {
|
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
update(
|
|
23
|
+
update(params: ProfileUpdateParams, options?: RequestOptions): APIPromise<ProfileUpdateResponse>;
|
|
23
24
|
/**
|
|
24
25
|
* Update profile avatar
|
|
25
26
|
*
|
|
@@ -28,10 +29,11 @@ export declare class Profile extends APIResource {
|
|
|
28
29
|
* const response = await client.x.profile.updateAvatar({
|
|
29
30
|
* account: '@elonmusk',
|
|
30
31
|
* url: 'https://example.com/avatar.png',
|
|
32
|
+
* 'Idempotency-Key': 'Idempotency-Key',
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
33
35
|
*/
|
|
34
|
-
updateAvatar(
|
|
36
|
+
updateAvatar(params: ProfileUpdateAvatarParams, options?: RequestOptions): APIPromise<ProfileUpdateAvatarResponse>;
|
|
35
37
|
/**
|
|
36
38
|
* Update profile banner
|
|
37
39
|
*
|
|
@@ -40,58 +42,587 @@ export declare class Profile extends APIResource {
|
|
|
40
42
|
* const response = await client.x.profile.updateBanner({
|
|
41
43
|
* account: '@elonmusk',
|
|
42
44
|
* url: 'https://example.com/banner.png',
|
|
45
|
+
* 'Idempotency-Key': 'Idempotency-Key',
|
|
43
46
|
* });
|
|
44
47
|
* ```
|
|
45
48
|
*/
|
|
46
|
-
updateBanner(
|
|
49
|
+
updateBanner(params: ProfileUpdateBannerParams, options?: RequestOptions): APIPromise<ProfileUpdateBannerResponse>;
|
|
47
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Durable write lifecycle record. Poll statusUrl until terminal is true. Reusing
|
|
53
|
+
* the original Idempotency-Key returns this same record. Submit a new write only
|
|
54
|
+
* when safeToRetry is true, using a new key.
|
|
55
|
+
*/
|
|
48
56
|
export interface ProfileUpdateResponse {
|
|
49
|
-
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* Connected account selected for the write.
|
|
60
|
+
*/
|
|
61
|
+
account: ProfileUpdateResponse.Account | null;
|
|
62
|
+
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
63
|
+
/**
|
|
64
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
65
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
66
|
+
*/
|
|
67
|
+
billing: ProfileUpdateResponse.Billing;
|
|
68
|
+
charged: boolean;
|
|
69
|
+
chargedCredits: string;
|
|
70
|
+
/**
|
|
71
|
+
* Exact follow-up an API client or agent should perform.
|
|
72
|
+
*/
|
|
73
|
+
nextAction: ProfileUpdateResponse.NextAction | null;
|
|
74
|
+
object: 'x_write_action';
|
|
75
|
+
pollAfterMs: number | null;
|
|
76
|
+
/**
|
|
77
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
78
|
+
*/
|
|
79
|
+
request: ProfileUpdateResponse.Request;
|
|
80
|
+
/**
|
|
81
|
+
* Confirmed result produced by the write, when available.
|
|
82
|
+
*/
|
|
83
|
+
result: ProfileUpdateResponse.Result | null;
|
|
84
|
+
/**
|
|
85
|
+
* True only when a new attempt can reasonably succeed.
|
|
86
|
+
*/
|
|
87
|
+
retryable: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* True only when no write was dispatched and a new idempotency key may be used.
|
|
90
|
+
*/
|
|
91
|
+
safeToRetry: boolean;
|
|
92
|
+
sendDispatched: boolean;
|
|
93
|
+
status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
|
|
94
|
+
statusUrl: string;
|
|
95
|
+
success: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Existing X resource targeted by the write, when applicable.
|
|
98
|
+
*/
|
|
99
|
+
target: ProfileUpdateResponse.Target | null;
|
|
100
|
+
targetId: string | null;
|
|
101
|
+
terminal: boolean;
|
|
102
|
+
writeActionId: string;
|
|
103
|
+
/**
|
|
104
|
+
* Compatibility field for a confirmed community ID.
|
|
105
|
+
*/
|
|
106
|
+
communityId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Confirmed community name when available.
|
|
109
|
+
*/
|
|
110
|
+
communityName?: string;
|
|
111
|
+
completedAt?: string;
|
|
112
|
+
confirmationAttempts?: number;
|
|
113
|
+
confirmationCheckedAt?: string;
|
|
114
|
+
confirmedAt?: string;
|
|
115
|
+
createdAt?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Structured recovery context for a failed write.
|
|
118
|
+
*/
|
|
119
|
+
details?: {
|
|
120
|
+
[key: string]: unknown;
|
|
121
|
+
};
|
|
122
|
+
error?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Deadline for resolving a non-terminal write. This is not the Idempotency-Key
|
|
125
|
+
* retention deadline.
|
|
126
|
+
*/
|
|
127
|
+
expiresAt?: string;
|
|
128
|
+
idempotent?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Media count, kind, size, and billing details when used.
|
|
131
|
+
*/
|
|
132
|
+
media?: {
|
|
133
|
+
[key: string]: unknown;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Compatibility field for a confirmed media upload ID.
|
|
137
|
+
*/
|
|
138
|
+
mediaId?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Public media URL when the upload creates one.
|
|
141
|
+
*/
|
|
142
|
+
mediaUrl?: string;
|
|
143
|
+
message?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Compatibility field for a confirmed direct message ID.
|
|
146
|
+
*/
|
|
147
|
+
messageId?: string;
|
|
148
|
+
requestHash?: string;
|
|
149
|
+
requestId?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Compatibility result ID for other write actions.
|
|
152
|
+
*/
|
|
153
|
+
resultId?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Dispatch timestamp when the write reached execution.
|
|
156
|
+
*/
|
|
157
|
+
sendDispatchedAt?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Compatibility field for a confirmed tweet result ID.
|
|
160
|
+
*/
|
|
161
|
+
tweetId?: string;
|
|
162
|
+
updatedAt?: string;
|
|
163
|
+
}
|
|
164
|
+
export declare namespace ProfileUpdateResponse {
|
|
165
|
+
/**
|
|
166
|
+
* Connected account selected for the write.
|
|
167
|
+
*/
|
|
168
|
+
interface Account {
|
|
169
|
+
id: string;
|
|
170
|
+
username: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
174
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
175
|
+
*/
|
|
176
|
+
interface Billing {
|
|
177
|
+
charged: boolean;
|
|
178
|
+
chargedCredits: string;
|
|
179
|
+
plannedCredits: string;
|
|
180
|
+
status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Exact follow-up an API client or agent should perform.
|
|
184
|
+
*/
|
|
185
|
+
interface NextAction {
|
|
186
|
+
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
187
|
+
afterMs?: number;
|
|
188
|
+
requiresNewIdempotencyKey?: boolean;
|
|
189
|
+
url?: string;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
193
|
+
*/
|
|
194
|
+
interface Request {
|
|
195
|
+
/**
|
|
196
|
+
* Stable hash of account, action, target, and payload.
|
|
197
|
+
*/
|
|
198
|
+
hash: string | null;
|
|
199
|
+
/**
|
|
200
|
+
* Exact sanitized payload dispatched for this action.
|
|
201
|
+
*/
|
|
202
|
+
payload: {
|
|
203
|
+
[key: string]: unknown;
|
|
204
|
+
} | null;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Confirmed result produced by the write, when available.
|
|
208
|
+
*/
|
|
209
|
+
interface Result {
|
|
210
|
+
id?: string;
|
|
211
|
+
state?: string;
|
|
212
|
+
type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Existing X resource targeted by the write, when applicable.
|
|
216
|
+
*/
|
|
217
|
+
interface Target {
|
|
218
|
+
id: string;
|
|
219
|
+
type: 'tweet' | 'user' | 'community';
|
|
220
|
+
}
|
|
50
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* Durable write lifecycle record. Poll statusUrl until terminal is true. Reusing
|
|
224
|
+
* the original Idempotency-Key returns this same record. Submit a new write only
|
|
225
|
+
* when safeToRetry is true, using a new key.
|
|
226
|
+
*/
|
|
51
227
|
export interface ProfileUpdateAvatarResponse {
|
|
52
|
-
|
|
228
|
+
id: string;
|
|
229
|
+
/**
|
|
230
|
+
* Connected account selected for the write.
|
|
231
|
+
*/
|
|
232
|
+
account: ProfileUpdateAvatarResponse.Account | null;
|
|
233
|
+
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
234
|
+
/**
|
|
235
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
236
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
237
|
+
*/
|
|
238
|
+
billing: ProfileUpdateAvatarResponse.Billing;
|
|
239
|
+
charged: boolean;
|
|
240
|
+
chargedCredits: string;
|
|
241
|
+
/**
|
|
242
|
+
* Exact follow-up an API client or agent should perform.
|
|
243
|
+
*/
|
|
244
|
+
nextAction: ProfileUpdateAvatarResponse.NextAction | null;
|
|
245
|
+
object: 'x_write_action';
|
|
246
|
+
pollAfterMs: number | null;
|
|
247
|
+
/**
|
|
248
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
249
|
+
*/
|
|
250
|
+
request: ProfileUpdateAvatarResponse.Request;
|
|
251
|
+
/**
|
|
252
|
+
* Confirmed result produced by the write, when available.
|
|
253
|
+
*/
|
|
254
|
+
result: ProfileUpdateAvatarResponse.Result | null;
|
|
255
|
+
/**
|
|
256
|
+
* True only when a new attempt can reasonably succeed.
|
|
257
|
+
*/
|
|
258
|
+
retryable: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* True only when no write was dispatched and a new idempotency key may be used.
|
|
261
|
+
*/
|
|
262
|
+
safeToRetry: boolean;
|
|
263
|
+
sendDispatched: boolean;
|
|
264
|
+
status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
|
|
265
|
+
statusUrl: string;
|
|
266
|
+
success: boolean;
|
|
267
|
+
/**
|
|
268
|
+
* Existing X resource targeted by the write, when applicable.
|
|
269
|
+
*/
|
|
270
|
+
target: ProfileUpdateAvatarResponse.Target | null;
|
|
271
|
+
targetId: string | null;
|
|
272
|
+
terminal: boolean;
|
|
273
|
+
writeActionId: string;
|
|
274
|
+
/**
|
|
275
|
+
* Compatibility field for a confirmed community ID.
|
|
276
|
+
*/
|
|
277
|
+
communityId?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Confirmed community name when available.
|
|
280
|
+
*/
|
|
281
|
+
communityName?: string;
|
|
282
|
+
completedAt?: string;
|
|
283
|
+
confirmationAttempts?: number;
|
|
284
|
+
confirmationCheckedAt?: string;
|
|
285
|
+
confirmedAt?: string;
|
|
286
|
+
createdAt?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Structured recovery context for a failed write.
|
|
289
|
+
*/
|
|
290
|
+
details?: {
|
|
291
|
+
[key: string]: unknown;
|
|
292
|
+
};
|
|
293
|
+
error?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Deadline for resolving a non-terminal write. This is not the Idempotency-Key
|
|
296
|
+
* retention deadline.
|
|
297
|
+
*/
|
|
298
|
+
expiresAt?: string;
|
|
299
|
+
idempotent?: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Media count, kind, size, and billing details when used.
|
|
302
|
+
*/
|
|
303
|
+
media?: {
|
|
304
|
+
[key: string]: unknown;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Compatibility field for a confirmed media upload ID.
|
|
308
|
+
*/
|
|
309
|
+
mediaId?: string;
|
|
310
|
+
/**
|
|
311
|
+
* Public media URL when the upload creates one.
|
|
312
|
+
*/
|
|
313
|
+
mediaUrl?: string;
|
|
314
|
+
message?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Compatibility field for a confirmed direct message ID.
|
|
317
|
+
*/
|
|
318
|
+
messageId?: string;
|
|
319
|
+
requestHash?: string;
|
|
320
|
+
requestId?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Compatibility result ID for other write actions.
|
|
323
|
+
*/
|
|
324
|
+
resultId?: string;
|
|
325
|
+
/**
|
|
326
|
+
* Dispatch timestamp when the write reached execution.
|
|
327
|
+
*/
|
|
328
|
+
sendDispatchedAt?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Compatibility field for a confirmed tweet result ID.
|
|
331
|
+
*/
|
|
332
|
+
tweetId?: string;
|
|
333
|
+
updatedAt?: string;
|
|
334
|
+
}
|
|
335
|
+
export declare namespace ProfileUpdateAvatarResponse {
|
|
336
|
+
/**
|
|
337
|
+
* Connected account selected for the write.
|
|
338
|
+
*/
|
|
339
|
+
interface Account {
|
|
340
|
+
id: string;
|
|
341
|
+
username: string;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
345
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
346
|
+
*/
|
|
347
|
+
interface Billing {
|
|
348
|
+
charged: boolean;
|
|
349
|
+
chargedCredits: string;
|
|
350
|
+
plannedCredits: string;
|
|
351
|
+
status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Exact follow-up an API client or agent should perform.
|
|
355
|
+
*/
|
|
356
|
+
interface NextAction {
|
|
357
|
+
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
358
|
+
afterMs?: number;
|
|
359
|
+
requiresNewIdempotencyKey?: boolean;
|
|
360
|
+
url?: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
364
|
+
*/
|
|
365
|
+
interface Request {
|
|
366
|
+
/**
|
|
367
|
+
* Stable hash of account, action, target, and payload.
|
|
368
|
+
*/
|
|
369
|
+
hash: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Exact sanitized payload dispatched for this action.
|
|
372
|
+
*/
|
|
373
|
+
payload: {
|
|
374
|
+
[key: string]: unknown;
|
|
375
|
+
} | null;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Confirmed result produced by the write, when available.
|
|
379
|
+
*/
|
|
380
|
+
interface Result {
|
|
381
|
+
id?: string;
|
|
382
|
+
state?: string;
|
|
383
|
+
type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Existing X resource targeted by the write, when applicable.
|
|
387
|
+
*/
|
|
388
|
+
interface Target {
|
|
389
|
+
id: string;
|
|
390
|
+
type: 'tweet' | 'user' | 'community';
|
|
391
|
+
}
|
|
53
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* Durable write lifecycle record. Poll statusUrl until terminal is true. Reusing
|
|
395
|
+
* the original Idempotency-Key returns this same record. Submit a new write only
|
|
396
|
+
* when safeToRetry is true, using a new key.
|
|
397
|
+
*/
|
|
54
398
|
export interface ProfileUpdateBannerResponse {
|
|
55
|
-
|
|
399
|
+
id: string;
|
|
400
|
+
/**
|
|
401
|
+
* Connected account selected for the write.
|
|
402
|
+
*/
|
|
403
|
+
account: ProfileUpdateBannerResponse.Account | null;
|
|
404
|
+
action: 'create_tweet' | 'delete_tweet' | 'like' | 'unlike' | 'retweet' | 'unretweet' | 'follow' | 'unfollow' | 'remove_follower' | 'send_dm' | 'upload_media' | 'update_profile' | 'update_avatar' | 'update_banner' | 'create_community' | 'delete_community' | 'join_community' | 'leave_community';
|
|
405
|
+
/**
|
|
406
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
407
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
408
|
+
*/
|
|
409
|
+
billing: ProfileUpdateBannerResponse.Billing;
|
|
410
|
+
charged: boolean;
|
|
411
|
+
chargedCredits: string;
|
|
412
|
+
/**
|
|
413
|
+
* Exact follow-up an API client or agent should perform.
|
|
414
|
+
*/
|
|
415
|
+
nextAction: ProfileUpdateBannerResponse.NextAction | null;
|
|
416
|
+
object: 'x_write_action';
|
|
417
|
+
pollAfterMs: number | null;
|
|
418
|
+
/**
|
|
419
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
420
|
+
*/
|
|
421
|
+
request: ProfileUpdateBannerResponse.Request;
|
|
422
|
+
/**
|
|
423
|
+
* Confirmed result produced by the write, when available.
|
|
424
|
+
*/
|
|
425
|
+
result: ProfileUpdateBannerResponse.Result | null;
|
|
426
|
+
/**
|
|
427
|
+
* True only when a new attempt can reasonably succeed.
|
|
428
|
+
*/
|
|
429
|
+
retryable: boolean;
|
|
430
|
+
/**
|
|
431
|
+
* True only when no write was dispatched and a new idempotency key may be used.
|
|
432
|
+
*/
|
|
433
|
+
safeToRetry: boolean;
|
|
434
|
+
sendDispatched: boolean;
|
|
435
|
+
status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
|
|
436
|
+
statusUrl: string;
|
|
437
|
+
success: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* Existing X resource targeted by the write, when applicable.
|
|
440
|
+
*/
|
|
441
|
+
target: ProfileUpdateBannerResponse.Target | null;
|
|
442
|
+
targetId: string | null;
|
|
443
|
+
terminal: boolean;
|
|
444
|
+
writeActionId: string;
|
|
445
|
+
/**
|
|
446
|
+
* Compatibility field for a confirmed community ID.
|
|
447
|
+
*/
|
|
448
|
+
communityId?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Confirmed community name when available.
|
|
451
|
+
*/
|
|
452
|
+
communityName?: string;
|
|
453
|
+
completedAt?: string;
|
|
454
|
+
confirmationAttempts?: number;
|
|
455
|
+
confirmationCheckedAt?: string;
|
|
456
|
+
confirmedAt?: string;
|
|
457
|
+
createdAt?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Structured recovery context for a failed write.
|
|
460
|
+
*/
|
|
461
|
+
details?: {
|
|
462
|
+
[key: string]: unknown;
|
|
463
|
+
};
|
|
464
|
+
error?: string;
|
|
465
|
+
/**
|
|
466
|
+
* Deadline for resolving a non-terminal write. This is not the Idempotency-Key
|
|
467
|
+
* retention deadline.
|
|
468
|
+
*/
|
|
469
|
+
expiresAt?: string;
|
|
470
|
+
idempotent?: boolean;
|
|
471
|
+
/**
|
|
472
|
+
* Media count, kind, size, and billing details when used.
|
|
473
|
+
*/
|
|
474
|
+
media?: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* Compatibility field for a confirmed media upload ID.
|
|
479
|
+
*/
|
|
480
|
+
mediaId?: string;
|
|
481
|
+
/**
|
|
482
|
+
* Public media URL when the upload creates one.
|
|
483
|
+
*/
|
|
484
|
+
mediaUrl?: string;
|
|
485
|
+
message?: string;
|
|
486
|
+
/**
|
|
487
|
+
* Compatibility field for a confirmed direct message ID.
|
|
488
|
+
*/
|
|
489
|
+
messageId?: string;
|
|
490
|
+
requestHash?: string;
|
|
491
|
+
requestId?: string;
|
|
492
|
+
/**
|
|
493
|
+
* Compatibility result ID for other write actions.
|
|
494
|
+
*/
|
|
495
|
+
resultId?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Dispatch timestamp when the write reached execution.
|
|
498
|
+
*/
|
|
499
|
+
sendDispatchedAt?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Compatibility field for a confirmed tweet result ID.
|
|
502
|
+
*/
|
|
503
|
+
tweetId?: string;
|
|
504
|
+
updatedAt?: string;
|
|
505
|
+
}
|
|
506
|
+
export declare namespace ProfileUpdateBannerResponse {
|
|
507
|
+
/**
|
|
508
|
+
* Connected account selected for the write.
|
|
509
|
+
*/
|
|
510
|
+
interface Account {
|
|
511
|
+
id: string;
|
|
512
|
+
username: string;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* plannedCredits is the approved maximum. chargedCredits comes from the settled
|
|
516
|
+
* credit ledger. Pending or failed writes are not charged.
|
|
517
|
+
*/
|
|
518
|
+
interface Billing {
|
|
519
|
+
charged: boolean;
|
|
520
|
+
chargedCredits: string;
|
|
521
|
+
plannedCredits: string;
|
|
522
|
+
status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Exact follow-up an API client or agent should perform.
|
|
526
|
+
*/
|
|
527
|
+
interface NextAction {
|
|
528
|
+
type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
|
|
529
|
+
afterMs?: number;
|
|
530
|
+
requiresNewIdempotencyKey?: boolean;
|
|
531
|
+
url?: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Stable fingerprint and sanitized payload for replay checks.
|
|
535
|
+
*/
|
|
536
|
+
interface Request {
|
|
537
|
+
/**
|
|
538
|
+
* Stable hash of account, action, target, and payload.
|
|
539
|
+
*/
|
|
540
|
+
hash: string | null;
|
|
541
|
+
/**
|
|
542
|
+
* Exact sanitized payload dispatched for this action.
|
|
543
|
+
*/
|
|
544
|
+
payload: {
|
|
545
|
+
[key: string]: unknown;
|
|
546
|
+
} | null;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Confirmed result produced by the write, when available.
|
|
550
|
+
*/
|
|
551
|
+
interface Result {
|
|
552
|
+
id?: string;
|
|
553
|
+
state?: string;
|
|
554
|
+
type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* Existing X resource targeted by the write, when applicable.
|
|
558
|
+
*/
|
|
559
|
+
interface Target {
|
|
560
|
+
id: string;
|
|
561
|
+
type: 'tweet' | 'user' | 'community';
|
|
562
|
+
}
|
|
56
563
|
}
|
|
57
564
|
export interface ProfileUpdateParams {
|
|
58
565
|
/**
|
|
59
|
-
* X account (@username or ID) to update profile
|
|
566
|
+
* Body param: X account (@username or ID) to update profile
|
|
60
567
|
*/
|
|
61
568
|
account: string;
|
|
62
569
|
/**
|
|
63
|
-
*
|
|
570
|
+
* Header param: Generate one unique value for each intended write. Reuse it only
|
|
571
|
+
* when retrying the exact same account, action, target, and payload. A reused key
|
|
572
|
+
* returns the original action. Reusing it with different input returns 409. Replay
|
|
573
|
+
* protection remains active for at least 90 days.
|
|
574
|
+
*/
|
|
575
|
+
'Idempotency-Key': string;
|
|
576
|
+
/**
|
|
577
|
+
* Body param: Bio description
|
|
64
578
|
*/
|
|
65
579
|
description?: string;
|
|
580
|
+
/**
|
|
581
|
+
* Body param
|
|
582
|
+
*/
|
|
66
583
|
location?: string;
|
|
67
584
|
/**
|
|
68
|
-
* Display name
|
|
585
|
+
* Body param: Display name
|
|
69
586
|
*/
|
|
70
587
|
name?: string;
|
|
71
588
|
/**
|
|
72
|
-
* Website URL
|
|
589
|
+
* Body param: Website URL
|
|
73
590
|
*/
|
|
74
591
|
url?: string;
|
|
75
592
|
}
|
|
76
593
|
export interface ProfileUpdateAvatarParams {
|
|
77
594
|
/**
|
|
78
|
-
* X account (@username or ID) receiving avatar from URL
|
|
595
|
+
* Body param: X account (@username or ID) receiving avatar from URL
|
|
79
596
|
*/
|
|
80
597
|
account: string;
|
|
81
598
|
/**
|
|
82
|
-
* HTTPS URL to the avatar image to download
|
|
599
|
+
* Body param: HTTPS URL to the avatar image to download
|
|
83
600
|
*/
|
|
84
601
|
url: string;
|
|
602
|
+
/**
|
|
603
|
+
* Header param: Generate one unique value for each intended write. Reuse it only
|
|
604
|
+
* when retrying the exact same account, action, target, and payload. A reused key
|
|
605
|
+
* returns the original action. Reusing it with different input returns 409. Replay
|
|
606
|
+
* protection remains active for at least 90 days.
|
|
607
|
+
*/
|
|
608
|
+
'Idempotency-Key': string;
|
|
85
609
|
}
|
|
86
610
|
export interface ProfileUpdateBannerParams {
|
|
87
611
|
/**
|
|
88
|
-
* X account (@username or ID) receiving banner from URL
|
|
612
|
+
* Body param: X account (@username or ID) receiving banner from URL
|
|
89
613
|
*/
|
|
90
614
|
account: string;
|
|
91
615
|
/**
|
|
92
|
-
* HTTPS URL to the banner image to download
|
|
616
|
+
* Body param: HTTPS URL to the banner image to download
|
|
93
617
|
*/
|
|
94
618
|
url: string;
|
|
619
|
+
/**
|
|
620
|
+
* Header param: Generate one unique value for each intended write. Reuse it only
|
|
621
|
+
* when retrying the exact same account, action, target, and payload. A reused key
|
|
622
|
+
* returns the original action. Reusing it with different input returns 409. Replay
|
|
623
|
+
* protection remains active for at least 90 days.
|
|
624
|
+
*/
|
|
625
|
+
'Idempotency-Key': string;
|
|
95
626
|
}
|
|
96
627
|
export declare namespace Profile {
|
|
97
628
|
export { type ProfileUpdateResponse as ProfileUpdateResponse, type ProfileUpdateAvatarResponse as ProfileUpdateAvatarResponse, type ProfileUpdateBannerResponse as ProfileUpdateBannerResponse, type ProfileUpdateParams as ProfileUpdateParams, type ProfileUpdateAvatarParams as ProfileUpdateAvatarParams, type ProfileUpdateBannerParams as ProfileUpdateBannerParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/resources/x/profile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/resources/x/profile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAA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