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