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