x-twitter-scraper 0.4.1 → 0.5.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 (140) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -0
  3. package/package.json +1 -1
  4. package/resources/credits.d.mts +1 -1
  5. package/resources/credits.d.ts +1 -1
  6. package/resources/extractions.d.mts +4 -4
  7. package/resources/extractions.d.ts +4 -4
  8. package/resources/guest-wallets.d.mts +2 -2
  9. package/resources/guest-wallets.d.ts +2 -2
  10. package/resources/shared.d.mts +24 -8
  11. package/resources/shared.d.mts.map +1 -1
  12. package/resources/shared.d.ts +24 -8
  13. package/resources/shared.d.ts.map +1 -1
  14. package/resources/support/tickets.d.mts +67 -4
  15. package/resources/support/tickets.d.mts.map +1 -1
  16. package/resources/support/tickets.d.ts +67 -4
  17. package/resources/support/tickets.d.ts.map +1 -1
  18. package/resources/support/tickets.js +22 -4
  19. package/resources/support/tickets.js.map +1 -1
  20. package/resources/support/tickets.mjs +22 -4
  21. package/resources/support/tickets.mjs.map +1 -1
  22. package/resources/x/account-connection-challenges.d.mts +1 -1
  23. package/resources/x/account-connection-challenges.d.ts +1 -1
  24. package/resources/x/account-connection-challenges.js +1 -1
  25. package/resources/x/account-connection-challenges.mjs +1 -1
  26. package/resources/x/accounts.d.mts +9 -6
  27. package/resources/x/accounts.d.mts.map +1 -1
  28. package/resources/x/accounts.d.ts +9 -6
  29. package/resources/x/accounts.d.ts.map +1 -1
  30. package/resources/x/accounts.js +4 -2
  31. package/resources/x/accounts.js.map +1 -1
  32. package/resources/x/accounts.mjs +4 -2
  33. package/resources/x/accounts.mjs.map +1 -1
  34. package/resources/x/communities/communities.d.mts +360 -10
  35. package/resources/x/communities/communities.d.mts.map +1 -1
  36. package/resources/x/communities/communities.d.ts +360 -10
  37. package/resources/x/communities/communities.d.ts.map +1 -1
  38. package/resources/x/communities/communities.js +17 -4
  39. package/resources/x/communities/communities.js.map +1 -1
  40. package/resources/x/communities/communities.mjs +17 -4
  41. package/resources/x/communities/communities.mjs.map +1 -1
  42. package/resources/x/communities/join.d.mts +361 -7
  43. package/resources/x/communities/join.d.mts.map +1 -1
  44. package/resources/x/communities/join.d.ts +361 -7
  45. package/resources/x/communities/join.d.ts.map +1 -1
  46. package/resources/x/communities/join.js +20 -5
  47. package/resources/x/communities/join.js.map +1 -1
  48. package/resources/x/communities/join.mjs +20 -5
  49. package/resources/x/communities/join.mjs.map +1 -1
  50. package/resources/x/dm.d.mts +183 -5
  51. package/resources/x/dm.d.mts.map +1 -1
  52. package/resources/x/dm.d.ts +183 -5
  53. package/resources/x/dm.d.ts.map +1 -1
  54. package/resources/x/dm.js +9 -2
  55. package/resources/x/dm.js.map +1 -1
  56. package/resources/x/dm.mjs +9 -2
  57. package/resources/x/dm.mjs.map +1 -1
  58. package/resources/x/media.d.mts +178 -10
  59. package/resources/x/media.d.mts.map +1 -1
  60. package/resources/x/media.d.ts +178 -10
  61. package/resources/x/media.d.ts.map +1 -1
  62. package/resources/x/media.js +9 -5
  63. package/resources/x/media.js.map +1 -1
  64. package/resources/x/media.mjs +9 -5
  65. package/resources/x/media.mjs.map +1 -1
  66. package/resources/x/profile.d.mts +545 -14
  67. package/resources/x/profile.d.mts.map +1 -1
  68. package/resources/x/profile.d.ts +545 -14
  69. package/resources/x/profile.d.ts.map +1 -1
  70. package/resources/x/profile.js +25 -6
  71. package/resources/x/profile.js.map +1 -1
  72. package/resources/x/profile.mjs +25 -6
  73. package/resources/x/profile.mjs.map +1 -1
  74. package/resources/x/tweets/like.d.mts +358 -6
  75. package/resources/x/tweets/like.d.mts.map +1 -1
  76. package/resources/x/tweets/like.d.ts +358 -6
  77. package/resources/x/tweets/like.d.ts.map +1 -1
  78. package/resources/x/tweets/like.js +17 -4
  79. package/resources/x/tweets/like.js.map +1 -1
  80. package/resources/x/tweets/like.mjs +17 -4
  81. package/resources/x/tweets/like.mjs.map +1 -1
  82. package/resources/x/tweets/retweet.d.mts +358 -6
  83. package/resources/x/tweets/retweet.d.mts.map +1 -1
  84. package/resources/x/tweets/retweet.d.ts +358 -6
  85. package/resources/x/tweets/retweet.d.ts.map +1 -1
  86. package/resources/x/tweets/retweet.js +17 -4
  87. package/resources/x/tweets/retweet.js.map +1 -1
  88. package/resources/x/tweets/retweet.mjs +17 -4
  89. package/resources/x/tweets/retweet.mjs.map +1 -1
  90. package/resources/x/tweets/tweets.d.mts +376 -18
  91. package/resources/x/tweets/tweets.d.mts.map +1 -1
  92. package/resources/x/tweets/tweets.d.ts +376 -18
  93. package/resources/x/tweets/tweets.d.ts.map +1 -1
  94. package/resources/x/tweets/tweets.js +25 -6
  95. package/resources/x/tweets/tweets.js.map +1 -1
  96. package/resources/x/tweets/tweets.mjs +25 -6
  97. package/resources/x/tweets/tweets.mjs.map +1 -1
  98. package/resources/x/users/follow.d.mts +361 -7
  99. package/resources/x/users/follow.d.mts.map +1 -1
  100. package/resources/x/users/follow.d.ts +361 -7
  101. package/resources/x/users/follow.d.ts.map +1 -1
  102. package/resources/x/users/follow.js +20 -5
  103. package/resources/x/users/follow.js.map +1 -1
  104. package/resources/x/users/follow.mjs +20 -5
  105. package/resources/x/users/follow.mjs.map +1 -1
  106. package/resources/x/users/users.d.mts +181 -5
  107. package/resources/x/users/users.d.mts.map +1 -1
  108. package/resources/x/users/users.d.ts +181 -5
  109. package/resources/x/users/users.d.ts.map +1 -1
  110. package/resources/x/users/users.js +9 -2
  111. package/resources/x/users/users.js.map +1 -1
  112. package/resources/x/users/users.mjs +9 -2
  113. package/resources/x/users/users.mjs.map +1 -1
  114. package/resources/x/write-actions.d.mts +155 -12
  115. package/resources/x/write-actions.d.mts.map +1 -1
  116. package/resources/x/write-actions.d.ts +155 -12
  117. package/resources/x/write-actions.d.ts.map +1 -1
  118. package/src/resources/credits.ts +1 -1
  119. package/src/resources/extractions.ts +4 -4
  120. package/src/resources/guest-wallets.ts +2 -2
  121. package/src/resources/shared.ts +93 -9
  122. package/src/resources/support/tickets.ts +122 -6
  123. package/src/resources/x/account-connection-challenges.ts +1 -1
  124. package/src/resources/x/accounts.ts +9 -6
  125. package/src/resources/x/communities/communities.ts +515 -12
  126. package/src/resources/x/communities/join.ts +518 -9
  127. package/src/resources/x/dm.ts +261 -6
  128. package/src/resources/x/media.ts +258 -11
  129. package/src/resources/x/profile.ts +786 -17
  130. package/src/resources/x/tweets/like.ts +515 -8
  131. package/src/resources/x/tweets/retweet.ts +523 -8
  132. package/src/resources/x/tweets/tweets.ts +529 -23
  133. package/src/resources/x/users/follow.ts +518 -9
  134. package/src/resources/x/users/users.ts +260 -6
  135. package/src/resources/x/write-actions.ts +207 -14
  136. package/src/version.ts +1 -1
  137. package/version.d.mts +1 -1
  138. package/version.d.ts +1 -1
  139. package/version.js +1 -1
  140. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tweets.mjs","sourceRoot":"","sources":["../../../src/resources/x/tweets/tweets.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAE,IAAI,EAA8E,mBAAe;AAC1G,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,OAAO,GAKR,sBAAkB;AAGnB,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgKrE,CAAC;IA9JC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;I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I,GAAG,IAAI,CAAC;AACnB,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -12,10 +12,11 @@ export declare class Follow extends APIResource {
12
12
  * ```ts
13
13
  * const follow = await client.x.users.follow.create('id', {
14
14
  * account: '@elonmusk',
15
+ * 'Idempotency-Key': 'Idempotency-Key',
15
16
  * });
16
17
  * ```
17
18
  */
18
- create(id: string, body: FollowCreateParams, options?: RequestOptions): APIPromise<FollowCreateResponse>;
19
+ create(id: string, params: FollowCreateParams, options?: RequestOptions): APIPromise<FollowCreateResponse>;
19
20
  /**
20
21
  * Unfollow user
21
22
  *
@@ -23,29 +24,382 @@ export declare class Follow extends APIResource {
23
24
  * ```ts
24
25
  * const response = await client.x.users.follow.deleteAll(
25
26
  * 'id',
26
- * { account: '@elonmusk' },
27
+ * {
28
+ * account: '@elonmusk',
29
+ * 'Idempotency-Key': 'Idempotency-Key',
30
+ * },
27
31
  * );
28
32
  * ```
29
33
  */
30
- deleteAll(id: string, body: FollowDeleteAllParams, options?: RequestOptions): APIPromise<FollowDeleteAllResponse>;
34
+ deleteAll(id: string, params: FollowDeleteAllParams, options?: RequestOptions): APIPromise<FollowDeleteAllResponse>;
31
35
  }
36
+ /**
37
+ * Durable write lifecycle record. Poll statusUrl until terminal is true. Reusing
38
+ * the original Idempotency-Key returns this same record. Submit a new write only
39
+ * when safeToRetry is true, using a new key.
40
+ */
32
41
  export interface FollowCreateResponse {
33
- success: true;
42
+ id: string;
43
+ /**
44
+ * Connected account selected for the write.
45
+ */
46
+ account: FollowCreateResponse.Account | null;
47
+ 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';
48
+ /**
49
+ * plannedCredits is the approved maximum. chargedCredits comes from the settled
50
+ * credit ledger. Pending or failed writes are not charged.
51
+ */
52
+ billing: FollowCreateResponse.Billing;
53
+ charged: boolean;
54
+ chargedCredits: string;
55
+ /**
56
+ * Exact follow-up an API client or agent should perform.
57
+ */
58
+ nextAction: FollowCreateResponse.NextAction | null;
59
+ object: 'x_write_action';
60
+ pollAfterMs: number | null;
61
+ /**
62
+ * Stable fingerprint and sanitized payload for replay checks.
63
+ */
64
+ request: FollowCreateResponse.Request;
65
+ /**
66
+ * Confirmed result produced by the write, when available.
67
+ */
68
+ result: FollowCreateResponse.Result | null;
69
+ /**
70
+ * True only when a new attempt can reasonably succeed.
71
+ */
72
+ retryable: boolean;
73
+ /**
74
+ * True only when no write was dispatched and a new idempotency key may be used.
75
+ */
76
+ safeToRetry: boolean;
77
+ sendDispatched: boolean;
78
+ status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
79
+ statusUrl: string;
80
+ success: boolean;
81
+ /**
82
+ * Existing X resource targeted by the write, when applicable.
83
+ */
84
+ target: FollowCreateResponse.Target | null;
85
+ targetId: string | null;
86
+ terminal: boolean;
87
+ writeActionId: string;
88
+ /**
89
+ * Compatibility field for a confirmed community ID.
90
+ */
91
+ communityId?: string;
92
+ /**
93
+ * Confirmed community name when available.
94
+ */
95
+ communityName?: string;
96
+ completedAt?: string;
97
+ confirmationAttempts?: number;
98
+ confirmationCheckedAt?: string;
99
+ confirmedAt?: string;
100
+ createdAt?: string;
101
+ /**
102
+ * Structured recovery context for a failed write.
103
+ */
104
+ details?: {
105
+ [key: string]: unknown;
106
+ };
107
+ error?: string;
108
+ /**
109
+ * Deadline for resolving a non-terminal write. This is not the Idempotency-Key
110
+ * retention deadline.
111
+ */
112
+ expiresAt?: string;
113
+ idempotent?: boolean;
114
+ /**
115
+ * Media count, kind, size, and billing details when used.
116
+ */
117
+ media?: {
118
+ [key: string]: unknown;
119
+ };
120
+ /**
121
+ * Compatibility field for a confirmed media upload ID.
122
+ */
123
+ mediaId?: string;
124
+ /**
125
+ * Public media URL when the upload creates one.
126
+ */
127
+ mediaUrl?: string;
128
+ message?: string;
129
+ /**
130
+ * Compatibility field for a confirmed direct message ID.
131
+ */
132
+ messageId?: string;
133
+ requestHash?: string;
134
+ requestId?: string;
135
+ /**
136
+ * Compatibility result ID for other write actions.
137
+ */
138
+ resultId?: string;
139
+ /**
140
+ * Dispatch timestamp when the write reached execution.
141
+ */
142
+ sendDispatchedAt?: string;
143
+ /**
144
+ * Compatibility field for a confirmed tweet result ID.
145
+ */
146
+ tweetId?: string;
147
+ updatedAt?: string;
34
148
  }
149
+ export declare namespace FollowCreateResponse {
150
+ /**
151
+ * Connected account selected for the write.
152
+ */
153
+ interface Account {
154
+ id: string;
155
+ username: string;
156
+ }
157
+ /**
158
+ * plannedCredits is the approved maximum. chargedCredits comes from the settled
159
+ * credit ledger. Pending or failed writes are not charged.
160
+ */
161
+ interface Billing {
162
+ charged: boolean;
163
+ chargedCredits: string;
164
+ plannedCredits: string;
165
+ status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
166
+ }
167
+ /**
168
+ * Exact follow-up an API client or agent should perform.
169
+ */
170
+ interface NextAction {
171
+ type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
172
+ afterMs?: number;
173
+ requiresNewIdempotencyKey?: boolean;
174
+ url?: string;
175
+ }
176
+ /**
177
+ * Stable fingerprint and sanitized payload for replay checks.
178
+ */
179
+ interface Request {
180
+ /**
181
+ * Stable hash of account, action, target, and payload.
182
+ */
183
+ hash: string | null;
184
+ /**
185
+ * Exact sanitized payload dispatched for this action.
186
+ */
187
+ payload: {
188
+ [key: string]: unknown;
189
+ } | null;
190
+ }
191
+ /**
192
+ * Confirmed result produced by the write, when available.
193
+ */
194
+ interface Result {
195
+ id?: string;
196
+ state?: string;
197
+ type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
198
+ }
199
+ /**
200
+ * Existing X resource targeted by the write, when applicable.
201
+ */
202
+ interface Target {
203
+ id: string;
204
+ type: 'tweet' | 'user' | 'community';
205
+ }
206
+ }
207
+ /**
208
+ * Durable write lifecycle record. Poll statusUrl until terminal is true. Reusing
209
+ * the original Idempotency-Key returns this same record. Submit a new write only
210
+ * when safeToRetry is true, using a new key.
211
+ */
35
212
  export interface FollowDeleteAllResponse {
36
- success: true;
213
+ id: string;
214
+ /**
215
+ * Connected account selected for the write.
216
+ */
217
+ account: FollowDeleteAllResponse.Account | null;
218
+ 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';
219
+ /**
220
+ * plannedCredits is the approved maximum. chargedCredits comes from the settled
221
+ * credit ledger. Pending or failed writes are not charged.
222
+ */
223
+ billing: FollowDeleteAllResponse.Billing;
224
+ charged: boolean;
225
+ chargedCredits: string;
226
+ /**
227
+ * Exact follow-up an API client or agent should perform.
228
+ */
229
+ nextAction: FollowDeleteAllResponse.NextAction | null;
230
+ object: 'x_write_action';
231
+ pollAfterMs: number | null;
232
+ /**
233
+ * Stable fingerprint and sanitized payload for replay checks.
234
+ */
235
+ request: FollowDeleteAllResponse.Request;
236
+ /**
237
+ * Confirmed result produced by the write, when available.
238
+ */
239
+ result: FollowDeleteAllResponse.Result | null;
240
+ /**
241
+ * True only when a new attempt can reasonably succeed.
242
+ */
243
+ retryable: boolean;
244
+ /**
245
+ * True only when no write was dispatched and a new idempotency key may be used.
246
+ */
247
+ safeToRetry: boolean;
248
+ sendDispatched: boolean;
249
+ status: 'accepted' | 'dispatching' | 'pending_confirmation' | 'success' | 'failed' | 'expired';
250
+ statusUrl: string;
251
+ success: boolean;
252
+ /**
253
+ * Existing X resource targeted by the write, when applicable.
254
+ */
255
+ target: FollowDeleteAllResponse.Target | null;
256
+ targetId: string | null;
257
+ terminal: boolean;
258
+ writeActionId: string;
259
+ /**
260
+ * Compatibility field for a confirmed community ID.
261
+ */
262
+ communityId?: string;
263
+ /**
264
+ * Confirmed community name when available.
265
+ */
266
+ communityName?: string;
267
+ completedAt?: string;
268
+ confirmationAttempts?: number;
269
+ confirmationCheckedAt?: string;
270
+ confirmedAt?: string;
271
+ createdAt?: string;
272
+ /**
273
+ * Structured recovery context for a failed write.
274
+ */
275
+ details?: {
276
+ [key: string]: unknown;
277
+ };
278
+ error?: string;
279
+ /**
280
+ * Deadline for resolving a non-terminal write. This is not the Idempotency-Key
281
+ * retention deadline.
282
+ */
283
+ expiresAt?: string;
284
+ idempotent?: boolean;
285
+ /**
286
+ * Media count, kind, size, and billing details when used.
287
+ */
288
+ media?: {
289
+ [key: string]: unknown;
290
+ };
291
+ /**
292
+ * Compatibility field for a confirmed media upload ID.
293
+ */
294
+ mediaId?: string;
295
+ /**
296
+ * Public media URL when the upload creates one.
297
+ */
298
+ mediaUrl?: string;
299
+ message?: string;
300
+ /**
301
+ * Compatibility field for a confirmed direct message ID.
302
+ */
303
+ messageId?: string;
304
+ requestHash?: string;
305
+ requestId?: string;
306
+ /**
307
+ * Compatibility result ID for other write actions.
308
+ */
309
+ resultId?: string;
310
+ /**
311
+ * Dispatch timestamp when the write reached execution.
312
+ */
313
+ sendDispatchedAt?: string;
314
+ /**
315
+ * Compatibility field for a confirmed tweet result ID.
316
+ */
317
+ tweetId?: string;
318
+ updatedAt?: string;
319
+ }
320
+ export declare namespace FollowDeleteAllResponse {
321
+ /**
322
+ * Connected account selected for the write.
323
+ */
324
+ interface Account {
325
+ id: string;
326
+ username: string;
327
+ }
328
+ /**
329
+ * plannedCredits is the approved maximum. chargedCredits comes from the settled
330
+ * credit ledger. Pending or failed writes are not charged.
331
+ */
332
+ interface Billing {
333
+ charged: boolean;
334
+ chargedCredits: string;
335
+ plannedCredits: string;
336
+ status: 'not_charged' | 'pending' | 'charged' | 'charge_failed' | 'refunded';
337
+ }
338
+ /**
339
+ * Exact follow-up an API client or agent should perform.
340
+ */
341
+ interface NextAction {
342
+ type: 'poll' | 'retry' | 'verify_result' | 'fix_request';
343
+ afterMs?: number;
344
+ requiresNewIdempotencyKey?: boolean;
345
+ url?: string;
346
+ }
347
+ /**
348
+ * Stable fingerprint and sanitized payload for replay checks.
349
+ */
350
+ interface Request {
351
+ /**
352
+ * Stable hash of account, action, target, and payload.
353
+ */
354
+ hash: string | null;
355
+ /**
356
+ * Exact sanitized payload dispatched for this action.
357
+ */
358
+ payload: {
359
+ [key: string]: unknown;
360
+ } | null;
361
+ }
362
+ /**
363
+ * Confirmed result produced by the write, when available.
364
+ */
365
+ interface Result {
366
+ id?: string;
367
+ state?: string;
368
+ type?: 'tweet' | 'direct_message' | 'media' | 'community' | 'state_change';
369
+ }
370
+ /**
371
+ * Existing X resource targeted by the write, when applicable.
372
+ */
373
+ interface Target {
374
+ id: string;
375
+ type: 'tweet' | 'user' | 'community';
376
+ }
37
377
  }
38
378
  export interface FollowCreateParams {
39
379
  /**
40
- * X account identifier (@username or account ID)
380
+ * Body param: X account identifier (@username or account ID)
41
381
  */
42
382
  account: string;
383
+ /**
384
+ * Header param: Generate one unique value for each intended write. Reuse it only
385
+ * when retrying the exact same account, action, target, and payload. A reused key
386
+ * returns the original action. Reusing it with different input returns 409. Replay
387
+ * protection remains active for at least 90 days.
388
+ */
389
+ 'Idempotency-Key': string;
43
390
  }
44
391
  export interface FollowDeleteAllParams {
45
392
  /**
46
- * X account identifier (@username or account ID)
393
+ * Body param: X account identifier (@username or account ID)
47
394
  */
48
395
  account: string;
396
+ /**
397
+ * Header param: Generate one unique value for each intended write. Reuse it only
398
+ * when retrying the exact same account, action, target, and payload. A reused key
399
+ * returns the original action. Reusing it with different input returns 409. Replay
400
+ * protection remains active for at least 90 days.
401
+ */
402
+ 'Idempotency-Key': string;
49
403
  }
50
404
  export declare namespace Follow {
51
405
  export { type FollowCreateResponse as FollowCreateResponse, type FollowDeleteAllResponse as FollowDeleteAllResponse, type FollowCreateParams as FollowCreateParams, type FollowDeleteAllParams as FollowDeleteAllParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"follow.d.mts","sourceRoot":"","sources":["../../../src/resources/x/users/follow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIxG;;;;;;;;;;OAUG;IACH,SAAS,CACP,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAGvC;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
1
+ {"version":3,"file":"follow.d.mts","sourceRoot":"","sources":["../../../src/resources/x/users/follow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,M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