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