@pipedream/twitter 2.1.0 → 2.1.2
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 +6 -6
- package/dist/actions/add-user-to-list/add-user-to-list.mjs +1 -1
- package/dist/actions/create-tweet/create-tweet.d.ts +2 -2
- package/dist/actions/create-tweet/create-tweet.mjs +1 -1
- package/dist/actions/delete-tweet/delete-tweet.d.ts +4 -4
- package/dist/actions/delete-tweet/delete-tweet.mjs +1 -1
- package/dist/actions/follow-user/follow-user.d.ts +4 -4
- package/dist/actions/follow-user/follow-user.mjs +1 -1
- package/dist/actions/get-tweet/get-tweet.d.ts +4 -4
- package/dist/actions/get-tweet/get-tweet.mjs +1 -1
- package/dist/actions/get-user/get-user.d.ts +4 -4
- package/dist/actions/get-user/get-user.mjs +1 -1
- package/dist/actions/like-tweet/like-tweet.d.ts +4 -4
- package/dist/actions/like-tweet/like-tweet.mjs +1 -1
- package/dist/actions/list-favorites/list-favorites.d.ts +6 -6
- package/dist/actions/list-favorites/list-favorites.mjs +1 -1
- package/dist/actions/list-followers/list-followers.d.ts +6 -6
- package/dist/actions/list-followers/list-followers.mjs +1 -1
- package/dist/actions/list-lists/list-lists.d.ts +6 -6
- package/dist/actions/list-lists/list-lists.mjs +1 -1
- package/dist/actions/list-mentions/list-mentions.d.ts +6 -6
- package/dist/actions/list-mentions/list-mentions.mjs +1 -1
- package/dist/actions/list-user-tweets/list-user-tweets.d.ts +6 -6
- package/dist/actions/list-user-tweets/list-user-tweets.mjs +1 -1
- package/dist/actions/retweet/retweet.d.ts +4 -4
- package/dist/actions/retweet/retweet.mjs +1 -1
- package/dist/actions/send-dm/send-dm.d.ts +4 -4
- package/dist/actions/send-dm/send-dm.mjs +1 -1
- package/dist/actions/simple-search/simple-search.d.ts +6 -6
- package/dist/actions/simple-search/simple-search.mjs +1 -1
- package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +6 -6
- package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +1 -1
- package/dist/actions/unfollow-user/unfollow-user.d.ts +4 -4
- package/dist/actions/unfollow-user/unfollow-user.mjs +1 -1
- package/dist/actions/unlike-tweet/unlike-tweet.d.ts +4 -4
- package/dist/actions/unlike-tweet/unlike-tweet.mjs +1 -1
- package/dist/actions/upload-media/upload-media.d.ts +2 -2
- package/dist/actions/upload-media/upload-media.mjs +21 -10
- package/dist/app/twitter.app.d.ts +2 -2
- package/dist/app/twitter.app.mjs +19 -4
- package/dist/common/constants.mjs +0 -12
- package/dist/common/types/requestParams.d.ts +5 -2
- package/dist/sources/common/base.d.ts +2 -2
- package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +4 -4
- 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 +4 -4
- package/dist/sources/new-list-followed/new-list-followed.mjs +1 -1
- package/dist/sources/new-message/new-message.d.ts +2 -2
- package/dist/sources/new-message/new-message.mjs +1 -1
- package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +4 -4
- 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 +4 -4
- package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +1 -1
- package/dist/sources/new-tweet-metrics/new-tweet-metrics.d.ts +4 -4
- package/dist/sources/new-tweet-metrics/new-tweet-metrics.mjs +1 -1
- package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/sources/new-user-followed/new-user-followed.mjs +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
package/dist/app/twitter.app.mjs
CHANGED
|
@@ -89,13 +89,23 @@ export default defineApp({
|
|
|
89
89
|
_getBaseUrl() {
|
|
90
90
|
return "https://api.twitter.com/2";
|
|
91
91
|
},
|
|
92
|
-
async _httpRequest({ $ = this, ...args }) {
|
|
92
|
+
async _httpRequest({ $ = this, specialAuth, ...args }) {
|
|
93
93
|
const config = {
|
|
94
94
|
baseURL: this._getBaseUrl(),
|
|
95
95
|
...args,
|
|
96
96
|
};
|
|
97
|
+
const authConfig = specialAuth
|
|
98
|
+
? {
|
|
99
|
+
...config,
|
|
100
|
+
params: {},
|
|
101
|
+
data: {},
|
|
102
|
+
}
|
|
103
|
+
: config;
|
|
97
104
|
const request = async () => {
|
|
98
|
-
const headers =
|
|
105
|
+
const headers = {
|
|
106
|
+
...config.headers,
|
|
107
|
+
...this._getAuthHeader(authConfig),
|
|
108
|
+
};
|
|
99
109
|
return axios($, {
|
|
100
110
|
...config,
|
|
101
111
|
headers,
|
|
@@ -313,10 +323,15 @@ export default defineApp({
|
|
|
313
323
|
...args,
|
|
314
324
|
});
|
|
315
325
|
},
|
|
316
|
-
async uploadMedia(
|
|
326
|
+
async uploadMedia(args) {
|
|
317
327
|
return this._httpRequest({
|
|
318
|
-
|
|
328
|
+
baseURL: "https://upload.twitter.com/1.1",
|
|
329
|
+
url: "/media/upload.json",
|
|
319
330
|
method: "POST",
|
|
331
|
+
headers: {
|
|
332
|
+
"Content-Type": `multipart/form-data; boundary=${args.data.getBoundary()}`,
|
|
333
|
+
},
|
|
334
|
+
specialAuth: true,
|
|
320
335
|
...args,
|
|
321
336
|
});
|
|
322
337
|
},
|
|
@@ -4,17 +4,5 @@ export default {
|
|
|
4
4
|
label: "Amplify Video",
|
|
5
5
|
value: "amplify_video",
|
|
6
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
7
|
],
|
|
20
8
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Pipedream } from "@pipedream/types";
|
|
2
2
|
import { ListFields, MessageFields, TweetFields, UserFields } from "./fields.js";
|
|
3
|
+
import FormData from "form-data";
|
|
3
4
|
interface PdAxiosRequest {
|
|
4
5
|
$: Pipedream;
|
|
5
6
|
}
|
|
@@ -12,8 +13,11 @@ interface PaginatedRequest extends PdAxiosRequest, PaginationParams {
|
|
|
12
13
|
export interface HttpRequestParams extends PdAxiosRequest {
|
|
13
14
|
url: string;
|
|
14
15
|
method: string;
|
|
16
|
+
headers?: object;
|
|
15
17
|
data?: object | string;
|
|
16
18
|
params?: object;
|
|
19
|
+
baseURL?: string;
|
|
20
|
+
specialAuth?: boolean;
|
|
17
21
|
}
|
|
18
22
|
export interface PaginatedRequestParams extends HttpRequestParams, PaginationParams {
|
|
19
23
|
}
|
|
@@ -113,7 +117,6 @@ export interface UnfollowUserParams extends PdAxiosRequest, UserId {
|
|
|
113
117
|
export interface UnlikeTweetParams extends PdAxiosRequest, TweetId {
|
|
114
118
|
}
|
|
115
119
|
export interface UploadMediaParams extends PdAxiosRequest {
|
|
116
|
-
|
|
117
|
-
media_data: string;
|
|
120
|
+
data: FormData;
|
|
118
121
|
}
|
|
119
122
|
export {};
|
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
|
4
4
|
app: import("@pipedream/types").App<{
|
|
5
5
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
6
6
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
7
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<TwitterEntity>>;
|
|
7
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<TwitterEntity>>;
|
|
8
8
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<TwitterEntity>>;
|
|
9
9
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
10
10
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -30,7 +30,7 @@ declare const _default: {
|
|
|
30
30
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
31
31
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
32
32
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
33
|
-
uploadMedia(
|
|
33
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
34
34
|
}, {
|
|
35
35
|
maxResults: {
|
|
36
36
|
type: string;
|
|
@@ -18,7 +18,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
18
18
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
19
19
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
20
20
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
21
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
23
23
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
24
24
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
44
44
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
45
45
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
46
46
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
47
|
-
uploadMedia(
|
|
47
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
48
48
|
}, {
|
|
49
49
|
maxResults: {
|
|
50
50
|
type: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
83
83
|
app: import("@pipedream/types").App<{
|
|
84
84
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
85
85
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
86
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
88
88
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
89
89
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
109
109
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
110
110
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
111
111
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
112
|
-
uploadMedia(
|
|
112
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
113
113
|
}, {
|
|
114
114
|
maxResults: {
|
|
115
115
|
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 the documentation](${DOCS_LINK})`,
|
|
13
|
-
version: "2.0.
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -18,7 +18,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
18
18
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
19
19
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
20
20
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
21
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
23
23
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
24
24
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
44
44
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
45
45
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
46
46
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
47
|
-
uploadMedia(
|
|
47
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
48
48
|
}, {
|
|
49
49
|
maxResults: {
|
|
50
50
|
type: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
83
83
|
app: import("@pipedream/types").App<{
|
|
84
84
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
85
85
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
86
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
88
88
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
89
89
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
109
109
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
110
110
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
111
111
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
112
|
-
uploadMedia(
|
|
112
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
113
113
|
}, {
|
|
114
114
|
maxResults: {
|
|
115
115
|
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 the documentation](${DOCS_LINK})`,
|
|
14
|
-
version: "2.0.
|
|
14
|
+
version: "2.0.3",
|
|
15
15
|
type: "source",
|
|
16
16
|
props: {
|
|
17
17
|
...common.props,
|
|
@@ -15,7 +15,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
15
15
|
app: import("@pipedream/types").App<{
|
|
16
16
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
17
17
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
18
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
18
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
19
19
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
20
20
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
21
21
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
41
41
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
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(
|
|
44
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
45
|
}, {
|
|
46
46
|
maxResults: {
|
|
47
47
|
type: string;
|
|
@@ -9,7 +9,7 @@ export default defineSource({
|
|
|
9
9
|
key: "twitter-new-message",
|
|
10
10
|
name: "New Message Received",
|
|
11
11
|
description: `Emit new event when a new Direct Message (DM) is received [See the documentation](${DOCS_LINK})`,
|
|
12
|
-
version: "1.0.
|
|
12
|
+
version: "1.0.1",
|
|
13
13
|
type: "source",
|
|
14
14
|
methods: {
|
|
15
15
|
...common.methods,
|
|
@@ -16,7 +16,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
16
16
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
17
17
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
18
18
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
19
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
19
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
20
20
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
21
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
22
22
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -42,7 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
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(
|
|
45
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
46
46
|
}, {
|
|
47
47
|
maxResults: {
|
|
48
48
|
type: string;
|
|
@@ -81,7 +81,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
81
81
|
app: import("@pipedream/types").App<{
|
|
82
82
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
83
83
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
84
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
84
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
85
85
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
86
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
87
87
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -107,7 +107,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
107
107
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
108
108
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
109
109
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
110
|
-
uploadMedia(
|
|
110
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
111
111
|
}, {
|
|
112
112
|
maxResults: {
|
|
113
113
|
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 the documentation](${DOCS_LINK})`,
|
|
12
|
-
version: "2.0.
|
|
12
|
+
version: "2.0.3",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -18,7 +18,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
18
18
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
19
19
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
20
20
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
21
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
23
23
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
24
24
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
44
44
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
45
45
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
46
46
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
47
|
-
uploadMedia(
|
|
47
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
48
48
|
}, {
|
|
49
49
|
maxResults: {
|
|
50
50
|
type: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
83
83
|
app: import("@pipedream/types").App<{
|
|
84
84
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
85
85
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
86
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
88
88
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
89
89
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
109
109
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
110
110
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
111
111
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
112
|
-
uploadMedia(
|
|
112
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
113
113
|
}, {
|
|
114
114
|
maxResults: {
|
|
115
115
|
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 the documentation](${DOCS_LINK})`,
|
|
13
|
-
version: "2.0.
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -15,7 +15,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
15
15
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
16
16
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
17
17
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
18
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
18
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
19
19
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
20
20
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
21
21
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
41
41
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
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(
|
|
44
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
45
45
|
}, {
|
|
46
46
|
maxResults: {
|
|
47
47
|
type: string;
|
|
@@ -86,7 +86,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
86
86
|
app: import("@pipedream/types").App<{
|
|
87
87
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
88
88
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
89
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
89
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
90
90
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
91
91
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
92
92
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -112,7 +112,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
112
112
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
113
113
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
114
114
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
115
|
-
uploadMedia(
|
|
115
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
116
116
|
}, {
|
|
117
117
|
maxResults: {
|
|
118
118
|
type: string;
|
|
@@ -8,7 +8,7 @@ export default defineSource({
|
|
|
8
8
|
key: "twitter-new-tweet-metrics",
|
|
9
9
|
name: "New Tweet Metrics",
|
|
10
10
|
description: `Emit new event when a Tweet has new metrics [See the documentation](${DOCS_LINK})`,
|
|
11
|
-
version: "1.0.
|
|
11
|
+
version: "1.0.1",
|
|
12
12
|
type: "source",
|
|
13
13
|
props: {
|
|
14
14
|
...common.props,
|
|
@@ -18,7 +18,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
18
18
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
19
19
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
20
20
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
21
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
23
23
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
24
24
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
44
44
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
45
45
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
46
46
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
47
|
-
uploadMedia(
|
|
47
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
48
48
|
}, {
|
|
49
49
|
maxResults: {
|
|
50
50
|
type: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
83
83
|
app: import("@pipedream/types").App<{
|
|
84
84
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
85
85
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
86
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
88
88
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
89
89
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
109
109
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
110
110
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
111
111
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
112
|
-
uploadMedia(
|
|
112
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
113
113
|
}, {
|
|
114
114
|
maxResults: {
|
|
115
115
|
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 the documentation](${DOCS_LINK})`,
|
|
13
|
-
version: "2.0.
|
|
13
|
+
version: "2.0.3",
|
|
14
14
|
type: "source",
|
|
15
15
|
props: {
|
|
16
16
|
...common.props,
|
|
@@ -16,7 +16,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
16
16
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
17
17
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
18
18
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
19
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
19
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
20
20
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
21
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
22
22
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -42,7 +42,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
42
42
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
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(
|
|
45
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
46
46
|
}, {
|
|
47
47
|
maxResults: {
|
|
48
48
|
type: string;
|
|
@@ -81,7 +81,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
81
81
|
app: import("@pipedream/types").App<{
|
|
82
82
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
83
83
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
84
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
84
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
85
85
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
86
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
87
87
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -107,7 +107,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
107
107
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
108
108
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
109
109
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
110
|
-
uploadMedia(
|
|
110
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
111
111
|
}, {
|
|
112
112
|
maxResults: {
|
|
113
113
|
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 the documentation](${DOCS_LINK})`,
|
|
12
|
-
version: "2.0.
|
|
12
|
+
version: "2.0.3",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -18,7 +18,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
18
18
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
19
19
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
20
20
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
21
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
23
23
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
24
24
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
44
44
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
45
45
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
46
46
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
47
|
-
uploadMedia(
|
|
47
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
48
48
|
}, {
|
|
49
49
|
maxResults: {
|
|
50
50
|
type: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
83
83
|
app: import("@pipedream/types").App<{
|
|
84
84
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
85
85
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
86
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
88
88
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
89
89
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
109
109
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
110
110
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
111
111
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
112
|
-
uploadMedia(
|
|
112
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
113
113
|
}, {
|
|
114
114
|
maxResults: {
|
|
115
115
|
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 the documentation](${DOCS_LINK})`,
|
|
12
|
-
version: "2.0.
|
|
12
|
+
version: "2.0.3",
|
|
13
13
|
type: "source",
|
|
14
14
|
props: {
|
|
15
15
|
...common.props,
|
|
@@ -17,7 +17,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
17
17
|
propDefinition: (string | import("@pipedream/types").App<{
|
|
18
18
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
19
19
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
20
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
20
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
21
21
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
22
22
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
23
23
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -43,7 +43,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
43
43
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
44
44
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
45
45
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
46
|
-
uploadMedia(
|
|
46
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
47
47
|
}, {
|
|
48
48
|
maxResults: {
|
|
49
49
|
type: string;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
82
82
|
app: import("@pipedream/types").App<{
|
|
83
83
|
_getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): import("oauth-1.0a").Header;
|
|
84
84
|
_getBaseUrl(): "https://api.twitter.com/2";
|
|
85
|
-
_httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
85
|
+
_httpRequest({ $, specialAuth, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
86
86
|
_paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
|
|
87
87
|
addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
|
|
88
88
|
createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
|
|
@@ -108,7 +108,7 @@ declare const _default: import("@pipedream/types").Source<{
|
|
|
108
108
|
sendMessage({ userId, ...args }: import("../../common/types/requestParams.js").SendMessageParams): Promise<object>;
|
|
109
109
|
unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
|
|
110
110
|
unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
|
|
111
|
-
uploadMedia(
|
|
111
|
+
uploadMedia(args: import("../../common/types/requestParams.js").UploadMediaParams): Promise<object>;
|
|
112
112
|
}, {
|
|
113
113
|
maxResults: {
|
|
114
114
|
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 the documentation](${DOCS_LINK})`,
|
|
14
|
-
version: "2.0.
|
|
14
|
+
version: "2.0.3",
|
|
15
15
|
type: "source",
|
|
16
16
|
props: {
|
|
17
17
|
...common.props,
|