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