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