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