@pipedream/twitter 1.0.0 → 1.1.1

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
@@ -8,511 +8,6 @@ declare const _default: import("@pipedream/types").Action<{
8
8
  getUserId: typeof getUserId;
9
9
  getUserFields: typeof getUserFields;
10
10
  }, {
11
- maxResults: {
12
- propDefinition: (string | import("@pipedream/types").App<{
13
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
14
- _getBaseUrl(): "https://api.twitter.com/2";
15
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
16
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
17
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
18
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
19
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
20
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
21
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
22
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
23
- getAuthenticatedUserId(): Promise<string>;
24
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
25
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
26
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
27
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
28
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
29
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
30
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
31
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
32
- getUserFollowers({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
33
- getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
34
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
35
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
36
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
37
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
38
- }, {
39
- maxResults: {
40
- type: string;
41
- label: string;
42
- description: string;
43
- optional: boolean;
44
- };
45
- listId: {
46
- type: string;
47
- label: string;
48
- description: string;
49
- options(): Promise<{
50
- label: string;
51
- value: string;
52
- }[]>;
53
- };
54
- userNameOrId: {
55
- type: string;
56
- label: string;
57
- description: string;
58
- optional: boolean;
59
- default: string;
60
- };
61
- tweetId: {
62
- type: string;
63
- label: string;
64
- description: string;
65
- };
66
- query: {
67
- type: string;
68
- label: string;
69
- description: string;
70
- };
71
- listExpansions: {
72
- type: string;
73
- label: string;
74
- optional: boolean;
75
- description: string;
76
- options: string[];
77
- };
78
- tweetExpansions: {
79
- type: string;
80
- label: string;
81
- optional: boolean;
82
- description: string;
83
- options: string[];
84
- };
85
- userExpansions: {
86
- type: string;
87
- label: string;
88
- optional: boolean;
89
- description: string;
90
- options: string[];
91
- };
92
- listFields: {
93
- type: string;
94
- label: string;
95
- description: string;
96
- optional: boolean;
97
- options: string[];
98
- };
99
- mediaFields: {
100
- type: string;
101
- label: string;
102
- description: string;
103
- optional: boolean;
104
- options: string[];
105
- };
106
- placeFields: {
107
- type: string;
108
- label: string;
109
- description: string;
110
- optional: boolean;
111
- options: string[];
112
- };
113
- pollFields: {
114
- type: string;
115
- label: string;
116
- description: string;
117
- optional: boolean;
118
- options: string[];
119
- };
120
- tweetFields: {
121
- type: string;
122
- label: string;
123
- description: string;
124
- optional: boolean;
125
- options: string[];
126
- };
127
- userFields: {
128
- type: string;
129
- label: string;
130
- description: string;
131
- optional: boolean;
132
- options: string[];
133
- };
134
- }>)[];
135
- min: number;
136
- max: number;
137
- default: number;
138
- };
139
- expansions: {
140
- propDefinition: (string | import("@pipedream/types").App<{
141
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
142
- _getBaseUrl(): "https://api.twitter.com/2";
143
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
144
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
145
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
146
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
147
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
148
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
149
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
150
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
151
- getAuthenticatedUserId(): Promise<string>;
152
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
153
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
154
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
155
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
156
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
157
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
158
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
159
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
160
- getUserFollowers({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
161
- getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
162
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
163
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
164
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
165
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
166
- }, {
167
- maxResults: {
168
- type: string;
169
- label: string;
170
- description: string;
171
- optional: boolean;
172
- };
173
- listId: {
174
- type: string;
175
- label: string;
176
- description: string;
177
- options(): Promise<{
178
- label: string;
179
- value: string;
180
- }[]>;
181
- };
182
- userNameOrId: {
183
- type: string;
184
- label: string;
185
- description: string;
186
- optional: boolean;
187
- default: string;
188
- };
189
- tweetId: {
190
- type: string;
191
- label: string;
192
- description: string;
193
- };
194
- query: {
195
- type: string;
196
- label: string;
197
- description: string;
198
- };
199
- listExpansions: {
200
- type: string;
201
- label: string;
202
- optional: boolean;
203
- description: string;
204
- options: string[];
205
- };
206
- tweetExpansions: {
207
- type: string;
208
- label: string;
209
- optional: boolean;
210
- description: string;
211
- options: string[];
212
- };
213
- userExpansions: {
214
- type: string;
215
- label: string;
216
- optional: boolean;
217
- description: string;
218
- options: string[];
219
- };
220
- listFields: {
221
- type: string;
222
- label: string;
223
- description: string;
224
- optional: boolean;
225
- options: string[];
226
- };
227
- mediaFields: {
228
- type: string;
229
- label: string;
230
- description: string;
231
- optional: boolean;
232
- options: string[];
233
- };
234
- placeFields: {
235
- type: string;
236
- label: string;
237
- description: string;
238
- optional: boolean;
239
- options: string[];
240
- };
241
- pollFields: {
242
- type: string;
243
- label: string;
244
- description: string;
245
- optional: boolean;
246
- options: string[];
247
- };
248
- tweetFields: {
249
- type: string;
250
- label: string;
251
- description: string;
252
- optional: boolean;
253
- options: string[];
254
- };
255
- userFields: {
256
- type: string;
257
- label: string;
258
- description: string;
259
- optional: boolean;
260
- options: string[];
261
- };
262
- }>)[];
263
- };
264
- tweetFields: {
265
- propDefinition: (string | import("@pipedream/types").App<{
266
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
267
- _getBaseUrl(): "https://api.twitter.com/2";
268
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
269
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
270
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
271
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
272
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
273
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
274
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
275
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
276
- getAuthenticatedUserId(): Promise<string>;
277
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
278
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
279
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
280
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
281
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
282
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
283
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
284
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
285
- getUserFollowers({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
286
- getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
287
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
288
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
289
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
290
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
291
- }, {
292
- maxResults: {
293
- type: string;
294
- label: string;
295
- description: string;
296
- optional: boolean;
297
- };
298
- listId: {
299
- type: string;
300
- label: string;
301
- description: string;
302
- options(): Promise<{
303
- label: string;
304
- value: string;
305
- }[]>;
306
- };
307
- userNameOrId: {
308
- type: string;
309
- label: string;
310
- description: string;
311
- optional: boolean;
312
- default: string;
313
- };
314
- tweetId: {
315
- type: string;
316
- label: string;
317
- description: string;
318
- };
319
- query: {
320
- type: string;
321
- label: string;
322
- description: string;
323
- };
324
- listExpansions: {
325
- type: string;
326
- label: string;
327
- optional: boolean;
328
- description: string;
329
- options: string[];
330
- };
331
- tweetExpansions: {
332
- type: string;
333
- label: string;
334
- optional: boolean;
335
- description: string;
336
- options: string[];
337
- };
338
- userExpansions: {
339
- type: string;
340
- label: string;
341
- optional: boolean;
342
- description: string;
343
- options: string[];
344
- };
345
- listFields: {
346
- type: string;
347
- label: string;
348
- description: string;
349
- optional: boolean;
350
- options: string[];
351
- };
352
- mediaFields: {
353
- type: string;
354
- label: string;
355
- description: string;
356
- optional: boolean;
357
- options: string[];
358
- };
359
- placeFields: {
360
- type: string;
361
- label: string;
362
- description: string;
363
- optional: boolean;
364
- options: string[];
365
- };
366
- pollFields: {
367
- type: string;
368
- label: string;
369
- description: string;
370
- optional: boolean;
371
- options: string[];
372
- };
373
- tweetFields: {
374
- type: string;
375
- label: string;
376
- description: string;
377
- optional: boolean;
378
- options: string[];
379
- };
380
- userFields: {
381
- type: string;
382
- label: string;
383
- description: string;
384
- optional: boolean;
385
- options: string[];
386
- };
387
- }>)[];
388
- description: string;
389
- };
390
- userFields: {
391
- propDefinition: (string | import("@pipedream/types").App<{
392
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
393
- _getBaseUrl(): "https://api.twitter.com/2";
394
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
395
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
396
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
397
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
398
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
399
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
400
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
401
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
402
- getAuthenticatedUserId(): Promise<string>;
403
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
404
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
405
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
406
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
407
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
408
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
409
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
410
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
411
- getUserFollowers({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
412
- getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
413
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
414
- searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
415
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
416
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
417
- }, {
418
- maxResults: {
419
- type: string;
420
- label: string;
421
- description: string;
422
- optional: boolean;
423
- };
424
- listId: {
425
- type: string;
426
- label: string;
427
- description: string;
428
- options(): Promise<{
429
- label: string;
430
- value: string;
431
- }[]>;
432
- };
433
- userNameOrId: {
434
- type: string;
435
- label: string;
436
- description: string;
437
- optional: boolean;
438
- default: string;
439
- };
440
- tweetId: {
441
- type: string;
442
- label: string;
443
- description: string;
444
- };
445
- query: {
446
- type: string;
447
- label: string;
448
- description: string;
449
- };
450
- listExpansions: {
451
- type: string;
452
- label: string;
453
- optional: boolean;
454
- description: string;
455
- options: string[];
456
- };
457
- tweetExpansions: {
458
- type: string;
459
- label: string;
460
- optional: boolean;
461
- description: string;
462
- options: string[];
463
- };
464
- userExpansions: {
465
- type: string;
466
- label: string;
467
- optional: boolean;
468
- description: string;
469
- options: string[];
470
- };
471
- listFields: {
472
- type: string;
473
- label: string;
474
- description: string;
475
- optional: boolean;
476
- options: string[];
477
- };
478
- mediaFields: {
479
- type: string;
480
- label: string;
481
- description: string;
482
- optional: boolean;
483
- options: string[];
484
- };
485
- placeFields: {
486
- type: string;
487
- label: string;
488
- description: string;
489
- optional: boolean;
490
- options: string[];
491
- };
492
- pollFields: {
493
- type: string;
494
- label: string;
495
- description: string;
496
- optional: boolean;
497
- options: string[];
498
- };
499
- tweetFields: {
500
- type: string;
501
- label: string;
502
- description: string;
503
- optional: boolean;
504
- options: string[];
505
- };
506
- userFields: {
507
- type: string;
508
- label: string;
509
- description: string;
510
- optional: boolean;
511
- options: string[];
512
- };
513
- }>)[];
514
- description: string;
515
- };
516
11
  app: import("@pipedream/types").App<{
517
12
  _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
518
13
  _getBaseUrl(): "https://api.twitter.com/2";
@@ -524,6 +19,7 @@ declare const _default: import("@pipedream/types").Action<{
524
19
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
525
20
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
526
21
  getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
22
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
527
23
  getAuthenticatedUserId(): Promise<string>;
528
24
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
529
25
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -572,69 +68,6 @@ declare const _default: import("@pipedream/types").Action<{
572
68
  label: string;
573
69
  description: string;
574
70
  };
575
- listExpansions: {
576
- type: string;
577
- label: string;
578
- optional: boolean;
579
- description: string;
580
- options: string[];
581
- };
582
- tweetExpansions: {
583
- type: string;
584
- label: string;
585
- optional: boolean;
586
- description: string;
587
- options: string[];
588
- };
589
- userExpansions: {
590
- type: string;
591
- label: string;
592
- optional: boolean;
593
- description: string;
594
- options: string[];
595
- };
596
- listFields: {
597
- type: string;
598
- label: string;
599
- description: string;
600
- optional: boolean;
601
- options: string[];
602
- };
603
- mediaFields: {
604
- type: string;
605
- label: string;
606
- description: string;
607
- optional: boolean;
608
- options: string[];
609
- };
610
- placeFields: {
611
- type: string;
612
- label: string;
613
- description: string;
614
- optional: boolean;
615
- options: string[];
616
- };
617
- pollFields: {
618
- type: string;
619
- label: string;
620
- description: string;
621
- optional: boolean;
622
- options: string[];
623
- };
624
- tweetFields: {
625
- type: string;
626
- label: string;
627
- description: string;
628
- optional: boolean;
629
- options: string[];
630
- };
631
- userFields: {
632
- type: string;
633
- label: string;
634
- description: string;
635
- optional: boolean;
636
- options: string[];
637
- };
638
71
  }>;
639
72
  userNameOrId: {
640
73
  propDefinition: (string | import("@pipedream/types").App<{
@@ -648,6 +81,7 @@ declare const _default: import("@pipedream/types").Action<{
648
81
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
649
82
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
650
83
  getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
84
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
651
85
  getAuthenticatedUserId(): Promise<string>;
652
86
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
653
87
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -696,70 +130,73 @@ declare const _default: import("@pipedream/types").Action<{
696
130
  label: string;
697
131
  description: string;
698
132
  };
699
- listExpansions: {
700
- type: string;
701
- label: string;
702
- optional: boolean;
703
- description: string;
704
- options: string[];
705
- };
706
- tweetExpansions: {
707
- type: string;
708
- label: string;
709
- optional: boolean;
710
- description: string;
711
- options: string[];
712
- };
713
- userExpansions: {
714
- type: string;
715
- label: string;
716
- optional: boolean;
717
- description: string;
718
- options: string[];
719
- };
720
- listFields: {
721
- type: string;
722
- label: string;
723
- description: string;
724
- optional: boolean;
725
- options: string[];
726
- };
727
- mediaFields: {
133
+ }>)[];
134
+ };
135
+ maxResults: {
136
+ propDefinition: (string | import("@pipedream/types").App<{
137
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
138
+ _getBaseUrl(): "https://api.twitter.com/2";
139
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
140
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
141
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
142
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
143
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
144
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
145
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
146
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
147
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
148
+ getAuthenticatedUserId(): Promise<string>;
149
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
150
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
151
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
152
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
153
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
154
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
155
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
156
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
157
+ getUserFollowers({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
158
+ getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
159
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
160
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
161
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
162
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
163
+ }, {
164
+ maxResults: {
728
165
  type: string;
729
166
  label: string;
730
167
  description: string;
731
168
  optional: boolean;
732
- options: string[];
733
169
  };
734
- placeFields: {
170
+ listId: {
735
171
  type: string;
736
172
  label: string;
737
173
  description: string;
738
- optional: boolean;
739
- options: string[];
174
+ options(): Promise<{
175
+ label: string;
176
+ value: string;
177
+ }[]>;
740
178
  };
741
- pollFields: {
179
+ userNameOrId: {
742
180
  type: string;
743
181
  label: string;
744
182
  description: string;
745
183
  optional: boolean;
746
- options: string[];
184
+ default: string;
747
185
  };
748
- tweetFields: {
186
+ tweetId: {
749
187
  type: string;
750
188
  label: string;
751
189
  description: string;
752
- optional: boolean;
753
- options: string[];
754
190
  };
755
- userFields: {
191
+ query: {
756
192
  type: string;
757
193
  label: string;
758
194
  description: string;
759
- optional: boolean;
760
- options: string[];
761
195
  };
762
196
  }>)[];
197
+ min: number;
198
+ max: number;
199
+ default: number;
763
200
  };
764
201
  }>;
765
202
  export default _default;