@pipedream/twitter 1.0.0 → 1.1.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 (63) hide show
  1. package/README.md +1 -3
  2. package/dist/actions/add-user-to-list/add-user-to-list.d.ts +3 -189
  3. package/dist/actions/add-user-to-list/add-user-to-list.mjs +4 -2
  4. package/dist/actions/create-tweet/create-tweet.d.ts +1 -63
  5. package/dist/actions/create-tweet/create-tweet.mjs +2 -2
  6. package/dist/actions/delete-tweet/delete-tweet.d.ts +2 -126
  7. package/dist/actions/delete-tweet/delete-tweet.mjs +4 -3
  8. package/dist/actions/follow-user/follow-user.d.ts +2 -126
  9. package/dist/actions/follow-user/follow-user.mjs +2 -2
  10. package/dist/actions/get-tweet/get-tweet.d.ts +2 -876
  11. package/dist/actions/get-tweet/get-tweet.mjs +4 -5
  12. package/dist/actions/get-user/get-user.d.ts +2 -503
  13. package/dist/actions/get-user/get-user.mjs +10 -7
  14. package/dist/actions/like-tweet/like-tweet.d.ts +2 -126
  15. package/dist/actions/like-tweet/like-tweet.mjs +4 -3
  16. package/dist/actions/list-favorites/list-favorites.d.ts +46 -982
  17. package/dist/actions/list-favorites/list-favorites.mjs +1 -3
  18. package/dist/actions/list-followers/list-followers.d.ts +46 -609
  19. package/dist/actions/list-followers/list-followers.mjs +1 -3
  20. package/dist/actions/list-lists/list-lists.d.ts +46 -608
  21. package/dist/actions/list-lists/list-lists.mjs +1 -3
  22. package/dist/actions/list-mentions/list-mentions.d.ts +46 -982
  23. package/dist/actions/list-mentions/list-mentions.mjs +1 -3
  24. package/dist/actions/list-user-tweets/list-user-tweets.d.ts +46 -982
  25. package/dist/actions/list-user-tweets/list-user-tweets.mjs +1 -3
  26. package/dist/actions/retweet/retweet.d.ts +2 -126
  27. package/dist/actions/retweet/retweet.mjs +6 -3
  28. package/dist/actions/simple-search/simple-search.d.ts +46 -982
  29. package/dist/actions/simple-search/simple-search.mjs +2 -3
  30. package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +51 -987
  31. package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +1 -3
  32. package/dist/actions/unfollow-user/unfollow-user.d.ts +2 -126
  33. package/dist/actions/unfollow-user/unfollow-user.mjs +1 -1
  34. package/dist/actions/unlike-tweet/unlike-tweet.d.ts +2 -126
  35. package/dist/actions/unlike-tweet/unlike-tweet.mjs +4 -3
  36. package/dist/app/twitter.app.d.ts +2 -64
  37. package/dist/app/twitter.app.mjs +19 -69
  38. package/dist/common/additionalProps.d.ts +0 -0
  39. package/dist/common/additionalProps.mjs +138 -0
  40. package/dist/common/methods.mjs +36 -15
  41. package/dist/common/types/requestParams.d.ts +3 -1
  42. package/dist/sources/common/base.d.ts +2 -64
  43. package/dist/sources/common/base.mjs +5 -7
  44. package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +4 -505
  45. package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +4 -8
  46. package/dist/sources/new-list-followed/new-list-followed.d.ts +4 -504
  47. package/dist/sources/new-list-followed/new-list-followed.mjs +4 -8
  48. package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +4 -878
  49. package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +4 -8
  50. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +4 -878
  51. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +4 -8
  52. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +4 -878
  53. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +4 -8
  54. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +4 -878
  55. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +4 -11
  56. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +2 -126
  57. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +1 -1
  58. package/dist/sources/new-user-followed/new-user-followed.d.ts +4 -505
  59. package/dist/sources/new-user-followed/new-user-followed.mjs +4 -8
  60. package/dist/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +1 -1
  62. package/dist/common/propGroups.d.ts +0 -1509
  63. package/dist/common/propGroups.mjs +0 -82
@@ -4,756 +4,6 @@ import { ResponseObject, Tweet } from "../../common/types/responseSchemas.js";
4
4
  declare const _default: import("@pipedream/types").Action<{
5
5
  getTweetFields: typeof getTweetFields;
6
6
  }, {
7
- expansions: {
8
- propDefinition: (string | import("@pipedream/types").App<{
9
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
10
- _getBaseUrl(): "https://api.twitter.com/2";
11
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
12
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
13
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
14
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
15
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
16
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
17
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
18
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
19
- getAuthenticatedUserId(): Promise<string>;
20
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
21
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
22
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
23
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
24
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
25
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
26
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
27
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
28
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
29
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
30
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
31
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
32
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
33
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
34
- }, {
35
- maxResults: {
36
- type: string;
37
- label: string;
38
- description: string;
39
- optional: boolean;
40
- };
41
- listId: {
42
- type: string;
43
- label: string;
44
- description: string;
45
- options(): Promise<{
46
- label: string;
47
- value: string;
48
- }[]>;
49
- };
50
- userNameOrId: {
51
- type: string;
52
- label: string;
53
- description: string;
54
- optional: boolean;
55
- default: string;
56
- };
57
- tweetId: {
58
- type: string;
59
- label: string;
60
- description: string;
61
- };
62
- query: {
63
- type: string;
64
- label: string;
65
- description: string;
66
- };
67
- listExpansions: {
68
- type: string;
69
- label: string;
70
- optional: boolean;
71
- description: string;
72
- options: string[];
73
- };
74
- tweetExpansions: {
75
- type: string;
76
- label: string;
77
- optional: boolean;
78
- description: string;
79
- options: string[];
80
- };
81
- userExpansions: {
82
- type: string;
83
- label: string;
84
- optional: boolean;
85
- description: string;
86
- options: string[];
87
- };
88
- listFields: {
89
- type: string;
90
- label: string;
91
- description: string;
92
- optional: boolean;
93
- options: string[];
94
- };
95
- mediaFields: {
96
- type: string;
97
- label: string;
98
- description: string;
99
- optional: boolean;
100
- options: string[];
101
- };
102
- placeFields: {
103
- type: string;
104
- label: string;
105
- description: string;
106
- optional: boolean;
107
- options: string[];
108
- };
109
- pollFields: {
110
- type: string;
111
- label: string;
112
- description: string;
113
- optional: boolean;
114
- options: string[];
115
- };
116
- tweetFields: {
117
- type: string;
118
- label: string;
119
- description: string;
120
- optional: boolean;
121
- options: string[];
122
- };
123
- userFields: {
124
- type: string;
125
- label: string;
126
- description: string;
127
- optional: boolean;
128
- options: string[];
129
- };
130
- }>)[];
131
- };
132
- mediaFields: {
133
- propDefinition: (string | import("@pipedream/types").App<{
134
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
135
- _getBaseUrl(): "https://api.twitter.com/2";
136
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
137
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
138
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
139
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
140
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
141
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
142
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
143
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
144
- getAuthenticatedUserId(): Promise<string>;
145
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
146
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
147
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
148
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
149
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
150
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
151
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
152
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
153
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
154
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
155
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
156
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
157
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
158
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
159
- }, {
160
- maxResults: {
161
- type: string;
162
- label: string;
163
- description: string;
164
- optional: boolean;
165
- };
166
- listId: {
167
- type: string;
168
- label: string;
169
- description: string;
170
- options(): Promise<{
171
- label: string;
172
- value: string;
173
- }[]>;
174
- };
175
- userNameOrId: {
176
- type: string;
177
- label: string;
178
- description: string;
179
- optional: boolean;
180
- default: string;
181
- };
182
- tweetId: {
183
- type: string;
184
- label: string;
185
- description: string;
186
- };
187
- query: {
188
- type: string;
189
- label: string;
190
- description: string;
191
- };
192
- listExpansions: {
193
- type: string;
194
- label: string;
195
- optional: boolean;
196
- description: string;
197
- options: string[];
198
- };
199
- tweetExpansions: {
200
- type: string;
201
- label: string;
202
- optional: boolean;
203
- description: string;
204
- options: string[];
205
- };
206
- userExpansions: {
207
- type: string;
208
- label: string;
209
- optional: boolean;
210
- description: string;
211
- options: string[];
212
- };
213
- listFields: {
214
- type: string;
215
- label: string;
216
- description: string;
217
- optional: boolean;
218
- options: string[];
219
- };
220
- mediaFields: {
221
- type: string;
222
- label: string;
223
- description: string;
224
- optional: boolean;
225
- options: string[];
226
- };
227
- placeFields: {
228
- type: string;
229
- label: string;
230
- description: string;
231
- optional: boolean;
232
- options: string[];
233
- };
234
- pollFields: {
235
- type: string;
236
- label: string;
237
- description: string;
238
- optional: boolean;
239
- options: string[];
240
- };
241
- tweetFields: {
242
- type: string;
243
- label: string;
244
- description: string;
245
- optional: boolean;
246
- options: string[];
247
- };
248
- userFields: {
249
- type: string;
250
- label: string;
251
- description: string;
252
- optional: boolean;
253
- options: string[];
254
- };
255
- }>)[];
256
- };
257
- placeFields: {
258
- propDefinition: (string | import("@pipedream/types").App<{
259
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
260
- _getBaseUrl(): "https://api.twitter.com/2";
261
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
262
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
263
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
264
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
265
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
266
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
267
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
268
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
269
- getAuthenticatedUserId(): Promise<string>;
270
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
271
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
272
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
273
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
274
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
275
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
276
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
277
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
278
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
279
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
280
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
281
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
282
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
283
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
284
- }, {
285
- maxResults: {
286
- type: string;
287
- label: string;
288
- description: string;
289
- optional: boolean;
290
- };
291
- listId: {
292
- type: string;
293
- label: string;
294
- description: string;
295
- options(): Promise<{
296
- label: string;
297
- value: string;
298
- }[]>;
299
- };
300
- userNameOrId: {
301
- type: string;
302
- label: string;
303
- description: string;
304
- optional: boolean;
305
- default: string;
306
- };
307
- tweetId: {
308
- type: string;
309
- label: string;
310
- description: string;
311
- };
312
- query: {
313
- type: string;
314
- label: string;
315
- description: string;
316
- };
317
- listExpansions: {
318
- type: string;
319
- label: string;
320
- optional: boolean;
321
- description: string;
322
- options: string[];
323
- };
324
- tweetExpansions: {
325
- type: string;
326
- label: string;
327
- optional: boolean;
328
- description: string;
329
- options: string[];
330
- };
331
- userExpansions: {
332
- type: string;
333
- label: string;
334
- optional: boolean;
335
- description: string;
336
- options: string[];
337
- };
338
- listFields: {
339
- type: string;
340
- label: string;
341
- description: string;
342
- optional: boolean;
343
- options: string[];
344
- };
345
- mediaFields: {
346
- type: string;
347
- label: string;
348
- description: string;
349
- optional: boolean;
350
- options: string[];
351
- };
352
- placeFields: {
353
- type: string;
354
- label: string;
355
- description: string;
356
- optional: boolean;
357
- options: string[];
358
- };
359
- pollFields: {
360
- type: string;
361
- label: string;
362
- description: string;
363
- optional: boolean;
364
- options: string[];
365
- };
366
- tweetFields: {
367
- type: string;
368
- label: string;
369
- description: string;
370
- optional: boolean;
371
- options: string[];
372
- };
373
- userFields: {
374
- type: string;
375
- label: string;
376
- description: string;
377
- optional: boolean;
378
- options: string[];
379
- };
380
- }>)[];
381
- };
382
- pollFields: {
383
- propDefinition: (string | import("@pipedream/types").App<{
384
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
385
- _getBaseUrl(): "https://api.twitter.com/2";
386
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
387
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
388
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
389
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
390
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
391
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
392
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
393
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
394
- getAuthenticatedUserId(): Promise<string>;
395
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
396
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
397
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
398
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
399
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
400
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
401
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
402
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
403
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
404
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
405
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
406
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
407
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
408
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
409
- }, {
410
- maxResults: {
411
- type: string;
412
- label: string;
413
- description: string;
414
- optional: boolean;
415
- };
416
- listId: {
417
- type: string;
418
- label: string;
419
- description: string;
420
- options(): Promise<{
421
- label: string;
422
- value: string;
423
- }[]>;
424
- };
425
- userNameOrId: {
426
- type: string;
427
- label: string;
428
- description: string;
429
- optional: boolean;
430
- default: string;
431
- };
432
- tweetId: {
433
- type: string;
434
- label: string;
435
- description: string;
436
- };
437
- query: {
438
- type: string;
439
- label: string;
440
- description: string;
441
- };
442
- listExpansions: {
443
- type: string;
444
- label: string;
445
- optional: boolean;
446
- description: string;
447
- options: string[];
448
- };
449
- tweetExpansions: {
450
- type: string;
451
- label: string;
452
- optional: boolean;
453
- description: string;
454
- options: string[];
455
- };
456
- userExpansions: {
457
- type: string;
458
- label: string;
459
- optional: boolean;
460
- description: string;
461
- options: string[];
462
- };
463
- listFields: {
464
- type: string;
465
- label: string;
466
- description: string;
467
- optional: boolean;
468
- options: string[];
469
- };
470
- mediaFields: {
471
- type: string;
472
- label: string;
473
- description: string;
474
- optional: boolean;
475
- options: string[];
476
- };
477
- placeFields: {
478
- type: string;
479
- label: string;
480
- description: string;
481
- optional: boolean;
482
- options: string[];
483
- };
484
- pollFields: {
485
- type: string;
486
- label: string;
487
- description: string;
488
- optional: boolean;
489
- options: string[];
490
- };
491
- tweetFields: {
492
- type: string;
493
- label: string;
494
- description: string;
495
- optional: boolean;
496
- options: string[];
497
- };
498
- userFields: {
499
- type: string;
500
- label: string;
501
- description: string;
502
- optional: boolean;
503
- options: string[];
504
- };
505
- }>)[];
506
- };
507
- tweetFields: {
508
- propDefinition: (string | import("@pipedream/types").App<{
509
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
510
- _getBaseUrl(): "https://api.twitter.com/2";
511
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
512
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
513
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
514
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
515
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
516
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
517
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
518
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
519
- getAuthenticatedUserId(): Promise<string>;
520
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
521
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
522
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
523
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
524
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
525
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
526
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
527
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
528
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
529
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
530
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
531
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
532
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
533
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
534
- }, {
535
- maxResults: {
536
- type: string;
537
- label: string;
538
- description: string;
539
- optional: boolean;
540
- };
541
- listId: {
542
- type: string;
543
- label: string;
544
- description: string;
545
- options(): Promise<{
546
- label: string;
547
- value: string;
548
- }[]>;
549
- };
550
- userNameOrId: {
551
- type: string;
552
- label: string;
553
- description: string;
554
- optional: boolean;
555
- default: string;
556
- };
557
- tweetId: {
558
- type: string;
559
- label: string;
560
- description: string;
561
- };
562
- query: {
563
- type: string;
564
- label: string;
565
- description: string;
566
- };
567
- listExpansions: {
568
- type: string;
569
- label: string;
570
- optional: boolean;
571
- description: string;
572
- options: string[];
573
- };
574
- tweetExpansions: {
575
- type: string;
576
- label: string;
577
- optional: boolean;
578
- description: string;
579
- options: string[];
580
- };
581
- userExpansions: {
582
- type: string;
583
- label: string;
584
- optional: boolean;
585
- description: string;
586
- options: string[];
587
- };
588
- listFields: {
589
- type: string;
590
- label: string;
591
- description: string;
592
- optional: boolean;
593
- options: string[];
594
- };
595
- mediaFields: {
596
- type: string;
597
- label: string;
598
- description: string;
599
- optional: boolean;
600
- options: string[];
601
- };
602
- placeFields: {
603
- type: string;
604
- label: string;
605
- description: string;
606
- optional: boolean;
607
- options: string[];
608
- };
609
- pollFields: {
610
- type: string;
611
- label: string;
612
- description: string;
613
- optional: boolean;
614
- options: string[];
615
- };
616
- tweetFields: {
617
- type: string;
618
- label: string;
619
- description: string;
620
- optional: boolean;
621
- options: string[];
622
- };
623
- userFields: {
624
- type: string;
625
- label: string;
626
- description: string;
627
- optional: boolean;
628
- options: string[];
629
- };
630
- }>)[];
631
- };
632
- userFields: {
633
- propDefinition: (string | import("@pipedream/types").App<{
634
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
635
- _getBaseUrl(): "https://api.twitter.com/2";
636
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
637
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
638
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
639
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
640
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
641
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
642
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
643
- getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
644
- getAuthenticatedUserId(): Promise<string>;
645
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
646
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
647
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
648
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
649
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
650
- getUserByUsername(username: string): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
651
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
652
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
653
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
654
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
655
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
656
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
657
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
658
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
659
- }, {
660
- maxResults: {
661
- type: string;
662
- label: string;
663
- description: string;
664
- optional: boolean;
665
- };
666
- listId: {
667
- type: string;
668
- label: string;
669
- description: string;
670
- options(): Promise<{
671
- label: string;
672
- value: string;
673
- }[]>;
674
- };
675
- userNameOrId: {
676
- type: string;
677
- label: string;
678
- description: string;
679
- optional: boolean;
680
- default: string;
681
- };
682
- tweetId: {
683
- type: string;
684
- label: string;
685
- description: string;
686
- };
687
- query: {
688
- type: string;
689
- label: string;
690
- description: string;
691
- };
692
- listExpansions: {
693
- type: string;
694
- label: string;
695
- optional: boolean;
696
- description: string;
697
- options: string[];
698
- };
699
- tweetExpansions: {
700
- type: string;
701
- label: string;
702
- optional: boolean;
703
- description: string;
704
- options: string[];
705
- };
706
- userExpansions: {
707
- type: string;
708
- label: string;
709
- optional: boolean;
710
- description: string;
711
- options: string[];
712
- };
713
- listFields: {
714
- type: string;
715
- label: string;
716
- description: string;
717
- optional: boolean;
718
- options: string[];
719
- };
720
- mediaFields: {
721
- type: string;
722
- label: string;
723
- description: string;
724
- optional: boolean;
725
- options: string[];
726
- };
727
- placeFields: {
728
- type: string;
729
- label: string;
730
- description: string;
731
- optional: boolean;
732
- options: string[];
733
- };
734
- pollFields: {
735
- type: string;
736
- label: string;
737
- description: string;
738
- optional: boolean;
739
- options: string[];
740
- };
741
- tweetFields: {
742
- type: string;
743
- label: string;
744
- description: string;
745
- optional: boolean;
746
- options: string[];
747
- };
748
- userFields: {
749
- type: string;
750
- label: string;
751
- description: string;
752
- optional: boolean;
753
- options: string[];
754
- };
755
- }>)[];
756
- };
757
7
  app: import("@pipedream/types").App<{
758
8
  _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
759
9
  _getBaseUrl(): "https://api.twitter.com/2";
@@ -765,6 +15,7 @@ declare const _default: import("@pipedream/types").Action<{
765
15
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
766
16
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
767
17
  getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
18
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
768
19
  getAuthenticatedUserId(): Promise<string>;
769
20
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
770
21
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -813,69 +64,6 @@ declare const _default: import("@pipedream/types").Action<{
813
64
  label: string;
814
65
  description: string;
815
66
  };
816
- listExpansions: {
817
- type: string;
818
- label: string;
819
- optional: boolean;
820
- description: string;
821
- options: string[];
822
- };
823
- tweetExpansions: {
824
- type: string;
825
- label: string;
826
- optional: boolean;
827
- description: string;
828
- options: string[];
829
- };
830
- userExpansions: {
831
- type: string;
832
- label: string;
833
- optional: boolean;
834
- description: string;
835
- options: string[];
836
- };
837
- listFields: {
838
- type: string;
839
- label: string;
840
- description: string;
841
- optional: boolean;
842
- options: string[];
843
- };
844
- mediaFields: {
845
- type: string;
846
- label: string;
847
- description: string;
848
- optional: boolean;
849
- options: string[];
850
- };
851
- placeFields: {
852
- type: string;
853
- label: string;
854
- description: string;
855
- optional: boolean;
856
- options: string[];
857
- };
858
- pollFields: {
859
- type: string;
860
- label: string;
861
- description: string;
862
- optional: boolean;
863
- options: string[];
864
- };
865
- tweetFields: {
866
- type: string;
867
- label: string;
868
- description: string;
869
- optional: boolean;
870
- options: string[];
871
- };
872
- userFields: {
873
- type: string;
874
- label: string;
875
- description: string;
876
- optional: boolean;
877
- options: string[];
878
- };
879
67
  }>;
880
68
  tweetId: {
881
69
  propDefinition: (string | import("@pipedream/types").App<{
@@ -889,6 +77,7 @@ declare const _default: import("@pipedream/types").Action<{
889
77
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
890
78
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
891
79
  getTweet({ tweetId, ...args }: GetTweetParams): Promise<ResponseObject<Tweet>>;
80
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<ResponseObject<import("../../common/types/responseSchemas").User>>;
892
81
  getAuthenticatedUserId(): Promise<string>;
893
82
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
894
83
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -937,69 +126,6 @@ declare const _default: import("@pipedream/types").Action<{
937
126
  label: string;
938
127
  description: string;
939
128
  };
940
- listExpansions: {
941
- type: string;
942
- label: string;
943
- optional: boolean;
944
- description: string;
945
- options: string[];
946
- };
947
- tweetExpansions: {
948
- type: string;
949
- label: string;
950
- optional: boolean;
951
- description: string;
952
- options: string[];
953
- };
954
- userExpansions: {
955
- type: string;
956
- label: string;
957
- optional: boolean;
958
- description: string;
959
- options: string[];
960
- };
961
- listFields: {
962
- type: string;
963
- label: string;
964
- description: string;
965
- optional: boolean;
966
- options: string[];
967
- };
968
- mediaFields: {
969
- type: string;
970
- label: string;
971
- description: string;
972
- optional: boolean;
973
- options: string[];
974
- };
975
- placeFields: {
976
- type: string;
977
- label: string;
978
- description: string;
979
- optional: boolean;
980
- options: string[];
981
- };
982
- pollFields: {
983
- type: string;
984
- label: string;
985
- description: string;
986
- optional: boolean;
987
- options: string[];
988
- };
989
- tweetFields: {
990
- type: string;
991
- label: string;
992
- description: string;
993
- optional: boolean;
994
- options: string[];
995
- };
996
- userFields: {
997
- type: string;
998
- label: string;
999
- description: string;
1000
- optional: boolean;
1001
- options: string[];
1002
- };
1003
129
  }>)[];
1004
130
  };
1005
131
  }>;