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