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