Skip to content

Commit a7059e9

Browse files
release: 0.5.0 (#6)
* feat(stlc): configurable CI runner and private-production-repo support in workflow templates * feat(api): propagate durable write actions * feat(api): propagate production write-action contract * feat(stlc): configurable CI runner and private-production-repo support in workflow templates * feat(api): propagate production write-action contract * sync public SDK contract * codegen metadata * release: 0.5.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent c1bbd27 commit a7059e9

36 files changed

Lines changed: 5260 additions & 190 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.4.1"
2+
".": "0.5.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 122
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-4665e942135459ff435542ae46122294c910986fdf19a0d2d33bc301817cf36f.yml
3-
openapi_spec_hash: 564b37a7cb3edf100a82799631e287d9
4-
config_hash: 7a9e1c37c84d207c5ee312091fffd2b0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-a89d9fe0de8895b2daf847c8f3ff8bc93f43039c040d0bf093ec6dc1e734f57b.yml
3+
openapi_spec_hash: c6365ebfe4f85183f384f27865cf66ce
4+
config_hash: 9a418581d96f0820ef923bfe5ffa2541

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 0.5.0 (2026-07-22)
4+
5+
Full Changelog: [v0.4.1...v0.5.0](https://github.com/Xquik-dev/x-twitter-scraper-typescript/compare/v0.4.1...v0.5.0)
6+
7+
### Features
8+
9+
* **api:** propagate durable write actions ([0835f87](https://github.com/Xquik-dev/x-twitter-scraper-typescript/commit/0835f87e0edba954fb8750309b513c0816d501bc))
10+
* **api:** propagate production write-action contract ([ad78ad8](https://github.com/Xquik-dev/x-twitter-scraper-typescript/commit/ad78ad8e0451978401b84f08ce4642b63f40f6e8))
11+
* **api:** propagate production write-action contract ([ec2b71f](https://github.com/Xquik-dev/x-twitter-scraper-typescript/commit/ec2b71f72d487ab00c8c834d2127925872eb5641))
12+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([d42ba4e](https://github.com/Xquik-dev/x-twitter-scraper-typescript/commit/d42ba4e6e0447d9e8874675e11295c0bf67d2ca5))
13+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([6b97180](https://github.com/Xquik-dev/x-twitter-scraper-typescript/commit/6b97180dc5ede2286094d7dc4dd99e75a6b4235f))
14+
315
## 0.4.0 (2026-07-14)
416

517
Full Changelog: [v0.3.3...v0.4.0](https://github.com/Xquik-dev/x-twitter-scraper-typescript/compare/v0.3.3...v0.4.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "x-twitter-scraper",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"description": "TypeScript SDK for Xquik API workflows. Xquik is an independent third-party service. Not affiliated with X Corp. \"Twitter\" and \"X\" are trademarks of X Corp.",
55
"author": "Xquik <support@xquik.com>",
66
"types": "dist/index.d.ts",

src/resources/credits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface CreditRedirectTopupCheckoutParams {
146146

147147
export interface CreditRetrieveTopupStatusParams {
148148
/**
149-
* Billing session ID returned by the top-up billing flow.
149+
* Top-up session ID to inspect.
150150
*/
151151
session_id: string;
152152
}

src/resources/extractions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export interface ExtractionEstimateCostParams {
453453
retweetsOfTweetId?: string;
454454

455455
/**
456-
* Required for tweet_search_extractor & community_search.
456+
* Query used to price tweet_search_extractor or community_search.
457457
*/
458458
searchQuery?: string;
459459

@@ -463,18 +463,18 @@ export interface ExtractionEstimateCostParams {
463463
sinceDate?: string;
464464

465465
/**
466-
* Required for community_post_extractor & community_search.
466+
* Community ID used to price community_post_extractor or community_search.
467467
*/
468468
targetCommunityId?: string;
469469

470470
/**
471-
* Required for list_follower_explorer, list_member_extractor &
471+
* List ID used to price list_follower_explorer, list_member_extractor, or
472472
* list_post_extractor.
473473
*/
474474
targetListId?: string;
475475

476476
/**
477-
* Required for space_explorer.
477+
* Space ID used to price space_explorer.
478478
*/
479479
targetSpaceId?: string;
480480

src/resources/guest-wallets.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export namespace GuestWalletTopupResponse {
289289

290290
export interface GuestWalletCreateParams {
291291
/**
292-
* Body param: Confirmed USD amount in cents.
292+
* Body param: USD cents accepted for this checkout.
293293
*/
294294
amount_minor: number;
295295

@@ -308,7 +308,7 @@ export interface GuestWalletCreateParams {
308308

309309
export interface GuestWalletTopupParams {
310310
/**
311-
* Body param: Confirmed USD amount in cents.
311+
* Body param: USD cents accepted for this checkout.
312312
*/
313313
amount_minor: number;
314314

src/resources/shared.ts

Lines changed: 93 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,39 @@ export interface Error {
149149
| 'unauthenticated'
150150
| 'unsupported_field'
151151
| 'user_not_found'
152+
| 'body_too_large'
153+
| 'checkout_unavailable'
154+
| 'connection_challenge_expired'
155+
| 'connection_challenge_inactive'
156+
| 'draft_not_found'
157+
| 'favoriters_unavailable'
158+
| 'forbidden'
159+
| 'guest_wallet_unavailable'
160+
| 'guest_wallets_disabled'
161+
| 'guest_wallets_unavailable'
162+
| 'idempotency_conflict'
163+
| 'idempotency_key_conflict'
164+
| 'invalid_community_id'
165+
| 'invalid_idempotency_key'
166+
| 'invalid_list_id'
167+
| 'invalid_payment_amount'
168+
| 'invalid_range'
169+
| 'login_rate_limited'
170+
| 'missing_idempotency_key'
171+
| 'missing_ids'
172+
| 'no_cached_style'
173+
| 'passkey_required'
174+
| 'rate_limited'
175+
| 'read_request_timeout'
176+
| 'replies_incomplete'
177+
| 'support_media_rate_limit'
178+
| 'support_request_rate_limit'
179+
| 'too_many_ids'
180+
| 'unknown_field'
181+
| 'unsupported_media_type'
182+
| 'webhook_inactive'
183+
| 'write_tracking_unavailable'
184+
| 'x_write_unconfirmed'
152185
| 'x_account_feature_required'
153186
| 'x_account_protected'
154187
| 'x_account_suspended'
@@ -175,8 +208,27 @@ export interface Error {
175208
| 'x_user_lookup_failed'
176209
| 'x_write_ambiguous'
177210
| 'x_write_failed'
178-
| 'x_write_unconfirmed'
179211
| Error.StructuredError;
212+
213+
/**
214+
* Human-readable error guidance.
215+
*/
216+
message?: string;
217+
218+
/**
219+
* Machine-readable reason for a login cooldown.
220+
*/
221+
reason?: string;
222+
223+
/**
224+
* Seconds until the next permitted request.
225+
*/
226+
retryAfter?: number;
227+
228+
/**
229+
* Required wait in milliseconds.
230+
*/
231+
retryAfterMs?: number;
180232
}
181233

182234
export namespace Error {
@@ -222,6 +274,39 @@ export namespace Error {
222274
| 'unauthenticated'
223275
| 'unsupported_field'
224276
| 'user_not_found'
277+
| 'body_too_large'
278+
| 'checkout_unavailable'
279+
| 'connection_challenge_expired'
280+
| 'connection_challenge_inactive'
281+
| 'draft_not_found'
282+
| 'favoriters_unavailable'
283+
| 'forbidden'
284+
| 'guest_wallet_unavailable'
285+
| 'guest_wallets_disabled'
286+
| 'guest_wallets_unavailable'
287+
| 'idempotency_conflict'
288+
| 'idempotency_key_conflict'
289+
| 'invalid_community_id'
290+
| 'invalid_idempotency_key'
291+
| 'invalid_list_id'
292+
| 'invalid_payment_amount'
293+
| 'invalid_range'
294+
| 'login_rate_limited'
295+
| 'missing_idempotency_key'
296+
| 'missing_ids'
297+
| 'no_cached_style'
298+
| 'passkey_required'
299+
| 'rate_limited'
300+
| 'read_request_timeout'
301+
| 'replies_incomplete'
302+
| 'support_media_rate_limit'
303+
| 'support_request_rate_limit'
304+
| 'too_many_ids'
305+
| 'unknown_field'
306+
| 'unsupported_media_type'
307+
| 'webhook_inactive'
308+
| 'write_tracking_unavailable'
309+
| 'x_write_unconfirmed'
225310
| 'x_account_feature_required'
226311
| 'x_account_protected'
227312
| 'x_account_suspended'
@@ -247,8 +332,7 @@ export namespace Error {
247332
| 'x_transient_error'
248333
| 'x_user_lookup_failed'
249334
| 'x_write_ambiguous'
250-
| 'x_write_failed'
251-
| 'x_write_unconfirmed';
335+
| 'x_write_failed';
252336

253337
message: string;
254338

@@ -359,7 +443,7 @@ export interface SearchTweet {
359443
createdAt?: string;
360444

361445
/**
362-
* Start and end offsets for rendered tweet text
446+
* Rendered text's start and end offsets.
363447
*/
364448
displayTextRange?: Array<number>;
365449

@@ -370,17 +454,17 @@ export interface SearchTweet {
370454
entities?: { [key: string]: unknown };
371455

372456
/**
373-
* Tweet ID being replied to
457+
* ID of the tweet this result replies to.
374458
*/
375459
inReplyToId?: string;
376460

377461
/**
378-
* User ID being replied to
462+
* ID of the user this result replies to.
379463
*/
380464
inReplyToUserId?: string;
381465

382466
/**
383-
* Username being replied to
467+
* Username this result replies to.
384468
*/
385469
inReplyToUsername?: string;
386470

@@ -405,7 +489,7 @@ export interface SearchTweet {
405489
isReply?: boolean;
406490

407491
/**
408-
* Tweet language code
492+
* Search result language code.
409493
*/
410494
lang?: string;
411495

@@ -436,7 +520,7 @@ export interface SearchTweet {
436520
type?: string;
437521

438522
/**
439-
* Tweet permalink URL
523+
* Search result permalink.
440524
*/
441525
url?: string;
442526
}

0 commit comments

Comments
 (0)