x-twitter-scraper 0.2.0 → 0.3.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 (200) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/client.d.mts +14 -27
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +14 -27
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -27
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -27
  9. package/client.mjs.map +1 -1
  10. package/internal/request-options.d.mts +0 -4
  11. package/internal/request-options.d.mts.map +1 -1
  12. package/internal/request-options.d.ts +0 -4
  13. package/internal/request-options.d.ts.map +1 -1
  14. package/internal/request-options.js.map +1 -1
  15. package/internal/request-options.mjs.map +1 -1
  16. package/internal/utils/env.js +2 -2
  17. package/internal/utils/env.js.map +1 -1
  18. package/internal/utils/env.mjs +2 -2
  19. package/internal/utils/env.mjs.map +1 -1
  20. package/package.json +1 -1
  21. package/resources/account.d.mts +7 -6
  22. package/resources/account.d.mts.map +1 -1
  23. package/resources/account.d.ts +7 -6
  24. package/resources/account.d.ts.map +1 -1
  25. package/resources/account.js +3 -3
  26. package/resources/account.js.map +1 -1
  27. package/resources/account.mjs +3 -3
  28. package/resources/account.mjs.map +1 -1
  29. package/resources/api-keys.js +3 -3
  30. package/resources/api-keys.js.map +1 -1
  31. package/resources/api-keys.mjs +3 -3
  32. package/resources/api-keys.mjs.map +1 -1
  33. package/resources/compose.d.mts +1 -1
  34. package/resources/compose.d.ts +1 -1
  35. package/resources/compose.js +1 -1
  36. package/resources/compose.mjs +1 -1
  37. package/resources/credits.d.mts +1 -1
  38. package/resources/credits.d.ts +1 -1
  39. package/resources/credits.js +1 -1
  40. package/resources/credits.mjs +1 -1
  41. package/resources/drafts.d.mts +1 -1
  42. package/resources/drafts.d.ts +1 -1
  43. package/resources/drafts.js +1 -1
  44. package/resources/drafts.mjs +1 -1
  45. package/resources/events.js +1 -1
  46. package/resources/events.js.map +1 -1
  47. package/resources/events.mjs +1 -1
  48. package/resources/events.mjs.map +1 -1
  49. package/resources/extractions.d.mts +3 -2
  50. package/resources/extractions.d.mts.map +1 -1
  51. package/resources/extractions.d.ts +3 -2
  52. package/resources/extractions.d.ts.map +1 -1
  53. package/resources/index.d.mts +1 -3
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +1 -3
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js +1 -5
  58. package/resources/index.js.map +1 -1
  59. package/resources/index.mjs +0 -2
  60. package/resources/index.mjs.map +1 -1
  61. package/resources/monitors.d.mts +1 -1
  62. package/resources/monitors.d.ts +1 -1
  63. package/resources/monitors.js +1 -1
  64. package/resources/monitors.mjs +1 -1
  65. package/resources/radar.d.mts +45 -10
  66. package/resources/radar.d.mts.map +1 -1
  67. package/resources/radar.d.ts +45 -10
  68. package/resources/radar.d.ts.map +1 -1
  69. package/resources/radar.js +1 -1
  70. package/resources/radar.mjs +1 -1
  71. package/resources/shared.d.mts +47 -6
  72. package/resources/shared.d.mts.map +1 -1
  73. package/resources/shared.d.ts +47 -6
  74. package/resources/shared.d.ts.map +1 -1
  75. package/resources/styles.d.mts +1 -1
  76. package/resources/styles.d.ts +1 -1
  77. package/resources/styles.js +1 -1
  78. package/resources/styles.mjs +1 -1
  79. package/resources/subscribe.d.mts +1 -1
  80. package/resources/subscribe.d.ts +1 -1
  81. package/resources/subscribe.js +1 -1
  82. package/resources/subscribe.mjs +1 -1
  83. package/resources/trends.d.mts +2 -2
  84. package/resources/trends.d.ts +2 -2
  85. package/resources/trends.js +2 -2
  86. package/resources/trends.mjs +2 -2
  87. package/resources/webhooks.d.mts +2 -2
  88. package/resources/webhooks.d.ts +2 -2
  89. package/resources/webhooks.js +2 -2
  90. package/resources/webhooks.mjs +2 -2
  91. package/resources/x/accounts.d.mts +48 -0
  92. package/resources/x/accounts.d.mts.map +1 -1
  93. package/resources/x/accounts.d.ts +48 -0
  94. package/resources/x/accounts.d.ts.map +1 -1
  95. package/resources/x/accounts.js +6 -10
  96. package/resources/x/accounts.js.map +1 -1
  97. package/resources/x/accounts.mjs +6 -10
  98. package/resources/x/accounts.mjs.map +1 -1
  99. package/resources/x/bookmarks.d.mts +1 -1
  100. package/resources/x/bookmarks.d.ts +1 -1
  101. package/resources/x/bookmarks.js +1 -1
  102. package/resources/x/bookmarks.mjs +1 -1
  103. package/resources/x/communities/communities.d.mts +4 -4
  104. package/resources/x/communities/communities.d.ts +4 -4
  105. package/resources/x/communities/communities.js +4 -4
  106. package/resources/x/communities/communities.mjs +4 -4
  107. package/resources/x/communities/tweets.d.mts +3 -3
  108. package/resources/x/communities/tweets.d.ts +3 -3
  109. package/resources/x/communities/tweets.js +3 -3
  110. package/resources/x/communities/tweets.mjs +3 -3
  111. package/resources/x/followers.d.mts +2 -2
  112. package/resources/x/followers.d.ts +2 -2
  113. package/resources/x/followers.js +2 -2
  114. package/resources/x/followers.mjs +2 -2
  115. package/resources/x/index.d.mts +3 -3
  116. package/resources/x/index.d.mts.map +1 -1
  117. package/resources/x/index.d.ts +3 -3
  118. package/resources/x/index.d.ts.map +1 -1
  119. package/resources/x/index.js.map +1 -1
  120. package/resources/x/index.mjs.map +1 -1
  121. package/resources/x/lists.d.mts +4 -4
  122. package/resources/x/lists.d.ts +4 -4
  123. package/resources/x/lists.js +4 -4
  124. package/resources/x/lists.mjs +4 -4
  125. package/resources/x/media.d.mts +2 -2
  126. package/resources/x/media.d.ts +2 -2
  127. package/resources/x/media.js +2 -2
  128. package/resources/x/media.mjs +2 -2
  129. package/resources/x/tweets/index.d.mts +1 -1
  130. package/resources/x/tweets/index.d.mts.map +1 -1
  131. package/resources/x/tweets/index.d.ts +1 -1
  132. package/resources/x/tweets/index.d.ts.map +1 -1
  133. package/resources/x/tweets/index.js.map +1 -1
  134. package/resources/x/tweets/index.mjs.map +1 -1
  135. package/resources/x/tweets/tweets.d.mts +19 -36
  136. package/resources/x/tweets/tweets.d.mts.map +1 -1
  137. package/resources/x/tweets/tweets.d.ts +19 -36
  138. package/resources/x/tweets/tweets.d.ts.map +1 -1
  139. package/resources/x/tweets/tweets.js +7 -7
  140. package/resources/x/tweets/tweets.js.map +1 -1
  141. package/resources/x/tweets/tweets.mjs +7 -7
  142. package/resources/x/tweets/tweets.mjs.map +1 -1
  143. package/resources/x/users/index.d.mts +1 -1
  144. package/resources/x/users/index.d.mts.map +1 -1
  145. package/resources/x/users/index.d.ts +1 -1
  146. package/resources/x/users/index.d.ts.map +1 -1
  147. package/resources/x/users/index.js.map +1 -1
  148. package/resources/x/users/index.mjs.map +1 -1
  149. package/resources/x/users/users.d.mts +13 -29
  150. package/resources/x/users/users.d.mts.map +1 -1
  151. package/resources/x/users/users.d.ts +13 -29
  152. package/resources/x/users/users.d.ts.map +1 -1
  153. package/resources/x/users/users.js +11 -11
  154. package/resources/x/users/users.js.map +1 -1
  155. package/resources/x/users/users.mjs +11 -11
  156. package/resources/x/users/users.mjs.map +1 -1
  157. package/resources/x/x.d.mts +17 -10
  158. package/resources/x/x.d.mts.map +1 -1
  159. package/resources/x/x.d.ts +17 -10
  160. package/resources/x/x.d.ts.map +1 -1
  161. package/resources/x/x.js +3 -6
  162. package/resources/x/x.js.map +1 -1
  163. package/resources/x/x.mjs +3 -6
  164. package/resources/x/x.mjs.map +1 -1
  165. package/src/client.ts +16 -56
  166. package/src/internal/request-options.ts +0 -2
  167. package/src/internal/utils/env.ts +2 -2
  168. package/src/resources/account.ts +10 -8
  169. package/src/resources/api-keys.ts +3 -3
  170. package/src/resources/compose.ts +1 -1
  171. package/src/resources/credits.ts +1 -1
  172. package/src/resources/drafts.ts +1 -1
  173. package/src/resources/events.ts +1 -1
  174. package/src/resources/extractions.ts +5 -3
  175. package/src/resources/index.ts +1 -13
  176. package/src/resources/monitors.ts +1 -1
  177. package/src/resources/radar.ts +50 -10
  178. package/src/resources/shared.ts +74 -14
  179. package/src/resources/styles.ts +1 -1
  180. package/src/resources/subscribe.ts +1 -1
  181. package/src/resources/trends.ts +2 -2
  182. package/src/resources/webhooks.ts +2 -2
  183. package/src/resources/x/accounts.ts +65 -10
  184. package/src/resources/x/bookmarks.ts +1 -1
  185. package/src/resources/x/communities/communities.ts +4 -4
  186. package/src/resources/x/communities/tweets.ts +3 -3
  187. package/src/resources/x/followers.ts +2 -2
  188. package/src/resources/x/index.ts +1 -2
  189. package/src/resources/x/lists.ts +4 -4
  190. package/src/resources/x/media.ts +2 -2
  191. package/src/resources/x/tweets/index.ts +0 -1
  192. package/src/resources/x/tweets/tweets.ts +20 -52
  193. package/src/resources/x/users/index.ts +0 -1
  194. package/src/resources/x/users/users.ts +12 -40
  195. package/src/resources/x/x.ts +19 -10
  196. package/src/version.ts +1 -1
  197. package/version.d.mts +1 -1
  198. package/version.d.ts +1 -1
  199. package/version.js +1 -1
  200. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../../src/resources/x/accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC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AED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,IAAyB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -3,7 +3,7 @@ import * as Shared from "../shared.mjs";
3
3
  import { APIPromise } from "../../core/api-promise.mjs";
4
4
  import { RequestOptions } from "../../internal/request-options.mjs";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * Look up, search, and analyze individual tweets
7
7
  */
8
8
  export declare class Bookmarks extends APIResource {
9
9
  /**
@@ -3,7 +3,7 @@ import * as Shared from "../shared.js";
3
3
  import { APIPromise } from "../../core/api-promise.js";
4
4
  import { RequestOptions } from "../../internal/request-options.js";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * Look up, search, and analyze individual tweets
7
7
  */
8
8
  export declare class Bookmarks extends APIResource {
9
9
  /**
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Bookmarks = void 0;
5
5
  const resource_1 = require("../../core/resource.js");
6
6
  /**
7
- * X data lookups (subscription required)
7
+ * Look up, search, and analyze individual tweets
8
8
  */
9
9
  class Bookmarks extends resource_1.APIResource {
10
10
  /**
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  /**
4
- * X data lookups (subscription required)
4
+ * Look up, search, and analyze individual tweets
5
5
  */
6
6
  export class Bookmarks extends APIResource {
7
7
  /**
@@ -35,7 +35,7 @@ export declare class Communities extends APIResource {
35
35
  */
36
36
  delete(id: string, body: CommunityDeleteParams, options?: RequestOptions): APIPromise<CommunityDeleteResponse>;
37
37
  /**
38
- * Get community details
38
+ * Get community name, description and member count
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -46,7 +46,7 @@ export declare class Communities extends APIResource {
46
46
  */
47
47
  retrieveInfo(id: string, options?: RequestOptions): APIPromise<CommunityRetrieveInfoResponse>;
48
48
  /**
49
- * Get community members
49
+ * List members of a community
50
50
  *
51
51
  * @example
52
52
  * ```ts
@@ -56,7 +56,7 @@ export declare class Communities extends APIResource {
56
56
  */
57
57
  retrieveMembers(id: string, query?: CommunityRetrieveMembersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
58
58
  /**
59
- * Get community moderators
59
+ * List moderators of a community
60
60
  *
61
61
  * @example
62
62
  * ```ts
@@ -66,7 +66,7 @@ export declare class Communities extends APIResource {
66
66
  */
67
67
  retrieveModerators(id: string, query?: CommunityRetrieveModeratorsParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
68
68
  /**
69
- * Search tweets across communities
69
+ * Search for communities by keyword
70
70
  *
71
71
  * @example
72
72
  * ```ts
@@ -35,7 +35,7 @@ export declare class Communities extends APIResource {
35
35
  */
36
36
  delete(id: string, body: CommunityDeleteParams, options?: RequestOptions): APIPromise<CommunityDeleteResponse>;
37
37
  /**
38
- * Get community details
38
+ * Get community name, description and member count
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -46,7 +46,7 @@ export declare class Communities extends APIResource {
46
46
  */
47
47
  retrieveInfo(id: string, options?: RequestOptions): APIPromise<CommunityRetrieveInfoResponse>;
48
48
  /**
49
- * Get community members
49
+ * List members of a community
50
50
  *
51
51
  * @example
52
52
  * ```ts
@@ -56,7 +56,7 @@ export declare class Communities extends APIResource {
56
56
  */
57
57
  retrieveMembers(id: string, query?: CommunityRetrieveMembersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
58
58
  /**
59
- * Get community moderators
59
+ * List moderators of a community
60
60
  *
61
61
  * @example
62
62
  * ```ts
@@ -66,7 +66,7 @@ export declare class Communities extends APIResource {
66
66
  */
67
67
  retrieveModerators(id: string, query?: CommunityRetrieveModeratorsParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
68
68
  /**
69
- * Search tweets across communities
69
+ * Search for communities by keyword
70
70
  *
71
71
  * @example
72
72
  * ```ts
@@ -45,7 +45,7 @@ class Communities extends resource_1.APIResource {
45
45
  return this._client.delete((0, path_1.path) `/x/communities/${id}`, { body, ...options });
46
46
  }
47
47
  /**
48
- * Get community details
48
+ * Get community name, description and member count
49
49
  *
50
50
  * @example
51
51
  * ```ts
@@ -58,7 +58,7 @@ class Communities extends resource_1.APIResource {
58
58
  return this._client.get((0, path_1.path) `/x/communities/${id}/info`, options);
59
59
  }
60
60
  /**
61
- * Get community members
61
+ * List members of a community
62
62
  *
63
63
  * @example
64
64
  * ```ts
@@ -70,7 +70,7 @@ class Communities extends resource_1.APIResource {
70
70
  return this._client.get((0, path_1.path) `/x/communities/${id}/members`, { query, ...options });
71
71
  }
72
72
  /**
73
- * Get community moderators
73
+ * List moderators of a community
74
74
  *
75
75
  * @example
76
76
  * ```ts
@@ -82,7 +82,7 @@ class Communities extends resource_1.APIResource {
82
82
  return this._client.get((0, path_1.path) `/x/communities/${id}/moderators`, { query, ...options });
83
83
  }
84
84
  /**
85
- * Search tweets across communities
85
+ * Search for communities by keyword
86
86
  *
87
87
  * @example
88
88
  * ```ts
@@ -41,7 +41,7 @@ export class Communities extends APIResource {
41
41
  return this._client.delete(path `/x/communities/${id}`, { body, ...options });
42
42
  }
43
43
  /**
44
- * Get community details
44
+ * Get community name, description and member count
45
45
  *
46
46
  * @example
47
47
  * ```ts
@@ -54,7 +54,7 @@ export class Communities extends APIResource {
54
54
  return this._client.get(path `/x/communities/${id}/info`, options);
55
55
  }
56
56
  /**
57
- * Get community members
57
+ * List members of a community
58
58
  *
59
59
  * @example
60
60
  * ```ts
@@ -66,7 +66,7 @@ export class Communities extends APIResource {
66
66
  return this._client.get(path `/x/communities/${id}/members`, { query, ...options });
67
67
  }
68
68
  /**
69
- * Get community moderators
69
+ * List moderators of a community
70
70
  *
71
71
  * @example
72
72
  * ```ts
@@ -78,7 +78,7 @@ export class Communities extends APIResource {
78
78
  return this._client.get(path `/x/communities/${id}/moderators`, { query, ...options });
79
79
  }
80
80
  /**
81
- * Search tweets across communities
81
+ * Search for communities by keyword
82
82
  *
83
83
  * @example
84
84
  * ```ts
@@ -3,11 +3,11 @@ import * as Shared from "../../shared.mjs";
3
3
  import { APIPromise } from "../../../core/api-promise.mjs";
4
4
  import { RequestOptions } from "../../../internal/request-options.mjs";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * X Community info, members, and tweets
7
7
  */
8
8
  export declare class Tweets extends APIResource {
9
9
  /**
10
- * Search tweets across all communities
10
+ * List tweets across all communities
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -17,7 +17,7 @@ export declare class Tweets extends APIResource {
17
17
  */
18
18
  list(query: TweetListParams, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
19
19
  /**
20
- * Get community tweets
20
+ * List tweets posted in a community
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -3,11 +3,11 @@ import * as Shared from "../../shared.js";
3
3
  import { APIPromise } from "../../../core/api-promise.js";
4
4
  import { RequestOptions } from "../../../internal/request-options.js";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * X Community info, members, and tweets
7
7
  */
8
8
  export declare class Tweets extends APIResource {
9
9
  /**
10
- * Search tweets across all communities
10
+ * List tweets across all communities
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -17,7 +17,7 @@ export declare class Tweets extends APIResource {
17
17
  */
18
18
  list(query: TweetListParams, options?: RequestOptions): APIPromise<Shared.PaginatedTweets>;
19
19
  /**
20
- * Get community tweets
20
+ * List tweets posted in a community
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -5,11 +5,11 @@ exports.Tweets = void 0;
5
5
  const resource_1 = require("../../../core/resource.js");
6
6
  const path_1 = require("../../../internal/utils/path.js");
7
7
  /**
8
- * X data lookups (subscription required)
8
+ * X Community info, members, and tweets
9
9
  */
10
10
  class Tweets extends resource_1.APIResource {
11
11
  /**
12
- * Search tweets across all communities
12
+ * List tweets across all communities
13
13
  *
14
14
  * @example
15
15
  * ```ts
@@ -21,7 +21,7 @@ class Tweets extends resource_1.APIResource {
21
21
  return this._client.get('/x/communities/tweets', { query, ...options });
22
22
  }
23
23
  /**
24
- * Get community tweets
24
+ * List tweets posted in a community
25
25
  *
26
26
  * @example
27
27
  * ```ts
@@ -2,11 +2,11 @@
2
2
  import { APIResource } from "../../../core/resource.mjs";
3
3
  import { path } from "../../../internal/utils/path.mjs";
4
4
  /**
5
- * X data lookups (subscription required)
5
+ * X Community info, members, and tweets
6
6
  */
7
7
  export class Tweets extends APIResource {
8
8
  /**
9
- * Search tweets across all communities
9
+ * List tweets across all communities
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -18,7 +18,7 @@ export class Tweets extends APIResource {
18
18
  return this._client.get('/x/communities/tweets', { query, ...options });
19
19
  }
20
20
  /**
21
- * Get community tweets
21
+ * List tweets posted in a community
22
22
  *
23
23
  * @example
24
24
  * ```ts
@@ -2,11 +2,11 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  /**
5
- * X data lookups (subscription required)
5
+ * Look up, search, and explore user profiles and relationships
6
6
  */
7
7
  export declare class Followers extends APIResource {
8
8
  /**
9
- * Check follow relationship
9
+ * Check if one user follows another
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -2,11 +2,11 @@ import { APIResource } from "../../core/resource.js";
2
2
  import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  /**
5
- * X data lookups (subscription required)
5
+ * Look up, search, and explore user profiles and relationships
6
6
  */
7
7
  export declare class Followers extends APIResource {
8
8
  /**
9
- * Check follow relationship
9
+ * Check if one user follows another
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Followers = void 0;
5
5
  const resource_1 = require("../../core/resource.js");
6
6
  /**
7
- * X data lookups (subscription required)
7
+ * Look up, search, and explore user profiles and relationships
8
8
  */
9
9
  class Followers extends resource_1.APIResource {
10
10
  /**
11
- * Check follow relationship
11
+ * Check if one user follows another
12
12
  *
13
13
  * @example
14
14
  * ```ts
@@ -1,11 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  /**
4
- * X data lookups (subscription required)
4
+ * Look up, search, and explore user profiles and relationships
5
5
  */
6
6
  export class Followers extends APIResource {
7
7
  /**
8
- * Check follow relationship
8
+ * Check if one user follows another
9
9
  *
10
10
  * @example
11
11
  * ```ts
@@ -6,7 +6,7 @@ export { Followers, type FollowerCheckResponse, type FollowerCheckParams } from
6
6
  export { Lists, type ListRetrieveFollowersParams, type ListRetrieveMembersParams, type ListRetrieveTweetsParams, } from "./lists.mjs";
7
7
  export { Media, type MediaDownloadResponse, type MediaUploadResponse, type MediaDownloadParams, type MediaUploadParams, } from "./media.mjs";
8
8
  export { Profile, type ProfileUpdateResponse, type ProfileUpdateAvatarResponse, type ProfileUpdateBannerResponse, type ProfileUpdateParams, type ProfileUpdateAvatarParams, type ProfileUpdateBannerParams, } from "./profile.mjs";
9
- export { Tweets, type SearchTweet, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets/index.mjs";
10
- export { Users, type UserProfile, type UserRetrieveBatchParams, type UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams, type UserRetrieveLikesParams, type UserRetrieveMediaParams, type UserRetrieveMentionsParams, type UserRetrieveSearchParams, type UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams, } from "./users/index.mjs";
11
- export { X, type XGetArticleResponse, type XGetNotificationsResponse, type XGetTrendsResponse, type XGetHomeTimelineParams, type XGetNotificationsParams, } from "./x.mjs";
9
+ export { Tweets, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets/index.mjs";
10
+ export { Users, type UserRetrieveBatchParams, type UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams, type UserRetrieveLikesParams, type UserRetrieveMediaParams, type UserRetrieveMentionsParams, type UserRetrieveSearchParams, type UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams, } from "./users/index.mjs";
11
+ export { X, type XGetArticleResponse, type XGetNotificationsResponse, type XGetTrendsResponse, type XGetHomeTimelineParams, type XGetNotificationsParams, type XGetTrendsParams, } from "./x.mjs";
12
12
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,SAAS,EAAE,KAAK,+BAA+B,EAAE,KAAK,kBAAkB,EAAE;OAC5E,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,GACnC;OACM,EACL,EAAE,EACF,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,GAClB;OACM,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EACh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AAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,GAClB;OACM,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB;OACM,EACL,KAAK,EACL,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,GACzC;OACM,EACL,CAAC,EACD,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,GACtB"}
@@ -6,7 +6,7 @@ export { Followers, type FollowerCheckResponse, type FollowerCheckParams } from
6
6
  export { Lists, type ListRetrieveFollowersParams, type ListRetrieveMembersParams, type ListRetrieveTweetsParams, } from "./lists.js";
7
7
  export { Media, type MediaDownloadResponse, type MediaUploadResponse, type MediaDownloadParams, type MediaUploadParams, } from "./media.js";
8
8
  export { Profile, type ProfileUpdateResponse, type ProfileUpdateAvatarResponse, type ProfileUpdateBannerResponse, type ProfileUpdateParams, type ProfileUpdateAvatarParams, type ProfileUpdateBannerParams, } from "./profile.js";
9
- export { Tweets, type SearchTweet, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets/index.js";
10
- export { Users, type UserProfile, type UserRetrieveBatchParams, type UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams, type UserRetrieveLikesParams, type UserRetrieveMediaParams, type UserRetrieveMentionsParams, type UserRetrieveSearchParams, type UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams, } from "./users/index.js";
11
- export { X, type XGetArticleResponse, type XGetNotificationsResponse, type XGetTrendsResponse, type XGetHomeTimelineParams, type XGetNotificationsParams, } from "./x.js";
9
+ export { Tweets, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets/index.js";
10
+ export { Users, type UserRetrieveBatchParams, type UserRetrieveFollowersParams, type UserRetrieveFollowersYouKnowParams, type UserRetrieveFollowingParams, type UserRetrieveLikesParams, type UserRetrieveMediaParams, type UserRetrieveMentionsParams, type UserRetrieveSearchParams, type UserRetrieveTweetsParams, type UserRetrieveVerifiedFollowersParams, } from "./users/index.js";
11
+ export { X, type XGetArticleResponse, type XGetNotificationsResponse, type XGetTrendsResponse, type XGetHomeTimelineParams, type XGetNotificationsParams, type XGetTrendsParams, } from "./x.js";
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,SAAS,EAAE,KAAK,+BAA+B,EAAE,KAAK,kBAAkB,EAAE;OAC5E,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,GACnC;OACM,EACL,EAAE,EACF,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,GAClB;OACM,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B;OACM,EACL,KAAK,EACL,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B;OACM,EACL,MAAM,EACN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ot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,4CAAuG;AAA9F,sGAAA,SAAS,OAAA;AAClB,gDAW6B;AAV3B,oGAAA,WAAW,OAAA;AAWb,8BAMc;AALZ,wFAAA,EAAE,OAAA;AAMJ,4CAA8F;AAArF,sGAAA,SAAS,OAAA;AAClB,oCAKiB;AAJf,8FAAA,KAAK,OAAA;AAKP,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,2CAiBwB;AAhBtB,+FAAA,MAAM,OAAA;AAiBR,0CAauB;AAZrB,8FAAA,KAAK,OAAA;AAaP,4BAOa;AANX,sFAAA,CAAC,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,4CAAuG;AAA9F,sGAAA,SAAS,OAAA;AAClB,gDAW6B;AAV3B,oGAAA,WAAW,OAAA;AAWb,8BAMc;AALZ,wFAAA,EAAE,OAAA;AAMJ,4CAA8F;AAArF,sGAAA,SAAS,OAAA;AAClB,oCAKiB;AAJf,8FAAA,KAAK,OAAA;AAKP,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,2CAgBwB;AAftB,+FAAA,MAAM,OAAA;AAgBR,0CAYuB;AAXrB,8FAAA,KAAK,OAAA;AAYP,4BAQa;AAPX,sFAAA,CAAC,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAUT;OACM,EAAE,SAAS,EAAiE;OAC5E,EACL,WAAW,GAUZ;OACM,EACL,EAAE,GAKH;OACM,EAAE,SAAS,EAAwD;OACnE,EACL,KAAK,GAIN;OACM,EACL,KAAK,GAKN;OACM,EACL,OAAO,GAOR;OACM,EACL,MAAM,GAgBP;OACM,EACL,KAAK,GAYN;OACM,EACL,CAAC,GAMF"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/x/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAUT;OACM,EAAE,SAAS,EAAiE;OAC5E,EACL,WAAW,GAUZ;OACM,EACL,EAAE,GAKH;OACM,EAAE,SAAS,EAAwD;OACnE,EACL,KAAK,GAIN;OACM,EACL,KAAK,GAKN;OACM,EACL,OAAO,GAOR;OACM,EACL,MAAM,GAeP;OACM,EACL,KAAK,GAWN;OACM,EACL,CAAC,GAOF"}
@@ -3,11 +3,11 @@ import * as Shared from "../shared.mjs";
3
3
  import { APIPromise } from "../../core/api-promise.mjs";
4
4
  import { RequestOptions } from "../../internal/request-options.mjs";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * X List followers, members, and tweets
7
7
  */
8
8
  export declare class Lists extends APIResource {
9
9
  /**
10
- * Get list followers
10
+ * List followers of an X List
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -17,7 +17,7 @@ export declare class Lists extends APIResource {
17
17
  */
18
18
  retrieveFollowers(id: string, query?: ListRetrieveFollowersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
19
19
  /**
20
- * Get list members
20
+ * List members of an X List
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -28,7 +28,7 @@ export declare class Lists extends APIResource {
28
28
  */
29
29
  retrieveMembers(id: string, query?: ListRetrieveMembersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
30
30
  /**
31
- * Get list tweets
31
+ * List tweets from an X List
32
32
  *
33
33
  * @example
34
34
  * ```ts
@@ -3,11 +3,11 @@ import * as Shared from "../shared.js";
3
3
  import { APIPromise } from "../../core/api-promise.js";
4
4
  import { RequestOptions } from "../../internal/request-options.js";
5
5
  /**
6
- * X data lookups (subscription required)
6
+ * X List followers, members, and tweets
7
7
  */
8
8
  export declare class Lists extends APIResource {
9
9
  /**
10
- * Get list followers
10
+ * List followers of an X List
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -17,7 +17,7 @@ export declare class Lists extends APIResource {
17
17
  */
18
18
  retrieveFollowers(id: string, query?: ListRetrieveFollowersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
19
19
  /**
20
- * Get list members
20
+ * List members of an X List
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -28,7 +28,7 @@ export declare class Lists extends APIResource {
28
28
  */
29
29
  retrieveMembers(id: string, query?: ListRetrieveMembersParams | null | undefined, options?: RequestOptions): APIPromise<Shared.PaginatedUsers>;
30
30
  /**
31
- * Get list tweets
31
+ * List tweets from an X List
32
32
  *
33
33
  * @example
34
34
  * ```ts
@@ -5,11 +5,11 @@ exports.Lists = void 0;
5
5
  const resource_1 = require("../../core/resource.js");
6
6
  const path_1 = require("../../internal/utils/path.js");
7
7
  /**
8
- * X data lookups (subscription required)
8
+ * X List followers, members, and tweets
9
9
  */
10
10
  class Lists extends resource_1.APIResource {
11
11
  /**
12
- * Get list followers
12
+ * List followers of an X List
13
13
  *
14
14
  * @example
15
15
  * ```ts
@@ -21,7 +21,7 @@ class Lists extends resource_1.APIResource {
21
21
  return this._client.get((0, path_1.path) `/x/lists/${id}/followers`, { query, ...options });
22
22
  }
23
23
  /**
24
- * Get list members
24
+ * List members of an X List
25
25
  *
26
26
  * @example
27
27
  * ```ts
@@ -34,7 +34,7 @@ class Lists extends resource_1.APIResource {
34
34
  return this._client.get((0, path_1.path) `/x/lists/${id}/members`, { query, ...options });
35
35
  }
36
36
  /**
37
- * Get list tweets
37
+ * List tweets from an X List
38
38
  *
39
39
  * @example
40
40
  * ```ts
@@ -2,11 +2,11 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import { path } from "../../internal/utils/path.mjs";
4
4
  /**
5
- * X data lookups (subscription required)
5
+ * X List followers, members, and tweets
6
6
  */
7
7
  export class Lists extends APIResource {
8
8
  /**
9
- * Get list followers
9
+ * List followers of an X List
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -18,7 +18,7 @@ export class Lists extends APIResource {
18
18
  return this._client.get(path `/x/lists/${id}/followers`, { query, ...options });
19
19
  }
20
20
  /**
21
- * Get list members
21
+ * List members of an X List
22
22
  *
23
23
  * @example
24
24
  * ```ts
@@ -31,7 +31,7 @@ export class Lists extends APIResource {
31
31
  return this._client.get(path `/x/lists/${id}/members`, { query, ...options });
32
32
  }
33
33
  /**
34
- * Get list tweets
34
+ * List tweets from an X List
35
35
  *
36
36
  * @example
37
37
  * ```ts
@@ -3,11 +3,11 @@ import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { type Uploadable } from "../../core/uploads.mjs";
4
4
  import { RequestOptions } from "../../internal/request-options.mjs";
5
5
  /**
6
- * Media upload & download
6
+ * Media upload and download
7
7
  */
8
8
  export declare class Media extends APIResource {
9
9
  /**
10
- * Download tweet media
10
+ * Download images and videos from tweets
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -3,11 +3,11 @@ import { APIPromise } from "../../core/api-promise.js";
3
3
  import { type Uploadable } from "../../core/uploads.js";
4
4
  import { RequestOptions } from "../../internal/request-options.js";
5
5
  /**
6
- * Media upload & download
6
+ * Media upload and download
7
7
  */
8
8
  export declare class Media extends APIResource {
9
9
  /**
10
- * Download tweet media
10
+ * Download images and videos from tweets
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -5,11 +5,11 @@ exports.Media = void 0;
5
5
  const resource_1 = require("../../core/resource.js");
6
6
  const uploads_1 = require("../../internal/uploads.js");
7
7
  /**
8
- * Media upload & download
8
+ * Media upload and download
9
9
  */
10
10
  class Media extends resource_1.APIResource {
11
11
  /**
12
- * Download tweet media
12
+ * Download images and videos from tweets
13
13
  *
14
14
  * @example
15
15
  * ```ts
@@ -2,11 +2,11 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
4
4
  /**
5
- * Media upload & download
5
+ * Media upload and download
6
6
  */
7
7
  export class Media extends APIResource {
8
8
  /**
9
- * Download tweet media
9
+ * Download images and videos from tweets
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -1,4 +1,4 @@
1
1
  export { Like, type LikeCreateResponse, type LikeDeleteResponse, type LikeCreateParams, type LikeDeleteParams, } from "./like.mjs";
2
2
  export { Retweet, type RetweetCreateResponse, type RetweetDeleteResponse, type RetweetCreateParams, type RetweetDeleteParams, } from "./retweet.mjs";
3
- export { Tweets, type SearchTweet, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets.mjs";
3
+ export { Tweets, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/x/tweets/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/x/tweets/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB"}
@@ -1,4 +1,4 @@
1
1
  export { Like, type LikeCreateResponse, type LikeDeleteResponse, type LikeCreateParams, type LikeDeleteParams, } from "./like.js";
2
2
  export { Retweet, type RetweetCreateResponse, type RetweetDeleteResponse, type RetweetCreateParams, type RetweetDeleteParams, } from "./retweet.js";
3
- export { Tweets, type SearchTweet, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets.js";
3
+ export { Tweets, type TweetAuthor, type TweetDetail, type TweetCreateResponse, type TweetRetrieveResponse, type TweetDeleteResponse, type TweetCreateParams, type TweetListParams, type TweetDeleteParams, type TweetGetFavoritersParams, type TweetGetQuotesParams, type TweetGetRepliesParams, type TweetGetRetweetersParams, type TweetGetThreadParams, type TweetSearchParams, } from "./tweets.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/x/tweets/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/x/tweets/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB"}