@pipedream/twitter 0.3.10 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +20 -71
  2. package/dist/actions/add-user-to-list/add-user-to-list.d.ts +380 -0
  3. package/dist/actions/add-user-to-list/add-user-to-list.mjs +42 -0
  4. package/dist/actions/create-tweet/create-tweet.d.ts +163 -0
  5. package/dist/actions/create-tweet/create-tweet.mjs +78 -0
  6. package/dist/actions/delete-tweet/delete-tweet.d.ts +252 -0
  7. package/dist/actions/delete-tweet/delete-tweet.mjs +28 -0
  8. package/dist/actions/follow-user/follow-user.d.ts +255 -0
  9. package/dist/actions/follow-user/follow-user.mjs +37 -0
  10. package/dist/actions/get-tweet/get-tweet.d.ts +1006 -0
  11. package/dist/actions/get-tweet/get-tweet.mjs +35 -0
  12. package/dist/actions/get-user/get-user.d.ts +634 -0
  13. package/dist/actions/get-user/get-user.mjs +37 -0
  14. package/dist/actions/like-tweet/like-tweet.d.ts +252 -0
  15. package/dist/actions/like-tweet/like-tweet.mjs +30 -0
  16. package/dist/actions/list-favorites/list-favorites.d.ts +1138 -0
  17. package/dist/actions/list-favorites/list-favorites.mjs +52 -0
  18. package/dist/actions/list-followers/list-followers.d.ts +765 -0
  19. package/dist/actions/list-followers/list-followers.mjs +52 -0
  20. package/dist/actions/list-lists/list-lists.d.ts +762 -0
  21. package/dist/actions/list-lists/list-lists.mjs +52 -0
  22. package/dist/actions/list-mentions/list-mentions.d.ts +1136 -0
  23. package/dist/actions/list-mentions/list-mentions.mjs +52 -0
  24. package/dist/actions/list-user-tweets/list-user-tweets.d.ts +1138 -0
  25. package/dist/actions/list-user-tweets/list-user-tweets.mjs +52 -0
  26. package/dist/actions/retweet/retweet.d.ts +252 -0
  27. package/dist/actions/retweet/retweet.mjs +31 -0
  28. package/dist/actions/simple-search/simple-search.d.ts +1137 -0
  29. package/dist/actions/simple-search/simple-search.mjs +51 -0
  30. package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +1142 -0
  31. package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +60 -0
  32. package/dist/actions/unfollow-user/unfollow-user.d.ts +255 -0
  33. package/dist/actions/unfollow-user/unfollow-user.mjs +33 -0
  34. package/dist/actions/unlike-tweet/unlike-tweet.d.ts +252 -0
  35. package/dist/actions/unlike-tweet/unlike-tweet.mjs +28 -0
  36. package/dist/app/twitter.app.d.ts +127 -0
  37. package/dist/app/twitter.app.mjs +341 -0
  38. package/dist/common/dataFields.d.ts +6 -0
  39. package/dist/common/dataFields.mjs +80 -0
  40. package/dist/common/expansions.d.ts +3 -0
  41. package/dist/common/expansions.mjs +17 -0
  42. package/dist/common/methods.d.ts +20 -0
  43. package/dist/common/methods.mjs +48 -0
  44. package/dist/common/propGroups.d.ts +1509 -0
  45. package/dist/common/propGroups.mjs +82 -0
  46. package/dist/common/types/fields.d.ts +18 -0
  47. package/dist/common/types/fields.mjs +1 -0
  48. package/dist/common/types/requestParams.d.ts +103 -0
  49. package/dist/common/types/requestParams.mjs +1 -0
  50. package/dist/common/types/responseSchemas.d.ts +42 -0
  51. package/dist/common/types/responseSchemas.mjs +1 -0
  52. package/dist/sources/common/base.d.ts +149 -0
  53. package/dist/sources/common/base.mjs +62 -0
  54. package/dist/sources/common/cacheUserId.d.ts +7 -0
  55. package/dist/sources/common/cacheUserId.mjs +18 -0
  56. package/dist/sources/common/getItemSummary.d.ts +4 -0
  57. package/dist/sources/common/getItemSummary.mjs +12 -0
  58. package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +650 -0
  59. package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +49 -0
  60. package/dist/sources/new-list-followed/new-list-followed.d.ts +649 -0
  61. package/dist/sources/new-list-followed/new-list-followed.mjs +50 -0
  62. package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +1021 -0
  63. package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +46 -0
  64. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +1023 -0
  65. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +49 -0
  66. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +1023 -0
  67. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +49 -0
  68. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +1021 -0
  69. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +51 -0
  70. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +273 -0
  71. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +75 -0
  72. package/dist/sources/new-user-followed/new-user-followed.d.ts +649 -0
  73. package/dist/sources/new-user-followed/new-user-followed.mjs +50 -0
  74. package/dist/tsconfig.tsbuildinfo +1 -0
  75. package/package.json +10 -13
  76. package/actions/add-user-to-list/add-user-to-list.mjs +0 -62
  77. package/actions/advanced-search/advanced-search.mjs +0 -113
  78. package/actions/common.mjs +0 -29
  79. package/actions/create-tweet/create-tweet.mjs +0 -146
  80. package/actions/delete-tweet/delete-tweet.mjs +0 -42
  81. package/actions/follow-user/follow-user.mjs +0 -48
  82. package/actions/get-tweet/get-tweet.mjs +0 -42
  83. package/actions/get-user/get-user.mjs +0 -50
  84. package/actions/like-tweet/like-tweet.mjs +0 -42
  85. package/actions/list-favorites/list-favorites.mjs +0 -63
  86. package/actions/list-followers/list-followers.mjs +0 -67
  87. package/actions/list-lists/list-lists.mjs +0 -69
  88. package/actions/list-mentions/list-mentions.mjs +0 -55
  89. package/actions/list-pending-followers/list-pending-followers.mjs +0 -32
  90. package/actions/list-retweets/list-retweets.mjs +0 -54
  91. package/actions/list-user-tweets/list-user-tweets.mjs +0 -80
  92. package/actions/retweet/retweet.mjs +0 -27
  93. package/actions/simple-search/simple-search.mjs +0 -62
  94. package/actions/simple-search-in-list/simple-search-in-list.mjs +0 -48
  95. package/actions/unfollow-user/unfollow-user.mjs +0 -48
  96. package/actions/unlike-tweet/unlike-tweet.mjs +0 -40
  97. package/actions/upload-media/upload-media.mjs +0 -114
  98. package/old.md +0 -169
  99. package/sources/common/followed.mjs +0 -38
  100. package/sources/common/followers.mjs +0 -159
  101. package/sources/common/tweets.mjs +0 -155
  102. package/sources/language-codes.mjs +0 -742
  103. package/sources/my-liked-tweets/my-liked-tweets.mjs +0 -30
  104. package/sources/my-tweets/my-tweets.mjs +0 -48
  105. package/sources/new-follower-of-me/new-follower-of-me.mjs +0 -69
  106. package/sources/new-follower-of-user/new-follower-of-user.mjs +0 -25
  107. package/sources/new-list-followed/new-list-followed.mjs +0 -24
  108. package/sources/new-trends-by-geo/new-trends-by-geo.mjs +0 -40
  109. package/sources/new-tweet-in-list/new-tweet-in-list.mjs +0 -49
  110. package/sources/new-unfollower-of-me/new-unfollower-of-me.mjs +0 -16
  111. package/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +0 -25
  112. package/sources/new-user-followed/new-user-followed.mjs +0 -25
  113. package/sources/search-mentions/search-mentions.mjs +0 -144
  114. package/sources/tweets-liked-by-user/tweets-liked-by-user.mjs +0 -38
  115. package/sources/user-tweets/user-tweets.mjs +0 -49
  116. package/sources/watch-retweets-of-me/watch-retweets-of-me.mjs +0 -36
  117. package/sources/watch-retweets-of-my-tweet/watch-retweets-of-my-tweet.mjs +0 -44
  118. package/sources/watch-retweets-of-user-tweet/watch-retweets-of-user-tweet.mjs +0 -34
  119. package/twitter.app.mjs +0 -1161
@@ -0,0 +1,649 @@
1
+ import { getUserSummary as getItemSummary } from "../common/getItemSummary.js";
2
+ import { getUserFields } from "../../common/methods.js";
3
+ import { User } from "../../common/types/responseSchemas.js";
4
+ declare const _default: import("@pipedream/types").Source<{
5
+ getUserFields: typeof getUserFields;
6
+ getEntityName(): "User Followed";
7
+ getItemSummary: typeof getItemSummary;
8
+ getResources(customize: boolean): Promise<User[]>;
9
+ getCachedUserId: () => Promise<string>;
10
+ getUserId: typeof import("../../common/methods.js").getUserId;
11
+ getSavedIds(): string[];
12
+ setSavedIds(data: string[]): void;
13
+ getAndProcessData(emit?: boolean): Promise<void>;
14
+ emitEvent(data: import("../../common/types/responseSchemas.js").TwitterEntity): void;
15
+ }, {
16
+ expansions: {
17
+ propDefinition: (string | import("@pipedream/types").App<{
18
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
19
+ _getBaseUrl(): "https://api.twitter.com/2";
20
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
21
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
22
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
23
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
24
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
25
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
26
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
27
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
28
+ getAuthenticatedUserId(): Promise<string>;
29
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
30
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
31
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
32
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
33
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
34
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
35
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
36
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
37
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
38
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
39
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
40
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
41
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
42
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
43
+ }, {
44
+ maxResults: {
45
+ type: string;
46
+ label: string;
47
+ description: string;
48
+ optional: boolean;
49
+ };
50
+ listId: {
51
+ type: string;
52
+ label: string;
53
+ description: string;
54
+ options(): Promise<{
55
+ label: string;
56
+ value: string;
57
+ }[]>;
58
+ };
59
+ userNameOrId: {
60
+ type: string;
61
+ label: string;
62
+ description: string;
63
+ optional: boolean;
64
+ default: string;
65
+ };
66
+ tweetId: {
67
+ type: string;
68
+ label: string;
69
+ description: string;
70
+ };
71
+ query: {
72
+ type: string;
73
+ label: string;
74
+ description: string;
75
+ };
76
+ listExpansions: {
77
+ type: string;
78
+ label: string;
79
+ optional: boolean;
80
+ description: string;
81
+ options: string[];
82
+ };
83
+ tweetExpansions: {
84
+ type: string;
85
+ label: string;
86
+ optional: boolean;
87
+ description: string;
88
+ options: string[];
89
+ };
90
+ userExpansions: {
91
+ type: string;
92
+ label: string;
93
+ optional: boolean;
94
+ description: string;
95
+ options: string[];
96
+ };
97
+ listFields: {
98
+ type: string;
99
+ label: string;
100
+ description: string;
101
+ optional: boolean;
102
+ options: string[];
103
+ };
104
+ mediaFields: {
105
+ type: string;
106
+ label: string;
107
+ description: string;
108
+ optional: boolean;
109
+ options: string[];
110
+ };
111
+ placeFields: {
112
+ type: string;
113
+ label: string;
114
+ description: string;
115
+ optional: boolean;
116
+ options: string[];
117
+ };
118
+ pollFields: {
119
+ type: string;
120
+ label: string;
121
+ description: string;
122
+ optional: boolean;
123
+ options: string[];
124
+ };
125
+ tweetFields: {
126
+ type: string;
127
+ label: string;
128
+ description: string;
129
+ optional: boolean;
130
+ options: string[];
131
+ };
132
+ userFields: {
133
+ type: string;
134
+ label: string;
135
+ description: string;
136
+ optional: boolean;
137
+ options: string[];
138
+ };
139
+ }>)[];
140
+ };
141
+ tweetFields: {
142
+ propDefinition: (string | import("@pipedream/types").App<{
143
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
144
+ _getBaseUrl(): "https://api.twitter.com/2";
145
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
146
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
147
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
148
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
149
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
150
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
151
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
152
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
153
+ getAuthenticatedUserId(): Promise<string>;
154
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
155
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
156
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
157
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
158
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
159
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
160
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
161
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
162
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
163
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
164
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
165
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
166
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
167
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
168
+ }, {
169
+ maxResults: {
170
+ type: string;
171
+ label: string;
172
+ description: string;
173
+ optional: boolean;
174
+ };
175
+ listId: {
176
+ type: string;
177
+ label: string;
178
+ description: string;
179
+ options(): Promise<{
180
+ label: string;
181
+ value: string;
182
+ }[]>;
183
+ };
184
+ userNameOrId: {
185
+ type: string;
186
+ label: string;
187
+ description: string;
188
+ optional: boolean;
189
+ default: string;
190
+ };
191
+ tweetId: {
192
+ type: string;
193
+ label: string;
194
+ description: string;
195
+ };
196
+ query: {
197
+ type: string;
198
+ label: string;
199
+ description: string;
200
+ };
201
+ listExpansions: {
202
+ type: string;
203
+ label: string;
204
+ optional: boolean;
205
+ description: string;
206
+ options: string[];
207
+ };
208
+ tweetExpansions: {
209
+ type: string;
210
+ label: string;
211
+ optional: boolean;
212
+ description: string;
213
+ options: string[];
214
+ };
215
+ userExpansions: {
216
+ type: string;
217
+ label: string;
218
+ optional: boolean;
219
+ description: string;
220
+ options: string[];
221
+ };
222
+ listFields: {
223
+ type: string;
224
+ label: string;
225
+ description: string;
226
+ optional: boolean;
227
+ options: string[];
228
+ };
229
+ mediaFields: {
230
+ type: string;
231
+ label: string;
232
+ description: string;
233
+ optional: boolean;
234
+ options: string[];
235
+ };
236
+ placeFields: {
237
+ type: string;
238
+ label: string;
239
+ description: string;
240
+ optional: boolean;
241
+ options: string[];
242
+ };
243
+ pollFields: {
244
+ type: string;
245
+ label: string;
246
+ description: string;
247
+ optional: boolean;
248
+ options: string[];
249
+ };
250
+ tweetFields: {
251
+ type: string;
252
+ label: string;
253
+ description: string;
254
+ optional: boolean;
255
+ options: string[];
256
+ };
257
+ userFields: {
258
+ type: string;
259
+ label: string;
260
+ description: string;
261
+ optional: boolean;
262
+ options: string[];
263
+ };
264
+ }>)[];
265
+ description: string;
266
+ };
267
+ userFields: {
268
+ propDefinition: (string | import("@pipedream/types").App<{
269
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
270
+ _getBaseUrl(): "https://api.twitter.com/2";
271
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
272
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
273
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
274
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
275
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
276
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
277
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
278
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
279
+ getAuthenticatedUserId(): Promise<string>;
280
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
281
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
282
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
283
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
284
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
285
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
286
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
287
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
288
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
289
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
290
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
291
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
292
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
293
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
294
+ }, {
295
+ maxResults: {
296
+ type: string;
297
+ label: string;
298
+ description: string;
299
+ optional: boolean;
300
+ };
301
+ listId: {
302
+ type: string;
303
+ label: string;
304
+ description: string;
305
+ options(): Promise<{
306
+ label: string;
307
+ value: string;
308
+ }[]>;
309
+ };
310
+ userNameOrId: {
311
+ type: string;
312
+ label: string;
313
+ description: string;
314
+ optional: boolean;
315
+ default: string;
316
+ };
317
+ tweetId: {
318
+ type: string;
319
+ label: string;
320
+ description: string;
321
+ };
322
+ query: {
323
+ type: string;
324
+ label: string;
325
+ description: string;
326
+ };
327
+ listExpansions: {
328
+ type: string;
329
+ label: string;
330
+ optional: boolean;
331
+ description: string;
332
+ options: string[];
333
+ };
334
+ tweetExpansions: {
335
+ type: string;
336
+ label: string;
337
+ optional: boolean;
338
+ description: string;
339
+ options: string[];
340
+ };
341
+ userExpansions: {
342
+ type: string;
343
+ label: string;
344
+ optional: boolean;
345
+ description: string;
346
+ options: string[];
347
+ };
348
+ listFields: {
349
+ type: string;
350
+ label: string;
351
+ description: string;
352
+ optional: boolean;
353
+ options: string[];
354
+ };
355
+ mediaFields: {
356
+ type: string;
357
+ label: string;
358
+ description: string;
359
+ optional: boolean;
360
+ options: string[];
361
+ };
362
+ placeFields: {
363
+ type: string;
364
+ label: string;
365
+ description: string;
366
+ optional: boolean;
367
+ options: string[];
368
+ };
369
+ pollFields: {
370
+ type: string;
371
+ label: string;
372
+ description: string;
373
+ optional: boolean;
374
+ options: string[];
375
+ };
376
+ tweetFields: {
377
+ type: string;
378
+ label: string;
379
+ description: string;
380
+ optional: boolean;
381
+ options: string[];
382
+ };
383
+ userFields: {
384
+ type: string;
385
+ label: string;
386
+ description: string;
387
+ optional: boolean;
388
+ options: string[];
389
+ };
390
+ }>)[];
391
+ description: string;
392
+ };
393
+ userNameOrId: {
394
+ propDefinition: (string | import("@pipedream/types").App<{
395
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
396
+ _getBaseUrl(): "https://api.twitter.com/2";
397
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
398
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
399
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
400
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
401
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
402
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
403
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
404
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
405
+ getAuthenticatedUserId(): Promise<string>;
406
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
407
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
408
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
409
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
410
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
411
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
412
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
413
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
414
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
415
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
416
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
417
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
418
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
419
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
420
+ }, {
421
+ maxResults: {
422
+ type: string;
423
+ label: string;
424
+ description: string;
425
+ optional: boolean;
426
+ };
427
+ listId: {
428
+ type: string;
429
+ label: string;
430
+ description: string;
431
+ options(): Promise<{
432
+ label: string;
433
+ value: string;
434
+ }[]>;
435
+ };
436
+ userNameOrId: {
437
+ type: string;
438
+ label: string;
439
+ description: string;
440
+ optional: boolean;
441
+ default: string;
442
+ };
443
+ tweetId: {
444
+ type: string;
445
+ label: string;
446
+ description: string;
447
+ };
448
+ query: {
449
+ type: string;
450
+ label: string;
451
+ description: string;
452
+ };
453
+ listExpansions: {
454
+ type: string;
455
+ label: string;
456
+ optional: boolean;
457
+ description: string;
458
+ options: string[];
459
+ };
460
+ tweetExpansions: {
461
+ type: string;
462
+ label: string;
463
+ optional: boolean;
464
+ description: string;
465
+ options: string[];
466
+ };
467
+ userExpansions: {
468
+ type: string;
469
+ label: string;
470
+ optional: boolean;
471
+ description: string;
472
+ options: string[];
473
+ };
474
+ listFields: {
475
+ type: string;
476
+ label: string;
477
+ description: string;
478
+ optional: boolean;
479
+ options: string[];
480
+ };
481
+ mediaFields: {
482
+ type: string;
483
+ label: string;
484
+ description: string;
485
+ optional: boolean;
486
+ options: string[];
487
+ };
488
+ placeFields: {
489
+ type: string;
490
+ label: string;
491
+ description: string;
492
+ optional: boolean;
493
+ options: string[];
494
+ };
495
+ pollFields: {
496
+ type: string;
497
+ label: string;
498
+ description: string;
499
+ optional: boolean;
500
+ options: string[];
501
+ };
502
+ tweetFields: {
503
+ type: string;
504
+ label: string;
505
+ description: string;
506
+ optional: boolean;
507
+ options: string[];
508
+ };
509
+ userFields: {
510
+ type: string;
511
+ label: string;
512
+ description: string;
513
+ optional: boolean;
514
+ options: string[];
515
+ };
516
+ }>)[];
517
+ };
518
+ app: import("@pipedream/types").App<{
519
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
520
+ _getBaseUrl(): "https://api.twitter.com/2";
521
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
522
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
523
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
524
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
525
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
526
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
527
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
528
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
529
+ getAuthenticatedUserId(): Promise<string>;
530
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
531
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
532
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
533
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
534
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
535
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
536
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
537
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
538
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
539
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
540
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
541
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
542
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
543
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
544
+ }, {
545
+ maxResults: {
546
+ type: string;
547
+ label: string;
548
+ description: string;
549
+ optional: boolean;
550
+ };
551
+ listId: {
552
+ type: string;
553
+ label: string;
554
+ description: string;
555
+ options(): Promise<{
556
+ label: string;
557
+ value: string;
558
+ }[]>;
559
+ };
560
+ userNameOrId: {
561
+ type: string;
562
+ label: string;
563
+ description: string;
564
+ optional: boolean;
565
+ default: string;
566
+ };
567
+ tweetId: {
568
+ type: string;
569
+ label: string;
570
+ description: string;
571
+ };
572
+ query: {
573
+ type: string;
574
+ label: string;
575
+ description: string;
576
+ };
577
+ listExpansions: {
578
+ type: string;
579
+ label: string;
580
+ optional: boolean;
581
+ description: string;
582
+ options: string[];
583
+ };
584
+ tweetExpansions: {
585
+ type: string;
586
+ label: string;
587
+ optional: boolean;
588
+ description: string;
589
+ options: string[];
590
+ };
591
+ userExpansions: {
592
+ type: string;
593
+ label: string;
594
+ optional: boolean;
595
+ description: string;
596
+ options: string[];
597
+ };
598
+ listFields: {
599
+ type: string;
600
+ label: string;
601
+ description: string;
602
+ optional: boolean;
603
+ options: string[];
604
+ };
605
+ mediaFields: {
606
+ type: string;
607
+ label: string;
608
+ description: string;
609
+ optional: boolean;
610
+ options: string[];
611
+ };
612
+ placeFields: {
613
+ type: string;
614
+ label: string;
615
+ description: string;
616
+ optional: boolean;
617
+ options: string[];
618
+ };
619
+ pollFields: {
620
+ type: string;
621
+ label: string;
622
+ description: string;
623
+ optional: boolean;
624
+ options: string[];
625
+ };
626
+ tweetFields: {
627
+ type: string;
628
+ label: string;
629
+ description: string;
630
+ optional: boolean;
631
+ options: string[];
632
+ };
633
+ userFields: {
634
+ type: string;
635
+ label: string;
636
+ description: string;
637
+ optional: boolean;
638
+ options: string[];
639
+ };
640
+ }>;
641
+ db: string;
642
+ timer: {
643
+ type: string;
644
+ default: {
645
+ intervalSeconds: number;
646
+ };
647
+ };
648
+ }>;
649
+ export default _default;