x-twitter-scraper 0.19.0 → 0.20.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -0
  3. package/package.json +1 -1
  4. package/resources/activity.d.mts +18 -2
  5. package/resources/activity.d.mts.map +1 -1
  6. package/resources/activity.d.ts +18 -2
  7. package/resources/activity.d.ts.map +1 -1
  8. package/resources/credits.d.mts +5 -0
  9. package/resources/credits.d.mts.map +1 -1
  10. package/resources/credits.d.ts +5 -0
  11. package/resources/credits.d.ts.map +1 -1
  12. package/resources/extractions.d.mts +48 -0
  13. package/resources/extractions.d.mts.map +1 -1
  14. package/resources/extractions.d.ts +48 -0
  15. package/resources/extractions.d.ts.map +1 -1
  16. package/resources/radar.d.mts +9 -0
  17. package/resources/radar.d.mts.map +1 -1
  18. package/resources/radar.d.ts +9 -0
  19. package/resources/radar.d.ts.map +1 -1
  20. package/resources/shared.d.mts +1 -1
  21. package/resources/shared.d.mts.map +1 -1
  22. package/resources/shared.d.ts +1 -1
  23. package/resources/shared.d.ts.map +1 -1
  24. package/resources/x/communities/communities.d.mts +17 -0
  25. package/resources/x/communities/communities.d.mts.map +1 -1
  26. package/resources/x/communities/communities.d.ts +17 -0
  27. package/resources/x/communities/communities.d.ts.map +1 -1
  28. package/resources/x/communities/communities.js +7 -4
  29. package/resources/x/communities/communities.js.map +1 -1
  30. package/resources/x/communities/communities.mjs +7 -4
  31. package/resources/x/communities/communities.mjs.map +1 -1
  32. package/resources/x/communities/join.d.mts +14 -0
  33. package/resources/x/communities/join.d.mts.map +1 -1
  34. package/resources/x/communities/join.d.ts +14 -0
  35. package/resources/x/communities/join.d.ts.map +1 -1
  36. package/resources/x/communities/join.js +4 -4
  37. package/resources/x/communities/join.js.map +1 -1
  38. package/resources/x/communities/join.mjs +4 -4
  39. package/resources/x/communities/join.mjs.map +1 -1
  40. package/resources/x/dm.d.mts +14 -0
  41. package/resources/x/dm.d.mts.map +1 -1
  42. package/resources/x/dm.d.ts +14 -0
  43. package/resources/x/dm.d.ts.map +1 -1
  44. package/resources/x/dm.js +4 -4
  45. package/resources/x/dm.js.map +1 -1
  46. package/resources/x/dm.mjs +4 -4
  47. package/resources/x/dm.mjs.map +1 -1
  48. package/resources/x/index.d.mts +1 -1
  49. package/resources/x/index.d.mts.map +1 -1
  50. package/resources/x/index.d.ts +1 -1
  51. package/resources/x/index.d.ts.map +1 -1
  52. package/resources/x/index.js.map +1 -1
  53. package/resources/x/index.mjs.map +1 -1
  54. package/resources/x/media.d.mts +7 -0
  55. package/resources/x/media.d.mts.map +1 -1
  56. package/resources/x/media.d.ts +7 -0
  57. package/resources/x/media.d.ts.map +1 -1
  58. package/resources/x/media.js +2 -2
  59. package/resources/x/media.js.map +1 -1
  60. package/resources/x/media.mjs +2 -2
  61. package/resources/x/media.mjs.map +1 -1
  62. package/resources/x/profile.d.mts +21 -0
  63. package/resources/x/profile.d.mts.map +1 -1
  64. package/resources/x/profile.d.ts +21 -0
  65. package/resources/x/profile.d.ts.map +1 -1
  66. package/resources/x/profile.js +6 -6
  67. package/resources/x/profile.js.map +1 -1
  68. package/resources/x/profile.mjs +6 -6
  69. package/resources/x/profile.mjs.map +1 -1
  70. package/resources/x/tweets/like.d.mts +14 -0
  71. package/resources/x/tweets/like.d.mts.map +1 -1
  72. package/resources/x/tweets/like.d.ts +14 -0
  73. package/resources/x/tweets/like.d.ts.map +1 -1
  74. package/resources/x/tweets/like.js +4 -4
  75. package/resources/x/tweets/like.js.map +1 -1
  76. package/resources/x/tweets/like.mjs +4 -4
  77. package/resources/x/tweets/like.mjs.map +1 -1
  78. package/resources/x/tweets/retweet.d.mts +14 -0
  79. package/resources/x/tweets/retweet.d.mts.map +1 -1
  80. package/resources/x/tweets/retweet.d.ts +14 -0
  81. package/resources/x/tweets/retweet.d.ts.map +1 -1
  82. package/resources/x/tweets/retweet.js +4 -4
  83. package/resources/x/tweets/retweet.js.map +1 -1
  84. package/resources/x/tweets/retweet.mjs +4 -4
  85. package/resources/x/tweets/retweet.mjs.map +1 -1
  86. package/resources/x/tweets/tweets.d.mts +27 -0
  87. package/resources/x/tweets/tweets.d.mts.map +1 -1
  88. package/resources/x/tweets/tweets.d.ts +27 -0
  89. package/resources/x/tweets/tweets.d.ts.map +1 -1
  90. package/resources/x/tweets/tweets.js +4 -4
  91. package/resources/x/tweets/tweets.js.map +1 -1
  92. package/resources/x/tweets/tweets.mjs +4 -4
  93. package/resources/x/tweets/tweets.mjs.map +1 -1
  94. package/resources/x/users/follow.d.mts +14 -0
  95. package/resources/x/users/follow.d.mts.map +1 -1
  96. package/resources/x/users/follow.d.ts +14 -0
  97. package/resources/x/users/follow.d.ts.map +1 -1
  98. package/resources/x/users/follow.js +4 -4
  99. package/resources/x/users/follow.js.map +1 -1
  100. package/resources/x/users/follow.mjs +4 -4
  101. package/resources/x/users/follow.mjs.map +1 -1
  102. package/resources/x/users/index.d.mts +1 -1
  103. package/resources/x/users/index.d.mts.map +1 -1
  104. package/resources/x/users/index.d.ts +1 -1
  105. package/resources/x/users/index.d.ts.map +1 -1
  106. package/resources/x/users/index.js.map +1 -1
  107. package/resources/x/users/index.mjs.map +1 -1
  108. package/resources/x/users/users.d.mts +425 -1
  109. package/resources/x/users/users.d.mts.map +1 -1
  110. package/resources/x/users/users.d.ts +425 -1
  111. package/resources/x/users/users.d.ts.map +1 -1
  112. package/resources/x/users/users.js +17 -2
  113. package/resources/x/users/users.js.map +1 -1
  114. package/resources/x/users/users.mjs +17 -2
  115. package/resources/x/users/users.mjs.map +1 -1
  116. package/resources/x/x.d.mts +2 -2
  117. package/resources/x/x.d.mts.map +1 -1
  118. package/resources/x/x.d.ts +2 -2
  119. package/resources/x/x.d.ts.map +1 -1
  120. package/resources/x/x.js.map +1 -1
  121. package/resources/x/x.mjs.map +1 -1
  122. package/src/resources/activity.ts +41 -2
  123. package/src/resources/credits.ts +6 -0
  124. package/src/resources/extractions.ts +58 -0
  125. package/src/resources/radar.ts +10 -0
  126. package/src/resources/shared.ts +10 -0
  127. package/src/resources/x/communities/communities.ts +23 -4
  128. package/src/resources/x/communities/join.ts +20 -4
  129. package/src/resources/x/dm.ts +20 -4
  130. package/src/resources/x/index.ts +3 -0
  131. package/src/resources/x/media.ts +10 -2
  132. package/src/resources/x/profile.ts +30 -6
  133. package/src/resources/x/tweets/like.ts +20 -4
  134. package/src/resources/x/tweets/retweet.ts +20 -4
  135. package/src/resources/x/tweets/tweets.ts +35 -4
  136. package/src/resources/x/users/follow.ts +20 -4
  137. package/src/resources/x/users/index.ts +3 -0
  138. package/src/resources/x/users/users.ts +513 -2
  139. package/src/resources/x/x.ts +6 -0
  140. package/src/version.ts +1 -1
  141. package/version.d.mts +1 -1
  142. package/version.d.ts +1 -1
  143. package/version.js +1 -1
  144. package/version.mjs +1 -1
@@ -29,11 +29,11 @@ export class Profile extends APIResource {
29
29
  * ```
30
30
  */
31
31
  update(params: ProfileUpdateParams, options?: RequestOptions): APIPromise<ProfileUpdateResponse> {
32
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
32
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
33
33
  return this._client.patch('/x/profile', {
34
34
  body,
35
35
  ...options,
36
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
36
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
37
37
  });
38
38
  }
39
39
 
@@ -53,14 +53,14 @@ export class Profile extends APIResource {
53
53
  params: ProfileUpdateAvatarParams,
54
54
  options?: RequestOptions,
55
55
  ): APIPromise<ProfileUpdateAvatarResponse> {
56
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
56
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
57
57
  return this._client.patch(
58
58
  '/x/profile/avatar',
59
59
  maybeMultipartFormRequestOptions(
60
60
  {
61
61
  body,
62
62
  ...options,
63
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
63
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
64
64
  },
65
65
  this._client,
66
66
  ),
@@ -83,14 +83,14 @@ export class Profile extends APIResource {
83
83
  params: ProfileUpdateBannerParams,
84
84
  options?: RequestOptions,
85
85
  ): APIPromise<ProfileUpdateBannerResponse> {
86
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
86
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
87
87
  return this._client.patch(
88
88
  '/x/profile/banner',
89
89
  maybeMultipartFormRequestOptions(
90
90
  {
91
91
  body,
92
92
  ...options,
93
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
93
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
94
94
  },
95
95
  this._client,
96
96
  ),
@@ -867,6 +867,14 @@ export interface ProfileUpdateParams {
867
867
  */
868
868
  'Idempotency-Key': string;
869
869
 
870
+ /**
871
+ * Header param: A long write answers 202 with a status link, then lands on X.
872
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
873
+ * the write is still running then, the API answers 202 with Location. Poll
874
+ * Location until `terminal` is true, and don't send the write again.
875
+ */
876
+ Prefer?: string;
877
+
870
878
  /**
871
879
  * Body param: Bio, up to 160 characters. An emoji counts as 2.
872
880
  */
@@ -913,6 +921,14 @@ export interface ProfileUpdateAvatarParams {
913
921
  * days.
914
922
  */
915
923
  'Idempotency-Key': string;
924
+
925
+ /**
926
+ * Header param: A long write answers 202 with a status link, then lands on X.
927
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
928
+ * the write is still running then, the API answers 202 with Location. Poll
929
+ * Location until `terminal` is true, and don't send the write again.
930
+ */
931
+ Prefer?: string;
916
932
  }
917
933
 
918
934
  export interface ProfileUpdateBannerParams {
@@ -940,6 +956,14 @@ export interface ProfileUpdateBannerParams {
940
956
  * days.
941
957
  */
942
958
  'Idempotency-Key': string;
959
+
960
+ /**
961
+ * Header param: A long write answers 202 with a status link, then lands on X.
962
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
963
+ * the write is still running then, the API answers 202 with Location. Poll
964
+ * Location until `terminal` is true, and don't send the write again.
965
+ */
966
+ Prefer?: string;
943
967
  }
944
968
 
945
969
  export declare namespace Profile {
@@ -24,11 +24,11 @@ export class Like extends APIResource {
24
24
  * ```
25
25
  */
26
26
  create(id: string, params: LikeCreateParams, options?: RequestOptions): APIPromise<LikeCreateResponse> {
27
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
27
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
28
28
  return this._client.post(path`/x/tweets/${id}/like`, {
29
29
  body,
30
30
  ...options,
31
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
31
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
32
32
  });
33
33
  }
34
34
 
@@ -44,11 +44,11 @@ export class Like extends APIResource {
44
44
  * ```
45
45
  */
46
46
  delete(id: string, params: LikeDeleteParams, options?: RequestOptions): APIPromise<LikeDeleteResponse> {
47
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
47
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
48
48
  return this._client.delete(path`/x/tweets/${id}/like`, {
49
49
  body,
50
50
  ...options,
51
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
51
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
52
52
  });
53
53
  }
54
54
  }
@@ -570,6 +570,14 @@ export interface LikeCreateParams {
570
570
  * days.
571
571
  */
572
572
  'Idempotency-Key': string;
573
+
574
+ /**
575
+ * Header param: A long write answers 202 with a status link, then lands on X.
576
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
577
+ * the write is still running then, the API answers 202 with Location. Poll
578
+ * Location until `terminal` is true, and don't send the write again.
579
+ */
580
+ Prefer?: string;
573
581
  }
574
582
 
575
583
  export interface LikeDeleteParams {
@@ -587,6 +595,14 @@ export interface LikeDeleteParams {
587
595
  * days.
588
596
  */
589
597
  'Idempotency-Key': string;
598
+
599
+ /**
600
+ * Header param: A long write answers 202 with a status link, then lands on X.
601
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
602
+ * the write is still running then, the API answers 202 with Location. Poll
603
+ * Location until `terminal` is true, and don't send the write again.
604
+ */
605
+ Prefer?: string;
590
606
  }
591
607
 
592
608
  export declare namespace Like {
@@ -28,11 +28,11 @@ export class Retweet extends APIResource {
28
28
  params: RetweetCreateParams,
29
29
  options?: RequestOptions,
30
30
  ): APIPromise<RetweetCreateResponse> {
31
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
31
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
32
32
  return this._client.post(path`/x/tweets/${id}/retweet`, {
33
33
  body,
34
34
  ...options,
35
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
35
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
36
36
  });
37
37
  }
38
38
 
@@ -52,11 +52,11 @@ export class Retweet extends APIResource {
52
52
  params: RetweetDeleteParams,
53
53
  options?: RequestOptions,
54
54
  ): APIPromise<RetweetDeleteResponse> {
55
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
55
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
56
56
  return this._client.delete(path`/x/tweets/${id}/retweet`, {
57
57
  body,
58
58
  ...options,
59
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
59
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
60
60
  });
61
61
  }
62
62
  }
@@ -578,6 +578,14 @@ export interface RetweetCreateParams {
578
578
  * days.
579
579
  */
580
580
  'Idempotency-Key': string;
581
+
582
+ /**
583
+ * Header param: A long write answers 202 with a status link, then lands on X.
584
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
585
+ * the write is still running then, the API answers 202 with Location. Poll
586
+ * Location until `terminal` is true, and don't send the write again.
587
+ */
588
+ Prefer?: string;
581
589
  }
582
590
 
583
591
  export interface RetweetDeleteParams {
@@ -595,6 +603,14 @@ export interface RetweetDeleteParams {
595
603
  * days.
596
604
  */
597
605
  'Idempotency-Key': string;
606
+
607
+ /**
608
+ * Header param: A long write answers 202 with a status link, then lands on X.
609
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
610
+ * the write is still running then, the API answers 202 with Location. Poll
611
+ * Location until `terminal` is true, and don't send the write again.
612
+ */
613
+ Prefer?: string;
598
614
  }
599
615
 
600
616
  export declare namespace Retweet {
@@ -37,11 +37,11 @@ export class Tweets extends APIResource {
37
37
  * ```
38
38
  */
39
39
  create(params: TweetCreateParams, options?: RequestOptions): APIPromise<TweetCreateResponse> {
40
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
40
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
41
41
  return this._client.post('/x/tweets', {
42
42
  body,
43
43
  ...options,
44
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
44
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
45
45
  });
46
46
  }
47
47
 
@@ -85,11 +85,11 @@ export class Tweets extends APIResource {
85
85
  * ```
86
86
  */
87
87
  delete(id: string, params: TweetDeleteParams, options?: RequestOptions): APIPromise<TweetDeleteResponse> {
88
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
88
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
89
89
  return this._client.delete(path`/x/tweets/${id}`, {
90
90
  body,
91
91
  ...options,
92
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
92
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
93
93
  });
94
94
  }
95
95
 
@@ -2606,6 +2606,14 @@ export interface TweetGetRepliesResponse extends Omit<Shared.PaginatedTweets, 't
2606
2606
  * the same replies.
2607
2607
  */
2608
2608
  partialBefore?: string;
2609
+
2610
+ /**
2611
+ * Present on automatic pages without filters while X counts replies the read
2612
+ * hasn't reached. If a reply that belongs in your rows is missing, it's among
2613
+ * them. The count drops as you read more pages. On the last page, it counts the
2614
+ * replies the read can't reach.
2615
+ */
2616
+ unreachedReplies?: number;
2609
2617
  }
2610
2618
 
2611
2619
  export namespace TweetGetRepliesResponse {
@@ -3426,6 +3434,14 @@ export interface TweetCreateParams {
3426
3434
  */
3427
3435
  'Idempotency-Key': string;
3428
3436
 
3437
+ /**
3438
+ * Header param: A long write answers 202 with a status link, then lands on X.
3439
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
3440
+ * the write is still running then, the API answers 202 with Location. Poll
3441
+ * Location until `terminal` is true, and don't send the write again.
3442
+ */
3443
+ Prefer?: string;
3444
+
3429
3445
  /**
3430
3446
  * Body param: The Community to post into, from 1 to 19 digits. The account must be
3431
3447
  * a member. Xquik picks the Community in X's composer, checks the post request
@@ -3515,6 +3531,14 @@ export interface TweetDeleteParams {
3515
3531
  * days.
3516
3532
  */
3517
3533
  'Idempotency-Key': string;
3534
+
3535
+ /**
3536
+ * Header param: A long write answers 202 with a status link, then lands on X.
3537
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
3538
+ * the write is still running then, the API answers 202 with Location. Poll
3539
+ * Location until `terminal` is true, and don't send the write again.
3540
+ */
3541
+ Prefer?: string;
3518
3542
  }
3519
3543
 
3520
3544
  export interface TweetCheckRepostParams {
@@ -5363,6 +5387,13 @@ export interface TweetSearchParams {
5363
5387
  */
5364
5388
  source?: string;
5365
5389
 
5390
+ /**
5391
+ * Keeps a post only when at least 1 of these words or quoted phrases appears
5392
+ * outside the author's name and username, such as in its text, a link, its card
5393
+ * or a quoted post.
5394
+ */
5395
+ textOnlyTerms?: string;
5396
+
5366
5397
  /**
5367
5398
  * Filter replies sent to a username.
5368
5399
  */
@@ -24,11 +24,11 @@ export class Follow extends APIResource {
24
24
  * ```
25
25
  */
26
26
  create(id: string, params: FollowCreateParams, options?: RequestOptions): APIPromise<FollowCreateResponse> {
27
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
27
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
28
28
  return this._client.post(path`/x/users/${id}/follow`, {
29
29
  body,
30
30
  ...options,
31
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
31
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
32
32
  });
33
33
  }
34
34
 
@@ -51,11 +51,11 @@ export class Follow extends APIResource {
51
51
  params: FollowDeleteAllParams,
52
52
  options?: RequestOptions,
53
53
  ): APIPromise<FollowDeleteAllResponse> {
54
- const { 'Idempotency-Key': idempotencyKey, ...body } = params;
54
+ const { 'Idempotency-Key': idempotencyKey, Prefer: prefer, ...body } = params;
55
55
  return this._client.delete(path`/x/users/${id}/follow`, {
56
56
  body,
57
57
  ...options,
58
- headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
58
+ headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey, Prefer: prefer }, options?.headers]),
59
59
  });
60
60
  }
61
61
  }
@@ -577,6 +577,14 @@ export interface FollowCreateParams {
577
577
  * days.
578
578
  */
579
579
  'Idempotency-Key': string;
580
+
581
+ /**
582
+ * Header param: A long write answers 202 with a status link, then lands on X.
583
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
584
+ * the write is still running then, the API answers 202 with Location. Poll
585
+ * Location until `terminal` is true, and don't send the write again.
586
+ */
587
+ Prefer?: string;
580
588
  }
581
589
 
582
590
  export interface FollowDeleteAllParams {
@@ -594,6 +602,14 @@ export interface FollowDeleteAllParams {
594
602
  * days.
595
603
  */
596
604
  'Idempotency-Key': string;
605
+
606
+ /**
607
+ * Header param: A long write answers 202 with a status link, then lands on X.
608
+ * `wait=<seconds>` asks for the answer within that many seconds, up to 85. If
609
+ * the write is still running then, the API answers 202 with Location. Poll
610
+ * Location until `terminal` is true, and don't send the write again.
611
+ */
612
+ Prefer?: string;
597
613
  }
598
614
 
599
615
  export declare namespace Follow {
@@ -22,6 +22,8 @@ export {
22
22
  type UserRetrieveListMembershipsResponse,
23
23
  type UserRetrieveListsResponse,
24
24
  type UserRetrieveLiveResponse,
25
+ type ShadowbanReport,
26
+ type ShadowbanVerdict,
25
27
  type UserRetrieveVerifiedFollowersResponse,
26
28
  type UserTranslateBioResponse,
27
29
  type UserRetrieveParams,
@@ -45,6 +47,7 @@ export {
45
47
  type UserRetrieveMentionsParams,
46
48
  type UserRetrieveRepliesParams,
47
49
  type UserRetrieveSearchParams,
50
+ type UserRetrieveShadowbanParams,
48
51
  type UserRetrieveSimilarParams,
49
52
  type UserRetrieveSubscriptionsParams,
50
53
  type UserRetrieveTweetsParams,