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