@pipedream/twitter 2.0.2 → 2.1.1
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.
- package/dist/actions/add-user-to-list/add-user-to-list.d.ts +12 -6
- package/dist/actions/add-user-to-list/add-user-to-list.mjs +2 -2
- package/dist/actions/create-tweet/create-tweet.d.ts +4 -2
- package/dist/actions/create-tweet/create-tweet.mjs +2 -2
- package/dist/actions/delete-tweet/delete-tweet.d.ts +8 -4
- package/dist/actions/delete-tweet/delete-tweet.mjs +2 -2
- package/dist/actions/follow-user/follow-user.d.ts +8 -4
- package/dist/actions/follow-user/follow-user.mjs +2 -2
- package/dist/actions/get-tweet/get-tweet.d.ts +8 -4
- package/dist/actions/get-tweet/get-tweet.mjs +2 -2
- package/dist/actions/get-user/get-user.d.ts +8 -4
- package/dist/actions/get-user/get-user.mjs +2 -2
- package/dist/actions/like-tweet/like-tweet.d.ts +8 -4
- package/dist/actions/like-tweet/like-tweet.mjs +2 -2
- package/dist/actions/list-favorites/list-favorites.d.ts +12 -6
- package/dist/actions/list-favorites/list-favorites.mjs +2 -2
- package/dist/actions/list-followers/list-followers.d.ts +12 -6
- package/dist/actions/list-followers/list-followers.mjs +2 -2
- package/dist/actions/list-lists/list-lists.d.ts +12 -6
- package/dist/actions/list-lists/list-lists.mjs +2 -2
- package/dist/actions/list-mentions/list-mentions.d.ts +12 -6
- package/dist/actions/list-mentions/list-mentions.mjs +2 -2
- package/dist/actions/list-user-tweets/list-user-tweets.d.ts +12 -6
- package/dist/actions/list-user-tweets/list-user-tweets.mjs +2 -2
- package/dist/actions/retweet/retweet.d.ts +8 -4
- package/dist/actions/retweet/retweet.mjs +2 -2
- package/dist/actions/send-dm/send-dm.d.ts +144 -0
- package/dist/actions/send-dm/send-dm.mjs +50 -0
- package/dist/actions/simple-search/simple-search.d.ts +12 -6
- package/dist/actions/simple-search/simple-search.mjs +2 -2
- package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +12 -6
- package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +2 -2
- package/dist/actions/unfollow-user/unfollow-user.d.ts +8 -4
- package/dist/actions/unfollow-user/unfollow-user.mjs +2 -2
- package/dist/actions/unlike-tweet/unlike-tweet.d.ts +8 -4
- package/dist/actions/unlike-tweet/unlike-tweet.mjs +2 -2
- package/dist/actions/upload-media/upload-media.d.ts +4 -2
- package/dist/actions/upload-media/upload-media.mjs +13 -10
- package/dist/app/twitter.app.d.ts +6 -4
- package/dist/app/twitter.app.mjs +38 -8
- package/dist/common/dataFields.d.ts +2 -0
- package/dist/common/dataFields.mjs +17 -0
- package/dist/common/expansions.d.ts +1 -0
- package/dist/common/expansions.mjs +6 -0
- package/dist/common/methods.d.ts +7 -0
- package/dist/common/methods.mjs +21 -2
- package/dist/common/types/fields.d.ts +7 -0
- package/dist/common/types/requestParams.d.ts +16 -3
- package/dist/common/types/responseSchemas.d.ts +11 -1
- package/dist/sources/common/base.d.ts +4 -2
- package/dist/sources/common/getItemSummary.d.ts +2 -2
- package/dist/sources/common/getItemSummary.mjs +3 -3
- package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +8 -4
- package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +2 -2
- package/dist/sources/new-list-followed/new-list-followed.d.ts +8 -4
- package/dist/sources/new-list-followed/new-list-followed.mjs +2 -2
- package/dist/sources/new-message/new-message.d.ts +87 -0
- package/dist/sources/new-message/new-message.mjs +35 -0
- package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +8 -4
- package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +2 -2
- package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +8 -4
- package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +2 -2
- package/dist/sources/new-tweet-metrics/new-tweet-metrics.d.ts +158 -0
- package/dist/sources/new-tweet-metrics/new-tweet-metrics.mjs +66 -0
- package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +8 -4
- package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +2 -2
- package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +8 -4
- package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +2 -2
- package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +8 -4
- package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +2 -2
- package/dist/sources/new-user-followed/new-user-followed.d.ts +8 -4
- package/dist/sources/new-user-followed/new-user-followed.mjs +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -11,7 +11,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
11
11
|
app: import("@pipedream/types").App<{
|
|
12
12
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
13
13
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
14
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
14
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
15
15
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
16
16
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
17
17
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -21,6 +21,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
21
21
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
22
22
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
23
23
|
getAuthenticatedUserId(): Promise<string>;
|
|
24
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
24
25
|
getUserLikedTweets({ userId, ...args }: GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
25
26
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
26
27
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -33,9 +34,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
33
34
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
34
35
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
35
36
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
37
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
36
38
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
37
39
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
38
|
-
uploadMedia(
|
|
40
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
39
41
|
}, {
|
|
40
42
|
maxResults: {
|
|
41
43
|
type: string;
|
|
@@ -74,7 +76,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
74
76
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
75
77
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
76
78
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
77
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
78
80
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
81
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
80
82
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -84,6 +86,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
84
86
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
85
87
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
86
88
|
getAuthenticatedUserId(): Promise<string>;
|
|
89
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
87
90
|
getUserLikedTweets({ userId, ...args }: GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
88
91
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
89
92
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -96,9 +99,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
96
99
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
97
100
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
98
101
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
102
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
99
103
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
100
104
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
101
|
-
uploadMedia(
|
|
105
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
102
106
|
}, {
|
|
103
107
|
maxResults: {
|
|
104
108
|
type: string;
|
|
@@ -138,7 +142,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
138
142
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
139
143
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
140
144
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
141
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
145
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
142
146
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
143
147
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
144
148
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -148,6 +152,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
148
152
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
149
153
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
150
154
|
getAuthenticatedUserId(): Promise<string>;
|
|
155
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
151
156
|
getUserLikedTweets({ userId, ...args }: GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
152
157
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
153
158
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -160,9 +165,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
160
165
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
161
166
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
162
167
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
168
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
163
169
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
164
170
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
165
|
-
uploadMedia(
|
|
171
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
166
172
|
}, {
|
|
167
173
|
maxResults: {
|
|
168
174
|
type: string;
|
|
@@ -9,8 +9,8 @@ export const MAX_RESULTS_PER_PAGE = 100;
|
|
|
9
9
|
export default defineAction({
|
|
10
10
|
key: "twitter-list-favorites",
|
|
11
11
|
name: "List Liked Tweets",
|
|
12
|
-
description: `Return the most recent tweets liked by you or the specified user. [See
|
|
13
|
-
version: "2.0.
|
|
12
|
+
description: `Return the most recent tweets liked by you or the specified user. [See the documentation](${DOCS_LINK})`,
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
app,
|
|
@@ -11,7 +11,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
11
11
|
app: import("@pipedream/types").App<{
|
|
12
12
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
13
13
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
14
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
14
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
15
15
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
16
16
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
17
17
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -21,6 +21,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
21
21
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
22
22
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
|
|
23
23
|
getAuthenticatedUserId(): Promise<string>;
|
|
24
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
24
25
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
25
26
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
26
27
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -33,9 +34,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
33
34
|
getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
|
|
34
35
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
35
36
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
37
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
36
38
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
37
39
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
38
|
-
uploadMedia(
|
|
40
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
39
41
|
}, {
|
|
40
42
|
maxResults: {
|
|
41
43
|
type: string;
|
|
@@ -74,7 +76,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
74
76
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
75
77
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
76
78
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
77
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
78
80
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
81
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
80
82
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -84,6 +86,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
84
86
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
85
87
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
|
|
86
88
|
getAuthenticatedUserId(): Promise<string>;
|
|
89
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
87
90
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
88
91
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
89
92
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -96,9 +99,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
96
99
|
getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
|
|
97
100
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
98
101
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
102
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
99
103
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
100
104
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
101
|
-
uploadMedia(
|
|
105
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
102
106
|
}, {
|
|
103
107
|
maxResults: {
|
|
104
108
|
type: string;
|
|
@@ -138,7 +142,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
138
142
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
139
143
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
140
144
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
141
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
145
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
142
146
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
143
147
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
144
148
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -148,6 +152,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
148
152
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
149
153
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
|
|
150
154
|
getAuthenticatedUserId(): Promise<string>;
|
|
155
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
151
156
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
152
157
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
153
158
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -160,9 +165,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
160
165
|
getUserFollowing({ userId, ...args }: GetUserFollowersParams): Promise<PaginatedResponseObject<User>>;
|
|
161
166
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
162
167
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
168
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
163
169
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
164
170
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
165
|
-
uploadMedia(
|
|
171
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
166
172
|
}, {
|
|
167
173
|
maxResults: {
|
|
168
174
|
type: string;
|
|
@@ -9,8 +9,8 @@ export const MAX_RESULTS_PER_PAGE = 1000;
|
|
|
9
9
|
export default defineAction({
|
|
10
10
|
key: "twitter-list-followers",
|
|
11
11
|
name: "List Followers",
|
|
12
|
-
description: `Return a collection of user objects for users following the specified user. [See
|
|
13
|
-
version: "2.0.
|
|
12
|
+
description: `Return a collection of user objects for users following the specified user. [See the documentation](${DOCS_LINK})`,
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
app,
|
|
@@ -9,7 +9,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
9
9
|
app: import("@pipedream/types").App<{
|
|
10
10
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
11
11
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
12
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
12
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
13
13
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
14
14
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
15
15
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -19,6 +19,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
19
19
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
20
20
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
21
21
|
getAuthenticatedUserId(): Promise<string>;
|
|
22
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
22
23
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
23
24
|
getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
24
25
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
@@ -31,9 +32,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
31
32
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
32
33
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
33
34
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
35
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
34
36
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
35
37
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
36
|
-
uploadMedia(
|
|
38
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
37
39
|
}, {
|
|
38
40
|
maxResults: {
|
|
39
41
|
type: string;
|
|
@@ -72,7 +74,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
72
74
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
73
75
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
74
76
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
75
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
77
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
76
78
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
77
79
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
78
80
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -82,6 +84,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
82
84
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
83
85
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
84
86
|
getAuthenticatedUserId(): Promise<string>;
|
|
87
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
85
88
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
86
89
|
getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
87
90
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
@@ -94,9 +97,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
94
97
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
95
98
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
96
99
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
100
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
97
101
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
98
102
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
99
|
-
uploadMedia(
|
|
103
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
100
104
|
}, {
|
|
101
105
|
maxResults: {
|
|
102
106
|
type: string;
|
|
@@ -136,7 +140,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
136
140
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
137
141
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
138
142
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
139
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
143
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
140
144
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
141
145
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
142
146
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -146,6 +150,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
146
150
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
147
151
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
148
152
|
getAuthenticatedUserId(): Promise<string>;
|
|
153
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
149
154
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
150
155
|
getUserOwnedLists({ userId, ...args }: GetUserOwnedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
151
156
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<List>>;
|
|
@@ -158,9 +163,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
158
163
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
159
164
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
160
165
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
166
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
161
167
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
162
168
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
163
|
-
uploadMedia(
|
|
169
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
164
170
|
}, {
|
|
165
171
|
maxResults: {
|
|
166
172
|
type: string;
|
|
@@ -9,8 +9,8 @@ const MAX_RESULTS_PER_PAGE = 100;
|
|
|
9
9
|
export default defineAction({
|
|
10
10
|
key: "twitter-list-lists",
|
|
11
11
|
name: "List Lists",
|
|
12
|
-
description: `Get all lists owned by a user. [See
|
|
13
|
-
version: "2.0.
|
|
12
|
+
description: `Get all lists owned by a user. [See the documentation](${DOCS_LINK})`,
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
app,
|
|
@@ -9,7 +9,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
9
9
|
app: import("@pipedream/types").App<{
|
|
10
10
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
11
11
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
12
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
12
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
13
13
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
14
14
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
15
15
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -19,6 +19,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
19
19
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
20
20
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
21
21
|
getAuthenticatedUserId(): Promise<string>;
|
|
22
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
22
23
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
23
24
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
24
25
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -31,9 +32,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
31
32
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
32
33
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
33
34
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
35
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
34
36
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
35
37
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
36
|
-
uploadMedia(
|
|
38
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
37
39
|
}, {
|
|
38
40
|
maxResults: {
|
|
39
41
|
type: string;
|
|
@@ -72,7 +74,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
72
74
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
73
75
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
74
76
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
75
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
77
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
76
78
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
77
79
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
78
80
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -82,6 +84,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
82
84
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
83
85
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
84
86
|
getAuthenticatedUserId(): Promise<string>;
|
|
87
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
85
88
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
86
89
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
87
90
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -94,9 +97,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
94
97
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
95
98
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
96
99
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
100
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
97
101
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
98
102
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
99
|
-
uploadMedia(
|
|
103
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
100
104
|
}, {
|
|
101
105
|
maxResults: {
|
|
102
106
|
type: string;
|
|
@@ -136,7 +140,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
136
140
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
137
141
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
138
142
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
139
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
143
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
140
144
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
141
145
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
142
146
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -146,6 +150,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
146
150
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
147
151
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
148
152
|
getAuthenticatedUserId(): Promise<string>;
|
|
153
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
149
154
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
150
155
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
151
156
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -158,9 +163,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
158
163
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
159
164
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
160
165
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
166
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
161
167
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
162
168
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
163
|
-
uploadMedia(
|
|
169
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
164
170
|
}, {
|
|
165
171
|
maxResults: {
|
|
166
172
|
type: string;
|
|
@@ -9,8 +9,8 @@ const MAX_RESULTS_PER_PAGE = 100;
|
|
|
9
9
|
export default defineAction({
|
|
10
10
|
key: "twitter-list-mentions",
|
|
11
11
|
name: "List Mentions",
|
|
12
|
-
description: `Return the most recent mentions for the specified user. [See
|
|
13
|
-
version: "2.0.
|
|
12
|
+
description: `Return the most recent mentions for the specified user. [See the documentation](${DOCS_LINK})`,
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
app,
|
|
@@ -11,7 +11,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
11
11
|
app: import("@pipedream/types").App<{
|
|
12
12
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
13
13
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
14
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
14
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
15
15
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
16
16
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
17
17
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -21,6 +21,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
21
21
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
22
22
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
23
23
|
getAuthenticatedUserId(): Promise<string>;
|
|
24
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
24
25
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
25
26
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
26
27
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -33,9 +34,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
33
34
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
34
35
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
35
36
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
37
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
36
38
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
37
39
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
38
|
-
uploadMedia(
|
|
40
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
39
41
|
}, {
|
|
40
42
|
maxResults: {
|
|
41
43
|
type: string;
|
|
@@ -74,7 +76,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
74
76
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
75
77
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
76
78
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
77
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
78
80
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
79
81
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
80
82
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -84,6 +86,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
84
86
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
85
87
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
86
88
|
getAuthenticatedUserId(): Promise<string>;
|
|
89
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
87
90
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
88
91
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
89
92
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -96,9 +99,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
96
99
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
97
100
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
98
101
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
102
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
99
103
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
100
104
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
101
|
-
uploadMedia(
|
|
105
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
102
106
|
}, {
|
|
103
107
|
maxResults: {
|
|
104
108
|
type: string;
|
|
@@ -138,7 +142,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
138
142
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
139
143
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
140
144
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
141
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
145
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
142
146
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
143
147
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
144
148
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -148,6 +152,7 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
148
152
|
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<Tweet>>;
|
|
149
153
|
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
150
154
|
getAuthenticatedUserId(): Promise<string>;
|
|
155
|
+
getDirectMessages(args: import("../../common/types/requestParams.js").GetDirectMessagesParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").DirectMessage>>;
|
|
151
156
|
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
152
157
|
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
153
158
|
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
@@ -160,9 +165,10 @@ declare const _default: import("@pipedream/types").Action<{
|
|
|
160
165
|
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
161
166
|
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
162
167
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
168
|
+
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
163
169
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
164
170
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
165
|
-
uploadMedia(
|
|
171
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
166
172
|
}, {
|
|
167
173
|
maxResults: {
|
|
168
174
|
type: string;
|
|
@@ -9,8 +9,8 @@ export const MAX_RESULTS_PER_PAGE = 100;
|
|
|
9
9
|
export default defineAction({
|
|
10
10
|
key: "twitter-list-user-tweets",
|
|
11
11
|
name: "List User Tweets",
|
|
12
|
-
description: `Return a collection of the most recent tweets posted by a user. [See
|
|
13
|
-
version: "2.0.
|
|
12
|
+
description: `Return a collection of the most recent tweets posted by a user. [See the documentation](${DOCS_LINK})`,
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
app,
|