@pipedream/twitter 0.3.11 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +20 -71
  2. package/dist/actions/add-user-to-list/add-user-to-list.d.ts +380 -0
  3. package/dist/actions/add-user-to-list/add-user-to-list.mjs +42 -0
  4. package/dist/actions/create-tweet/create-tweet.d.ts +163 -0
  5. package/dist/actions/create-tweet/create-tweet.mjs +78 -0
  6. package/dist/actions/delete-tweet/delete-tweet.d.ts +252 -0
  7. package/dist/actions/delete-tweet/delete-tweet.mjs +28 -0
  8. package/dist/actions/follow-user/follow-user.d.ts +255 -0
  9. package/dist/actions/follow-user/follow-user.mjs +37 -0
  10. package/dist/actions/get-tweet/get-tweet.d.ts +1006 -0
  11. package/dist/actions/get-tweet/get-tweet.mjs +35 -0
  12. package/dist/actions/get-user/get-user.d.ts +634 -0
  13. package/dist/actions/get-user/get-user.mjs +37 -0
  14. package/dist/actions/like-tweet/like-tweet.d.ts +252 -0
  15. package/dist/actions/like-tweet/like-tweet.mjs +30 -0
  16. package/dist/actions/list-favorites/list-favorites.d.ts +1138 -0
  17. package/dist/actions/list-favorites/list-favorites.mjs +52 -0
  18. package/dist/actions/list-followers/list-followers.d.ts +765 -0
  19. package/dist/actions/list-followers/list-followers.mjs +52 -0
  20. package/dist/actions/list-lists/list-lists.d.ts +762 -0
  21. package/dist/actions/list-lists/list-lists.mjs +52 -0
  22. package/dist/actions/list-mentions/list-mentions.d.ts +1136 -0
  23. package/dist/actions/list-mentions/list-mentions.mjs +52 -0
  24. package/dist/actions/list-user-tweets/list-user-tweets.d.ts +1138 -0
  25. package/dist/actions/list-user-tweets/list-user-tweets.mjs +52 -0
  26. package/dist/actions/retweet/retweet.d.ts +252 -0
  27. package/dist/actions/retweet/retweet.mjs +31 -0
  28. package/dist/actions/simple-search/simple-search.d.ts +1137 -0
  29. package/dist/actions/simple-search/simple-search.mjs +51 -0
  30. package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +1142 -0
  31. package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +60 -0
  32. package/dist/actions/unfollow-user/unfollow-user.d.ts +255 -0
  33. package/dist/actions/unfollow-user/unfollow-user.mjs +33 -0
  34. package/dist/actions/unlike-tweet/unlike-tweet.d.ts +252 -0
  35. package/dist/actions/unlike-tweet/unlike-tweet.mjs +28 -0
  36. package/dist/app/twitter.app.d.ts +127 -0
  37. package/dist/app/twitter.app.mjs +341 -0
  38. package/dist/common/dataFields.d.ts +6 -0
  39. package/dist/common/dataFields.mjs +80 -0
  40. package/dist/common/expansions.d.ts +3 -0
  41. package/dist/common/expansions.mjs +17 -0
  42. package/dist/common/methods.d.ts +20 -0
  43. package/dist/common/methods.mjs +48 -0
  44. package/dist/common/propGroups.d.ts +1509 -0
  45. package/dist/common/propGroups.mjs +82 -0
  46. package/dist/common/types/fields.d.ts +18 -0
  47. package/dist/common/types/fields.mjs +1 -0
  48. package/dist/common/types/requestParams.d.ts +103 -0
  49. package/dist/common/types/requestParams.mjs +1 -0
  50. package/dist/common/types/responseSchemas.d.ts +42 -0
  51. package/dist/common/types/responseSchemas.mjs +1 -0
  52. package/dist/sources/common/base.d.ts +149 -0
  53. package/dist/sources/common/base.mjs +62 -0
  54. package/dist/sources/common/cacheUserId.d.ts +7 -0
  55. package/dist/sources/common/cacheUserId.mjs +18 -0
  56. package/dist/sources/common/getItemSummary.d.ts +4 -0
  57. package/dist/sources/common/getItemSummary.mjs +12 -0
  58. package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +650 -0
  59. package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +49 -0
  60. package/dist/sources/new-list-followed/new-list-followed.d.ts +649 -0
  61. package/dist/sources/new-list-followed/new-list-followed.mjs +50 -0
  62. package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +1021 -0
  63. package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +46 -0
  64. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +1023 -0
  65. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +49 -0
  66. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +1023 -0
  67. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +49 -0
  68. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +1021 -0
  69. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +51 -0
  70. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +273 -0
  71. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +75 -0
  72. package/dist/sources/new-user-followed/new-user-followed.d.ts +649 -0
  73. package/dist/sources/new-user-followed/new-user-followed.mjs +50 -0
  74. package/dist/tsconfig.tsbuildinfo +1 -0
  75. package/package.json +10 -14
  76. package/actions/add-user-to-list/add-user-to-list.mjs +0 -62
  77. package/actions/advanced-search/advanced-search.mjs +0 -113
  78. package/actions/common.mjs +0 -29
  79. package/actions/create-tweet/create-tweet.mjs +0 -146
  80. package/actions/delete-tweet/delete-tweet.mjs +0 -42
  81. package/actions/follow-user/follow-user.mjs +0 -48
  82. package/actions/get-tweet/get-tweet.mjs +0 -42
  83. package/actions/get-user/get-user.mjs +0 -50
  84. package/actions/like-tweet/like-tweet.mjs +0 -42
  85. package/actions/list-favorites/list-favorites.mjs +0 -63
  86. package/actions/list-followers/list-followers.mjs +0 -67
  87. package/actions/list-lists/list-lists.mjs +0 -69
  88. package/actions/list-mentions/list-mentions.mjs +0 -55
  89. package/actions/list-pending-followers/list-pending-followers.mjs +0 -32
  90. package/actions/list-retweets/list-retweets.mjs +0 -54
  91. package/actions/list-user-tweets/list-user-tweets.mjs +0 -80
  92. package/actions/retweet/retweet.mjs +0 -27
  93. package/actions/simple-search/simple-search.mjs +0 -62
  94. package/actions/simple-search-in-list/simple-search-in-list.mjs +0 -48
  95. package/actions/unfollow-user/unfollow-user.mjs +0 -48
  96. package/actions/unlike-tweet/unlike-tweet.mjs +0 -40
  97. package/actions/upload-media/upload-media.mjs +0 -122
  98. package/old.md +0 -169
  99. package/sources/common/followed.mjs +0 -38
  100. package/sources/common/followers.mjs +0 -159
  101. package/sources/common/tweets.mjs +0 -155
  102. package/sources/language-codes.mjs +0 -742
  103. package/sources/my-liked-tweets/my-liked-tweets.mjs +0 -30
  104. package/sources/my-tweets/my-tweets.mjs +0 -48
  105. package/sources/new-follower-of-me/new-follower-of-me.mjs +0 -69
  106. package/sources/new-follower-of-user/new-follower-of-user.mjs +0 -25
  107. package/sources/new-list-followed/new-list-followed.mjs +0 -24
  108. package/sources/new-trends-by-geo/new-trends-by-geo.mjs +0 -40
  109. package/sources/new-tweet-in-list/new-tweet-in-list.mjs +0 -49
  110. package/sources/new-unfollower-of-me/new-unfollower-of-me.mjs +0 -16
  111. package/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +0 -25
  112. package/sources/new-user-followed/new-user-followed.mjs +0 -25
  113. package/sources/search-mentions/search-mentions.mjs +0 -144
  114. package/sources/tweets-liked-by-user/tweets-liked-by-user.mjs +0 -38
  115. package/sources/user-tweets/user-tweets.mjs +0 -49
  116. package/sources/watch-retweets-of-me/watch-retweets-of-me.mjs +0 -36
  117. package/sources/watch-retweets-of-my-tweet/watch-retweets-of-my-tweet.mjs +0 -44
  118. package/sources/watch-retweets-of-user-tweet/watch-retweets-of-user-tweet.mjs +0 -34
  119. package/twitter.app.mjs +0 -1161
@@ -0,0 +1,762 @@
1
+ import { getMultiItemSummary, getUserId, getListFields } from "../../common/methods.js";
2
+ import { GetUserOwnedListsParams } from "../../common/types/requestParams.js";
3
+ import { List, PaginatedResponseObject } from "../../common/types/responseSchemas.js";
4
+ declare const _default: import("@pipedream/types").Action<{
5
+ getMultiItemSummary: typeof getMultiItemSummary;
6
+ getUserId: typeof getUserId;
7
+ getListFields: typeof getListFields;
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<import("../../common/types/responseSchemas").Tweet>>;
20
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
21
+ getAuthenticatedUserId(): Promise<string>;
22
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
23
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
24
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
25
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
26
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").Tweet>>;
148
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
149
+ getAuthenticatedUserId(): Promise<string>;
150
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
151
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
152
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
153
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
154
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").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
+ listFields: {
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<import("../../common/types/responseSchemas").Tweet>>;
273
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
274
+ getAuthenticatedUserId(): Promise<string>;
275
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
276
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
277
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
278
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
279
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").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
+ userFields: {
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<import("../../common/types/responseSchemas").Tweet>>;
398
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
399
+ getAuthenticatedUserId(): Promise<string>;
400
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
401
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
402
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
403
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
404
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").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
+ description: string;
512
+ };
513
+ app: 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<import("../../common/types/responseSchemas").Tweet>>;
523
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
524
+ getAuthenticatedUserId(): Promise<string>;
525
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
526
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
527
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
528
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
529
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").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<import("../../common/types/responseSchemas").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
+ userNameOrId: {
637
+ propDefinition: (string | import("@pipedream/types").App<{
638
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
639
+ _getBaseUrl(): "https://api.twitter.com/2";
640
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
641
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
642
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
643
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
644
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
645
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
646
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
647
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
648
+ getAuthenticatedUserId(): Promise<string>;
649
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
650
+ getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
651
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
652
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
653
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
654
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
655
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
656
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
657
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
658
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
659
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
660
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
661
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
662
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
663
+ }, {
664
+ maxResults: {
665
+ type: string;
666
+ label: string;
667
+ description: string;
668
+ optional: boolean;
669
+ };
670
+ listId: {
671
+ type: string;
672
+ label: string;
673
+ description: string;
674
+ options(): Promise<{
675
+ label: string;
676
+ value: string;
677
+ }[]>;
678
+ };
679
+ userNameOrId: {
680
+ type: string;
681
+ label: string;
682
+ description: string;
683
+ optional: boolean;
684
+ default: string;
685
+ };
686
+ tweetId: {
687
+ type: string;
688
+ label: string;
689
+ description: string;
690
+ };
691
+ query: {
692
+ type: string;
693
+ label: string;
694
+ description: string;
695
+ };
696
+ listExpansions: {
697
+ type: string;
698
+ label: string;
699
+ optional: boolean;
700
+ description: string;
701
+ options: string[];
702
+ };
703
+ tweetExpansions: {
704
+ type: string;
705
+ label: string;
706
+ optional: boolean;
707
+ description: string;
708
+ options: string[];
709
+ };
710
+ userExpansions: {
711
+ type: string;
712
+ label: string;
713
+ optional: boolean;
714
+ description: string;
715
+ options: string[];
716
+ };
717
+ listFields: {
718
+ type: string;
719
+ label: string;
720
+ description: string;
721
+ optional: boolean;
722
+ options: string[];
723
+ };
724
+ mediaFields: {
725
+ type: string;
726
+ label: string;
727
+ description: string;
728
+ optional: boolean;
729
+ options: string[];
730
+ };
731
+ placeFields: {
732
+ type: string;
733
+ label: string;
734
+ description: string;
735
+ optional: boolean;
736
+ options: string[];
737
+ };
738
+ pollFields: {
739
+ type: string;
740
+ label: string;
741
+ description: string;
742
+ optional: boolean;
743
+ options: string[];
744
+ };
745
+ tweetFields: {
746
+ type: string;
747
+ label: string;
748
+ description: string;
749
+ optional: boolean;
750
+ options: string[];
751
+ };
752
+ userFields: {
753
+ type: string;
754
+ label: string;
755
+ description: string;
756
+ optional: boolean;
757
+ options: string[];
758
+ };
759
+ }>)[];
760
+ };
761
+ }>;
762
+ export default _default;