@pipedream/twitter 1.1.4 → 2.0.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 +3 -0
- package/dist/actions/add-user-to-list/add-user-to-list.mjs +1 -1
- package/dist/actions/create-tweet/create-tweet.d.ts +1 -0
- package/dist/actions/create-tweet/create-tweet.mjs +1 -1
- package/dist/actions/delete-tweet/delete-tweet.d.ts +2 -0
- package/dist/actions/delete-tweet/delete-tweet.mjs +1 -1
- package/dist/actions/follow-user/follow-user.d.ts +2 -0
- package/dist/actions/follow-user/follow-user.mjs +1 -1
- package/dist/actions/get-tweet/get-tweet.d.ts +2 -0
- package/dist/actions/get-tweet/get-tweet.mjs +1 -1
- package/dist/actions/get-user/get-user.d.ts +2 -0
- package/dist/actions/get-user/get-user.mjs +1 -1
- package/dist/actions/like-tweet/like-tweet.d.ts +2 -0
- package/dist/actions/like-tweet/like-tweet.mjs +1 -1
- package/dist/actions/list-favorites/list-favorites.d.ts +3 -0
- package/dist/actions/list-favorites/list-favorites.mjs +1 -1
- package/dist/actions/list-followers/list-followers.d.ts +3 -0
- package/dist/actions/list-followers/list-followers.mjs +1 -1
- package/dist/actions/list-lists/list-lists.d.ts +3 -0
- package/dist/actions/list-lists/list-lists.mjs +1 -1
- package/dist/actions/list-mentions/list-mentions.d.ts +3 -0
- package/dist/actions/list-mentions/list-mentions.mjs +1 -1
- package/dist/actions/list-user-tweets/list-user-tweets.d.ts +3 -0
- package/dist/actions/list-user-tweets/list-user-tweets.mjs +1 -1
- package/dist/actions/retweet/retweet.d.ts +2 -0
- package/dist/actions/retweet/retweet.mjs +1 -1
- package/dist/actions/simple-search/simple-search.d.ts +3 -0
- package/dist/actions/simple-search/simple-search.mjs +1 -1
- package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +3 -0
- package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +1 -1
- package/dist/actions/unfollow-user/unfollow-user.d.ts +2 -0
- package/dist/actions/unfollow-user/unfollow-user.mjs +1 -1
- package/dist/actions/unlike-tweet/unlike-tweet.d.ts +2 -0
- package/dist/actions/unlike-tweet/unlike-tweet.mjs +1 -1
- package/dist/actions/upload-media/upload-media.d.ts +81 -0
- package/dist/actions/upload-media/upload-media.mjs +53 -0
- package/dist/app/twitter.app.d.ts +2 -1
- package/dist/app/twitter.app.mjs +7 -0
- package/dist/common/constants.d.ts +7 -0
- package/dist/common/constants.mjs +20 -0
- package/dist/common/types/requestParams.d.ts +4 -0
- package/dist/sources/common/base.d.ts +1 -0
- package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +2 -0
- package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +1 -1
- package/dist/sources/new-list-followed/new-list-followed.d.ts +2 -0
- package/dist/sources/new-list-followed/new-list-followed.mjs +1 -1
- package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +2 -0
- package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +1 -1
- package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +2 -0
- package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +1 -1
- package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +2 -0
- package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +1 -1
- package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +2 -0
- package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +1 -1
- package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +2 -0
- package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +1 -1
- package/dist/sources/new-user-followed/new-user-followed.d.ts +2 -0
- package/dist/sources/new-user-followed/new-user-followed.mjs +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: import("@pipedream/types").Action<unknown, {
|
|
2
|
+
app: import("@pipedream/types").App<{
|
|
3
|
+
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
4
|
+
_getBaseUrl(): "https://api.twitter.com/2";
|
|
5
|
+
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
6
|
+
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
7
|
+
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
8
|
+
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
9
|
+
deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
|
|
10
|
+
followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
|
|
11
|
+
getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
12
|
+
getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
13
|
+
getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
14
|
+
getAuthenticatedUserId(): Promise<string>;
|
|
15
|
+
getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
16
|
+
getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
17
|
+
getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
|
|
18
|
+
getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
19
|
+
getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
20
|
+
getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
21
|
+
getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
22
|
+
likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
23
|
+
getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
24
|
+
getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").User>>;
|
|
25
|
+
retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
|
|
26
|
+
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
27
|
+
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
28
|
+
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
29
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
30
|
+
}, {
|
|
31
|
+
maxResults: {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
description: string;
|
|
35
|
+
optional: boolean;
|
|
36
|
+
};
|
|
37
|
+
listId: {
|
|
38
|
+
type: string;
|
|
39
|
+
label: string;
|
|
40
|
+
description: string;
|
|
41
|
+
options(): Promise<{
|
|
42
|
+
label: string;
|
|
43
|
+
value: string;
|
|
44
|
+
}[]>;
|
|
45
|
+
};
|
|
46
|
+
userNameOrId: {
|
|
47
|
+
type: string;
|
|
48
|
+
label: string;
|
|
49
|
+
description: string;
|
|
50
|
+
optional: boolean;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
tweetId: {
|
|
54
|
+
type: string;
|
|
55
|
+
label: string;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
query: {
|
|
59
|
+
type: string;
|
|
60
|
+
label: string;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
}>;
|
|
64
|
+
filePath: {
|
|
65
|
+
type: string;
|
|
66
|
+
label: string;
|
|
67
|
+
description: string;
|
|
68
|
+
optional: boolean;
|
|
69
|
+
};
|
|
70
|
+
media_category: {
|
|
71
|
+
type: string;
|
|
72
|
+
label: string;
|
|
73
|
+
description: string;
|
|
74
|
+
options: {
|
|
75
|
+
label: string;
|
|
76
|
+
value: string;
|
|
77
|
+
}[];
|
|
78
|
+
optional: boolean;
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import app from "../../app/twitter.app.mjs";
|
|
2
|
+
import { ACTION_ERROR_MESSAGE } from "../../common/errorMessage.mjs";
|
|
3
|
+
import { defineAction } from "@pipedream/types";
|
|
4
|
+
import constants from "../../common/constants.mjs";
|
|
5
|
+
import fs from "fs";
|
|
6
|
+
import { axios } from "@pipedream/platform";
|
|
7
|
+
const DOCS_LINK = "https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-upload";
|
|
8
|
+
export default defineAction({
|
|
9
|
+
key: "twitter-upload-media",
|
|
10
|
+
name: "Upload Media",
|
|
11
|
+
description: `Upload new media. [See the documentation](${DOCS_LINK})`,
|
|
12
|
+
version: "0.0.1",
|
|
13
|
+
type: "action",
|
|
14
|
+
props: {
|
|
15
|
+
app,
|
|
16
|
+
filePath: {
|
|
17
|
+
type: "string",
|
|
18
|
+
label: "File Path",
|
|
19
|
+
description: "The file path to upload.",
|
|
20
|
+
optional: false,
|
|
21
|
+
},
|
|
22
|
+
media_category: {
|
|
23
|
+
type: "string",
|
|
24
|
+
label: "Media Category",
|
|
25
|
+
description: "The category representing the media usage.",
|
|
26
|
+
options: constants.MEDIA_CATEGORIES,
|
|
27
|
+
optional: false,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
async run({ $ }) {
|
|
31
|
+
try {
|
|
32
|
+
const base64File = this.filePath.startsWith("/tmp")
|
|
33
|
+
? fs.readFileSync(this.filePath, "base64")
|
|
34
|
+
: Buffer.from(await axios($, {
|
|
35
|
+
url: this.filePath,
|
|
36
|
+
responseType: "arraybuffer",
|
|
37
|
+
})).toString("base64");
|
|
38
|
+
const response = await this.app.uploadMedia({
|
|
39
|
+
$,
|
|
40
|
+
params: encodeURIComponent(JSON.stringify({
|
|
41
|
+
media_category: this.media_category,
|
|
42
|
+
media_data: base64File,
|
|
43
|
+
})),
|
|
44
|
+
});
|
|
45
|
+
$.export("$summary", `Successfully uploaded media with ID ${response.media_id}`);
|
|
46
|
+
return response;
|
|
47
|
+
}
|
|
48
|
+
catch (err) {
|
|
49
|
+
$.export("error", err);
|
|
50
|
+
throw new Error(ACTION_ERROR_MESSAGE);
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import OAuth from "oauth-1.0a";
|
|
2
|
-
import { AddUserToListParams, CreateTweetParams, DeleteTweetParams, FollowUserParams, GetUserLikedTweetParams, GetUserOwnedListsParams, GetTweetParams, GetUserFollowedListsParams, GetUserMentionsParams, GetUserParams, GetUserTweetsParams, HttpRequestParams, LikeTweetParams, GetUserFollowersParams, GetUserFollowingParams, PaginatedRequestParams, RetweetParams, SearchTweetsParams, UnfollowUserParams, UnlikeTweetParams, GetListTweetsParams, GetAuthenticatedUserParams } from "../common/types/requestParams.js";
|
|
2
|
+
import { AddUserToListParams, CreateTweetParams, DeleteTweetParams, FollowUserParams, GetUserLikedTweetParams, GetUserOwnedListsParams, GetTweetParams, GetUserFollowedListsParams, GetUserMentionsParams, GetUserParams, GetUserTweetsParams, HttpRequestParams, LikeTweetParams, GetUserFollowersParams, GetUserFollowingParams, PaginatedRequestParams, RetweetParams, SearchTweetsParams, UnfollowUserParams, UnlikeTweetParams, GetListTweetsParams, GetAuthenticatedUserParams, UploadMediaParams } from "../common/types/requestParams.js";
|
|
3
3
|
import { List, PaginatedResponseObject, ResponseObject, Tweet, TwitterEntity, User } from "../common/types/responseSchemas.js";
|
|
4
4
|
declare const _default: import("@pipedream/types").App<{
|
|
5
5
|
_getAuthHeader(config: HttpRequestParams): OAuth.Header;
|
|
@@ -28,6 +28,7 @@ declare const _default: import("@pipedream/types").App<{
|
|
|
28
28
|
searchTweets(args: SearchTweetsParams): Promise<PaginatedResponseObject<Tweet>>;
|
|
29
29
|
unfollowUser({ userId, ...args }: UnfollowUserParams): Promise<object>;
|
|
30
30
|
unlikeTweet({ tweetId, ...args }: UnlikeTweetParams): Promise<object>;
|
|
31
|
+
uploadMedia({ ...args }: UploadMediaParams): Promise<object>;
|
|
31
32
|
}, {
|
|
32
33
|
maxResults: {
|
|
33
34
|
type: string;
|
package/dist/app/twitter.app.mjs
CHANGED
|
@@ -298,5 +298,12 @@ export default defineApp({
|
|
|
298
298
|
...args,
|
|
299
299
|
});
|
|
300
300
|
},
|
|
301
|
+
async uploadMedia({ ...args }) {
|
|
302
|
+
return this._httpRequest({
|
|
303
|
+
url: "https://upload.twitter.com/1.1/media/upload.json",
|
|
304
|
+
method: "POST",
|
|
305
|
+
...args,
|
|
306
|
+
});
|
|
307
|
+
},
|
|
301
308
|
},
|
|
302
309
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
MEDIA_CATEGORIES: [
|
|
3
|
+
{
|
|
4
|
+
label: "Amplify Video",
|
|
5
|
+
value: "amplify_video",
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "Tweet GIF",
|
|
9
|
+
value: "tweet_gif",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
label: "Tweet Image",
|
|
13
|
+
value: "tweet_image",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: "Tweet Video",
|
|
17
|
+
value: "tweet_video",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
};
|
|
@@ -102,4 +102,8 @@ export interface UnfollowUserParams extends PdAxiosRequest, UserId {
|
|
|
102
102
|
}
|
|
103
103
|
export interface UnlikeTweetParams extends PdAxiosRequest, TweetId {
|
|
104
104
|
}
|
|
105
|
+
export interface UploadMediaParams extends PdAxiosRequest {
|
|
106
|
+
media_category: string;
|
|
107
|
+
media_data: string;
|
|
108
|
+
}
|
|
105
109
|
export {};
|
|
@@ -28,6 +28,7 @@ declare const _default: {
|
|
|
28
28
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
29
29
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
30
30
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
31
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
31
32
|
}, {
|
|
32
33
|
maxResults: {
|
|
33
34
|
type: string;
|
|
@@ -42,6 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
43
43
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
44
44
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
45
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
46
|
}, {
|
|
46
47
|
maxResults: {
|
|
47
48
|
type: string;
|
|
@@ -104,6 +105,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
104
105
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
105
106
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
106
107
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
108
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
107
109
|
}, {
|
|
108
110
|
maxResults: {
|
|
109
111
|
type: string;
|
|
@@ -10,7 +10,7 @@ export default defineSource({
|
|
|
10
10
|
key: "twitter-new-follower-of-user",
|
|
11
11
|
name: "New Follower Received by User",
|
|
12
12
|
description: `Emit new event when the specified User receives a Follower [See docs here](${DOCS_LINK})`,
|
|
13
|
-
version: "
|
|
13
|
+
version: "2.0.1",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -42,6 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
43
43
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
44
44
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
45
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
46
|
}, {
|
|
46
47
|
maxResults: {
|
|
47
48
|
type: string;
|
|
@@ -104,6 +105,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
104
105
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
105
106
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
106
107
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
108
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
107
109
|
}, {
|
|
108
110
|
maxResults: {
|
|
109
111
|
type: string;
|
|
@@ -11,7 +11,7 @@ export default defineSource({
|
|
|
11
11
|
key: "twitter-new-list-followed",
|
|
12
12
|
name: "New List Followed by User",
|
|
13
13
|
description: `Emit new event when the specified User follows a List [See docs here](${DOCS_LINK})`,
|
|
14
|
-
version: "
|
|
14
|
+
version: "2.0.1",
|
|
15
15
|
type: "source",
|
|
16
16
|
props: {
|
|
17
17
|
...common.props,
|
|
@@ -40,6 +40,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
40
40
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
41
41
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
42
42
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
43
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
43
44
|
}, {
|
|
44
45
|
maxResults: {
|
|
45
46
|
type: string;
|
|
@@ -102,6 +103,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
102
103
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
103
104
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
104
105
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
106
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
105
107
|
}, {
|
|
106
108
|
maxResults: {
|
|
107
109
|
type: string;
|
|
@@ -9,7 +9,7 @@ export default defineSource({
|
|
|
9
9
|
key: "twitter-new-tweet-in-list",
|
|
10
10
|
name: "New Tweet Posted in List",
|
|
11
11
|
description: `Emit new event when a Tweet is posted in the specified list [See docs here](${DOCS_LINK})`,
|
|
12
|
-
version: "
|
|
12
|
+
version: "2.0.1",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -42,6 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
43
43
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
44
44
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
45
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
46
|
}, {
|
|
46
47
|
maxResults: {
|
|
47
48
|
type: string;
|
|
@@ -104,6 +105,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
104
105
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
105
106
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
106
107
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
108
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
107
109
|
}, {
|
|
108
110
|
maxResults: {
|
|
109
111
|
type: string;
|
|
@@ -10,7 +10,7 @@ export default defineSource({
|
|
|
10
10
|
key: "twitter-new-tweet-liked-by-user",
|
|
11
11
|
name: "New Tweet Liked by User",
|
|
12
12
|
description: `Emit new event when a Tweet is liked by the specified User [See docs here](${DOCS_LINK})`,
|
|
13
|
-
version: "0.1
|
|
13
|
+
version: "2.0.1",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -42,6 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
43
43
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
44
44
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
45
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
46
|
}, {
|
|
46
47
|
maxResults: {
|
|
47
48
|
type: string;
|
|
@@ -104,6 +105,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
104
105
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
105
106
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
106
107
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
108
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
107
109
|
}, {
|
|
108
110
|
maxResults: {
|
|
109
111
|
type: string;
|
|
@@ -10,7 +10,7 @@ export default defineSource({
|
|
|
10
10
|
key: "twitter-new-tweet-posted-by-user",
|
|
11
11
|
name: "New Tweet Posted by User",
|
|
12
12
|
description: `Emit new event when the specified User posts a Tweet [See docs here](${DOCS_LINK})`,
|
|
13
|
-
version: "0.1
|
|
13
|
+
version: "2.0.1",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -40,6 +40,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
40
40
|
searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
41
41
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
42
42
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
43
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
43
44
|
}, {
|
|
44
45
|
maxResults: {
|
|
45
46
|
type: string;
|
|
@@ -102,6 +103,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
102
103
|
searchTweets(args: SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<Tweet>>;
|
|
103
104
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
104
105
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
106
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
105
107
|
}, {
|
|
106
108
|
maxResults: {
|
|
107
109
|
type: string;
|
|
@@ -9,7 +9,7 @@ export default defineSource({
|
|
|
9
9
|
key: "twitter-new-tweet-posted-matching-query",
|
|
10
10
|
name: "New Tweet Posted Matching Query",
|
|
11
11
|
description: `Emit new event when a new tweet matching the specified query is posted [See docs here](${DOCS_LINK})`,
|
|
12
|
-
version: "0.1
|
|
12
|
+
version: "2.0.1",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -42,6 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
43
43
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
44
44
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
45
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
46
|
}, {
|
|
46
47
|
maxResults: {
|
|
47
48
|
type: string;
|
|
@@ -104,6 +105,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
104
105
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
105
106
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
106
107
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
108
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
107
109
|
}, {
|
|
108
110
|
maxResults: {
|
|
109
111
|
type: string;
|
|
@@ -9,7 +9,7 @@ export default defineSource({
|
|
|
9
9
|
key: "twitter-new-unfollower-of-user",
|
|
10
10
|
name: "New Unfollower of User",
|
|
11
11
|
description: `Emit new event when the specified User loses a Follower [See docs here](${DOCS_LINK})`,
|
|
12
|
-
version: "
|
|
12
|
+
version: "2.0.1",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -41,6 +41,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
41
41
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
42
42
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
43
43
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
44
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
44
45
|
}, {
|
|
45
46
|
maxResults: {
|
|
46
47
|
type: string;
|
|
@@ -103,6 +104,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
103
104
|
searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
|
|
104
105
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
105
106
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
107
|
+
uploadMedia({ ...args }: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
106
108
|
}, {
|
|
107
109
|
maxResults: {
|
|
108
110
|
type: string;
|
|
@@ -11,7 +11,7 @@ export default defineSource({
|
|
|
11
11
|
key: "twitter-new-user-followed",
|
|
12
12
|
name: "New User Followed by User",
|
|
13
13
|
description: `Emit new event when the specified User follows another User [See docs here](${DOCS_LINK})`,
|
|
14
|
-
version: "
|
|
14
|
+
version: "2.0.1",
|
|
15
15
|
type: "source",
|
|
16
16
|
props: {
|
|
17
17
|
...common.props,
|