@pipedream/twitter 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +1 -3
  2. package/dist/actions/add-user-to-list/add-user-to-list.d.ts +3 -189
  3. package/dist/actions/add-user-to-list/add-user-to-list.mjs +4 -2
  4. package/dist/actions/create-tweet/create-tweet.d.ts +1 -63
  5. package/dist/actions/create-tweet/create-tweet.mjs +2 -2
  6. package/dist/actions/delete-tweet/delete-tweet.d.ts +2 -126
  7. package/dist/actions/delete-tweet/delete-tweet.mjs +4 -3
  8. package/dist/actions/follow-user/follow-user.d.ts +2 -126
  9. package/dist/actions/follow-user/follow-user.mjs +2 -2
  10. package/dist/actions/get-tweet/get-tweet.d.ts +2 -876
  11. package/dist/actions/get-tweet/get-tweet.mjs +4 -5
  12. package/dist/actions/get-user/get-user.d.ts +2 -503
  13. package/dist/actions/get-user/get-user.mjs +10 -7
  14. package/dist/actions/like-tweet/like-tweet.d.ts +2 -126
  15. package/dist/actions/like-tweet/like-tweet.mjs +4 -3
  16. package/dist/actions/list-favorites/list-favorites.d.ts +46 -982
  17. package/dist/actions/list-favorites/list-favorites.mjs +1 -3
  18. package/dist/actions/list-followers/list-followers.d.ts +46 -609
  19. package/dist/actions/list-followers/list-followers.mjs +1 -3
  20. package/dist/actions/list-lists/list-lists.d.ts +46 -608
  21. package/dist/actions/list-lists/list-lists.mjs +1 -3
  22. package/dist/actions/list-mentions/list-mentions.d.ts +46 -982
  23. package/dist/actions/list-mentions/list-mentions.mjs +1 -3
  24. package/dist/actions/list-user-tweets/list-user-tweets.d.ts +46 -982
  25. package/dist/actions/list-user-tweets/list-user-tweets.mjs +1 -3
  26. package/dist/actions/retweet/retweet.d.ts +2 -126
  27. package/dist/actions/retweet/retweet.mjs +6 -3
  28. package/dist/actions/simple-search/simple-search.d.ts +46 -982
  29. package/dist/actions/simple-search/simple-search.mjs +2 -3
  30. package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +51 -987
  31. package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +1 -3
  32. package/dist/actions/unfollow-user/unfollow-user.d.ts +2 -126
  33. package/dist/actions/unfollow-user/unfollow-user.mjs +1 -1
  34. package/dist/actions/unlike-tweet/unlike-tweet.d.ts +2 -126
  35. package/dist/actions/unlike-tweet/unlike-tweet.mjs +4 -3
  36. package/dist/app/twitter.app.d.ts +2 -64
  37. package/dist/app/twitter.app.mjs +19 -69
  38. package/dist/common/additionalProps.d.ts +0 -0
  39. package/dist/common/additionalProps.mjs +138 -0
  40. package/dist/common/methods.mjs +36 -15
  41. package/dist/common/types/requestParams.d.ts +3 -1
  42. package/dist/sources/common/base.d.ts +2 -64
  43. package/dist/sources/common/base.mjs +5 -7
  44. package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +4 -505
  45. package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +4 -8
  46. package/dist/sources/new-list-followed/new-list-followed.d.ts +4 -504
  47. package/dist/sources/new-list-followed/new-list-followed.mjs +4 -8
  48. package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +4 -878
  49. package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +4 -8
  50. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +4 -878
  51. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +4 -8
  52. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +4 -878
  53. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +4 -8
  54. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +4 -878
  55. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +4 -11
  56. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +2 -126
  57. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +1 -1
  58. package/dist/sources/new-user-followed/new-user-followed.d.ts +4 -505
  59. package/dist/sources/new-user-followed/new-user-followed.mjs +4 -8
  60. package/dist/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +1 -1
  62. package/dist/common/propGroups.d.ts +0 -1509
  63. package/dist/common/propGroups.mjs +0 -82
@@ -6,762 +6,12 @@ declare const _default: import("@pipedream/types").Source<{
6
6
  getTweetFields: typeof getTweetFields;
7
7
  getEntityName(): "Tweet";
8
8
  getItemSummary: typeof getItemSummary;
9
- getResources(customize: boolean): Promise<Tweet[]>;
9
+ getResources(maxResults?: number): Promise<Tweet[]>;
10
10
  getSavedIds(): string[];
11
11
  setSavedIds(data: string[]): void;
12
- getAndProcessData(emit?: boolean): Promise<void>;
12
+ getAndProcessData(maxResults?: number): Promise<void>;
13
13
  emitEvent(data: import("../../common/types/responseSchemas.js").TwitterEntity): void;
14
14
  }, {
15
- expansions: {
16
- propDefinition: (string | import("@pipedream/types").App<{
17
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
18
- _getBaseUrl(): "https://api.twitter.com/2";
19
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
20
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
21
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
22
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
23
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
24
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
25
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
26
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
27
- getAuthenticatedUserId(): Promise<string>;
28
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
29
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
30
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
31
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
32
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
33
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
34
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
35
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
36
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
37
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
38
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
39
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
40
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
41
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
42
- }, {
43
- maxResults: {
44
- type: string;
45
- label: string;
46
- description: string;
47
- optional: boolean;
48
- };
49
- listId: {
50
- type: string;
51
- label: string;
52
- description: string;
53
- options(): Promise<{
54
- label: string;
55
- value: string;
56
- }[]>;
57
- };
58
- userNameOrId: {
59
- type: string;
60
- label: string;
61
- description: string;
62
- optional: boolean;
63
- default: string;
64
- };
65
- tweetId: {
66
- type: string;
67
- label: string;
68
- description: string;
69
- };
70
- query: {
71
- type: string;
72
- label: string;
73
- description: string;
74
- };
75
- listExpansions: {
76
- type: string;
77
- label: string;
78
- optional: boolean;
79
- description: string;
80
- options: string[];
81
- };
82
- tweetExpansions: {
83
- type: string;
84
- label: string;
85
- optional: boolean;
86
- description: string;
87
- options: string[];
88
- };
89
- userExpansions: {
90
- type: string;
91
- label: string;
92
- optional: boolean;
93
- description: string;
94
- options: string[];
95
- };
96
- listFields: {
97
- type: string;
98
- label: string;
99
- description: string;
100
- optional: boolean;
101
- options: string[];
102
- };
103
- mediaFields: {
104
- type: string;
105
- label: string;
106
- description: string;
107
- optional: boolean;
108
- options: string[];
109
- };
110
- placeFields: {
111
- type: string;
112
- label: string;
113
- description: string;
114
- optional: boolean;
115
- options: string[];
116
- };
117
- pollFields: {
118
- type: string;
119
- label: string;
120
- description: string;
121
- optional: boolean;
122
- options: string[];
123
- };
124
- tweetFields: {
125
- type: string;
126
- label: string;
127
- description: string;
128
- optional: boolean;
129
- options: string[];
130
- };
131
- userFields: {
132
- type: string;
133
- label: string;
134
- description: string;
135
- optional: boolean;
136
- options: string[];
137
- };
138
- }>)[];
139
- };
140
- mediaFields: {
141
- propDefinition: (string | import("@pipedream/types").App<{
142
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
143
- _getBaseUrl(): "https://api.twitter.com/2";
144
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
145
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
146
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
147
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
148
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
149
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
150
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
151
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
152
- getAuthenticatedUserId(): Promise<string>;
153
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
154
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
155
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
156
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
157
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
158
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
159
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
160
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
161
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
162
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
163
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
164
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
165
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
166
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
167
- }, {
168
- maxResults: {
169
- type: string;
170
- label: string;
171
- description: string;
172
- optional: boolean;
173
- };
174
- listId: {
175
- type: string;
176
- label: string;
177
- description: string;
178
- options(): Promise<{
179
- label: string;
180
- value: string;
181
- }[]>;
182
- };
183
- userNameOrId: {
184
- type: string;
185
- label: string;
186
- description: string;
187
- optional: boolean;
188
- default: string;
189
- };
190
- tweetId: {
191
- type: string;
192
- label: string;
193
- description: string;
194
- };
195
- query: {
196
- type: string;
197
- label: string;
198
- description: string;
199
- };
200
- listExpansions: {
201
- type: string;
202
- label: string;
203
- optional: boolean;
204
- description: string;
205
- options: string[];
206
- };
207
- tweetExpansions: {
208
- type: string;
209
- label: string;
210
- optional: boolean;
211
- description: string;
212
- options: string[];
213
- };
214
- userExpansions: {
215
- type: string;
216
- label: string;
217
- optional: boolean;
218
- description: string;
219
- options: string[];
220
- };
221
- listFields: {
222
- type: string;
223
- label: string;
224
- description: string;
225
- optional: boolean;
226
- options: string[];
227
- };
228
- mediaFields: {
229
- type: string;
230
- label: string;
231
- description: string;
232
- optional: boolean;
233
- options: string[];
234
- };
235
- placeFields: {
236
- type: string;
237
- label: string;
238
- description: string;
239
- optional: boolean;
240
- options: string[];
241
- };
242
- pollFields: {
243
- type: string;
244
- label: string;
245
- description: string;
246
- optional: boolean;
247
- options: string[];
248
- };
249
- tweetFields: {
250
- type: string;
251
- label: string;
252
- description: string;
253
- optional: boolean;
254
- options: string[];
255
- };
256
- userFields: {
257
- type: string;
258
- label: string;
259
- description: string;
260
- optional: boolean;
261
- options: string[];
262
- };
263
- }>)[];
264
- };
265
- placeFields: {
266
- propDefinition: (string | import("@pipedream/types").App<{
267
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
268
- _getBaseUrl(): "https://api.twitter.com/2";
269
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
270
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
271
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
272
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
273
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
274
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
275
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
276
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
277
- getAuthenticatedUserId(): Promise<string>;
278
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
279
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
280
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
281
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
282
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
283
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
284
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
285
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
286
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
287
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
288
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
289
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
290
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
291
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
292
- }, {
293
- maxResults: {
294
- type: string;
295
- label: string;
296
- description: string;
297
- optional: boolean;
298
- };
299
- listId: {
300
- type: string;
301
- label: string;
302
- description: string;
303
- options(): Promise<{
304
- label: string;
305
- value: string;
306
- }[]>;
307
- };
308
- userNameOrId: {
309
- type: string;
310
- label: string;
311
- description: string;
312
- optional: boolean;
313
- default: string;
314
- };
315
- tweetId: {
316
- type: string;
317
- label: string;
318
- description: string;
319
- };
320
- query: {
321
- type: string;
322
- label: string;
323
- description: string;
324
- };
325
- listExpansions: {
326
- type: string;
327
- label: string;
328
- optional: boolean;
329
- description: string;
330
- options: string[];
331
- };
332
- tweetExpansions: {
333
- type: string;
334
- label: string;
335
- optional: boolean;
336
- description: string;
337
- options: string[];
338
- };
339
- userExpansions: {
340
- type: string;
341
- label: string;
342
- optional: boolean;
343
- description: string;
344
- options: string[];
345
- };
346
- listFields: {
347
- type: string;
348
- label: string;
349
- description: string;
350
- optional: boolean;
351
- options: string[];
352
- };
353
- mediaFields: {
354
- type: string;
355
- label: string;
356
- description: string;
357
- optional: boolean;
358
- options: string[];
359
- };
360
- placeFields: {
361
- type: string;
362
- label: string;
363
- description: string;
364
- optional: boolean;
365
- options: string[];
366
- };
367
- pollFields: {
368
- type: string;
369
- label: string;
370
- description: string;
371
- optional: boolean;
372
- options: string[];
373
- };
374
- tweetFields: {
375
- type: string;
376
- label: string;
377
- description: string;
378
- optional: boolean;
379
- options: string[];
380
- };
381
- userFields: {
382
- type: string;
383
- label: string;
384
- description: string;
385
- optional: boolean;
386
- options: string[];
387
- };
388
- }>)[];
389
- };
390
- pollFields: {
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<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
401
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
402
- getAuthenticatedUserId(): Promise<string>;
403
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
404
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
405
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
406
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
407
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
408
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
409
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
410
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
411
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
412
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
413
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
414
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<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
- };
515
- tweetFields: {
516
- propDefinition: (string | import("@pipedream/types").App<{
517
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
518
- _getBaseUrl(): "https://api.twitter.com/2";
519
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
520
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
521
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
522
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
523
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
524
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
525
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
526
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
527
- getAuthenticatedUserId(): Promise<string>;
528
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
529
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
530
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
531
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
532
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
533
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
534
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
535
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
536
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
537
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
538
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
539
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
540
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
541
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
542
- }, {
543
- maxResults: {
544
- type: string;
545
- label: string;
546
- description: string;
547
- optional: boolean;
548
- };
549
- listId: {
550
- type: string;
551
- label: string;
552
- description: string;
553
- options(): Promise<{
554
- label: string;
555
- value: string;
556
- }[]>;
557
- };
558
- userNameOrId: {
559
- type: string;
560
- label: string;
561
- description: string;
562
- optional: boolean;
563
- default: string;
564
- };
565
- tweetId: {
566
- type: string;
567
- label: string;
568
- description: string;
569
- };
570
- query: {
571
- type: string;
572
- label: string;
573
- description: string;
574
- };
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
- }>)[];
639
- };
640
- userFields: {
641
- propDefinition: (string | import("@pipedream/types").App<{
642
- _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
643
- _getBaseUrl(): "https://api.twitter.com/2";
644
- _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
645
- _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
646
- addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
647
- createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
648
- deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
649
- followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
650
- getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
651
- getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
652
- getAuthenticatedUserId(): Promise<string>;
653
- getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
654
- getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
655
- getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
656
- getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
657
- getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
658
- getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
659
- getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
660
- likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
661
- getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
662
- getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
663
- retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
664
- searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
665
- unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
666
- unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
667
- }, {
668
- maxResults: {
669
- type: string;
670
- label: string;
671
- description: string;
672
- optional: boolean;
673
- };
674
- listId: {
675
- type: string;
676
- label: string;
677
- description: string;
678
- options(): Promise<{
679
- label: string;
680
- value: string;
681
- }[]>;
682
- };
683
- userNameOrId: {
684
- type: string;
685
- label: string;
686
- description: string;
687
- optional: boolean;
688
- default: string;
689
- };
690
- tweetId: {
691
- type: string;
692
- label: string;
693
- description: string;
694
- };
695
- query: {
696
- type: string;
697
- label: string;
698
- description: string;
699
- };
700
- listExpansions: {
701
- type: string;
702
- label: string;
703
- optional: boolean;
704
- description: string;
705
- options: string[];
706
- };
707
- tweetExpansions: {
708
- type: string;
709
- label: string;
710
- optional: boolean;
711
- description: string;
712
- options: string[];
713
- };
714
- userExpansions: {
715
- type: string;
716
- label: string;
717
- optional: boolean;
718
- description: string;
719
- options: string[];
720
- };
721
- listFields: {
722
- type: string;
723
- label: string;
724
- description: string;
725
- optional: boolean;
726
- options: string[];
727
- };
728
- mediaFields: {
729
- type: string;
730
- label: string;
731
- description: string;
732
- optional: boolean;
733
- options: string[];
734
- };
735
- placeFields: {
736
- type: string;
737
- label: string;
738
- description: string;
739
- optional: boolean;
740
- options: string[];
741
- };
742
- pollFields: {
743
- type: string;
744
- label: string;
745
- description: string;
746
- optional: boolean;
747
- options: string[];
748
- };
749
- tweetFields: {
750
- type: string;
751
- label: string;
752
- description: string;
753
- optional: boolean;
754
- options: string[];
755
- };
756
- userFields: {
757
- type: string;
758
- label: string;
759
- description: string;
760
- optional: boolean;
761
- options: string[];
762
- };
763
- }>)[];
764
- };
765
15
  query: {
766
16
  propDefinition: (string | import("@pipedream/types").App<{
767
17
  _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
@@ -774,6 +24,7 @@ declare const _default: import("@pipedream/types").Source<{
774
24
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
775
25
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
776
26
  getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
27
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
777
28
  getAuthenticatedUserId(): Promise<string>;
778
29
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
779
30
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -822,69 +73,6 @@ declare const _default: import("@pipedream/types").Source<{
822
73
  label: string;
823
74
  description: string;
824
75
  };
825
- listExpansions: {
826
- type: string;
827
- label: string;
828
- optional: boolean;
829
- description: string;
830
- options: string[];
831
- };
832
- tweetExpansions: {
833
- type: string;
834
- label: string;
835
- optional: boolean;
836
- description: string;
837
- options: string[];
838
- };
839
- userExpansions: {
840
- type: string;
841
- label: string;
842
- optional: boolean;
843
- description: string;
844
- options: string[];
845
- };
846
- listFields: {
847
- type: string;
848
- label: string;
849
- description: string;
850
- optional: boolean;
851
- options: string[];
852
- };
853
- mediaFields: {
854
- type: string;
855
- label: string;
856
- description: string;
857
- optional: boolean;
858
- options: string[];
859
- };
860
- placeFields: {
861
- type: string;
862
- label: string;
863
- description: string;
864
- optional: boolean;
865
- options: string[];
866
- };
867
- pollFields: {
868
- type: string;
869
- label: string;
870
- description: string;
871
- optional: boolean;
872
- options: string[];
873
- };
874
- tweetFields: {
875
- type: string;
876
- label: string;
877
- description: string;
878
- optional: boolean;
879
- options: string[];
880
- };
881
- userFields: {
882
- type: string;
883
- label: string;
884
- description: string;
885
- optional: boolean;
886
- options: string[];
887
- };
888
76
  }>)[];
889
77
  };
890
78
  app: import("@pipedream/types").App<{
@@ -898,6 +86,7 @@ declare const _default: import("@pipedream/types").Source<{
898
86
  followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
899
87
  getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
900
88
  getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
89
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
901
90
  getAuthenticatedUserId(): Promise<string>;
902
91
  getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
903
92
  getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
@@ -946,69 +135,6 @@ declare const _default: import("@pipedream/types").Source<{
946
135
  label: string;
947
136
  description: string;
948
137
  };
949
- listExpansions: {
950
- type: string;
951
- label: string;
952
- optional: boolean;
953
- description: string;
954
- options: string[];
955
- };
956
- tweetExpansions: {
957
- type: string;
958
- label: string;
959
- optional: boolean;
960
- description: string;
961
- options: string[];
962
- };
963
- userExpansions: {
964
- type: string;
965
- label: string;
966
- optional: boolean;
967
- description: string;
968
- options: string[];
969
- };
970
- listFields: {
971
- type: string;
972
- label: string;
973
- description: string;
974
- optional: boolean;
975
- options: string[];
976
- };
977
- mediaFields: {
978
- type: string;
979
- label: string;
980
- description: string;
981
- optional: boolean;
982
- options: string[];
983
- };
984
- placeFields: {
985
- type: string;
986
- label: string;
987
- description: string;
988
- optional: boolean;
989
- options: string[];
990
- };
991
- pollFields: {
992
- type: string;
993
- label: string;
994
- description: string;
995
- optional: boolean;
996
- options: string[];
997
- };
998
- tweetFields: {
999
- type: string;
1000
- label: string;
1001
- description: string;
1002
- optional: boolean;
1003
- options: string[];
1004
- };
1005
- userFields: {
1006
- type: string;
1007
- label: string;
1008
- description: string;
1009
- optional: boolean;
1010
- options: string[];
1011
- };
1012
138
  }>;
1013
139
  db: string;
1014
140
  timer: {