@pipedream/twitter 0.3.11 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +18 -71
  2. package/dist/actions/add-user-to-list/add-user-to-list.d.ts +194 -0
  3. package/dist/actions/add-user-to-list/add-user-to-list.mjs +44 -0
  4. package/dist/actions/create-tweet/create-tweet.d.ts +101 -0
  5. package/dist/actions/create-tweet/create-tweet.mjs +78 -0
  6. package/dist/actions/delete-tweet/delete-tweet.d.ts +128 -0
  7. package/dist/actions/delete-tweet/delete-tweet.mjs +29 -0
  8. package/dist/actions/follow-user/follow-user.d.ts +131 -0
  9. package/dist/actions/follow-user/follow-user.mjs +37 -0
  10. package/dist/actions/get-tweet/get-tweet.d.ts +132 -0
  11. package/dist/actions/get-tweet/get-tweet.mjs +34 -0
  12. package/dist/actions/get-user/get-user.d.ts +133 -0
  13. package/dist/actions/get-user/get-user.mjs +40 -0
  14. package/dist/actions/like-tweet/like-tweet.d.ts +128 -0
  15. package/dist/actions/like-tweet/like-tweet.mjs +31 -0
  16. package/dist/actions/list-favorites/list-favorites.d.ts +202 -0
  17. package/dist/actions/list-favorites/list-favorites.mjs +50 -0
  18. package/dist/actions/list-followers/list-followers.d.ts +202 -0
  19. package/dist/actions/list-followers/list-followers.mjs +50 -0
  20. package/dist/actions/list-lists/list-lists.d.ts +200 -0
  21. package/dist/actions/list-lists/list-lists.mjs +50 -0
  22. package/dist/actions/list-mentions/list-mentions.d.ts +200 -0
  23. package/dist/actions/list-mentions/list-mentions.mjs +50 -0
  24. package/dist/actions/list-user-tweets/list-user-tweets.d.ts +202 -0
  25. package/dist/actions/list-user-tweets/list-user-tweets.mjs +50 -0
  26. package/dist/actions/retweet/retweet.d.ts +128 -0
  27. package/dist/actions/retweet/retweet.mjs +34 -0
  28. package/dist/actions/simple-search/simple-search.d.ts +201 -0
  29. package/dist/actions/simple-search/simple-search.mjs +50 -0
  30. package/dist/actions/simple-search-in-list/simple-search-in-list.d.ts +206 -0
  31. package/dist/actions/simple-search-in-list/simple-search-in-list.mjs +58 -0
  32. package/dist/actions/unfollow-user/unfollow-user.d.ts +131 -0
  33. package/dist/actions/unfollow-user/unfollow-user.mjs +33 -0
  34. package/dist/actions/unlike-tweet/unlike-tweet.d.ts +128 -0
  35. package/dist/actions/unlike-tweet/unlike-tweet.mjs +29 -0
  36. package/dist/app/twitter.app.d.ts +65 -0
  37. package/dist/app/twitter.app.mjs +291 -0
  38. package/dist/common/additionalProps.d.ts +0 -0
  39. package/dist/common/additionalProps.mjs +138 -0
  40. package/dist/common/dataFields.d.ts +6 -0
  41. package/dist/common/dataFields.mjs +80 -0
  42. package/dist/common/expansions.d.ts +3 -0
  43. package/dist/common/expansions.mjs +17 -0
  44. package/dist/common/methods.d.ts +20 -0
  45. package/dist/common/methods.mjs +69 -0
  46. package/dist/common/types/fields.d.ts +18 -0
  47. package/dist/common/types/fields.mjs +1 -0
  48. package/dist/common/types/requestParams.d.ts +105 -0
  49. package/dist/common/types/requestParams.mjs +1 -0
  50. package/dist/common/types/responseSchemas.d.ts +42 -0
  51. package/dist/common/types/responseSchemas.mjs +1 -0
  52. package/dist/sources/common/base.d.ts +87 -0
  53. package/dist/sources/common/base.mjs +60 -0
  54. package/dist/sources/common/cacheUserId.d.ts +7 -0
  55. package/dist/sources/common/cacheUserId.mjs +18 -0
  56. package/dist/sources/common/getItemSummary.d.ts +4 -0
  57. package/dist/sources/common/getItemSummary.mjs +12 -0
  58. package/dist/sources/new-follower-of-user/new-follower-of-user.d.ts +149 -0
  59. package/dist/sources/new-follower-of-user/new-follower-of-user.mjs +45 -0
  60. package/dist/sources/new-list-followed/new-list-followed.d.ts +149 -0
  61. package/dist/sources/new-list-followed/new-list-followed.mjs +46 -0
  62. package/dist/sources/new-tweet-in-list/new-tweet-in-list.d.ts +147 -0
  63. package/dist/sources/new-tweet-in-list/new-tweet-in-list.mjs +42 -0
  64. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.d.ts +149 -0
  65. package/dist/sources/new-tweet-liked-by-user/new-tweet-liked-by-user.mjs +45 -0
  66. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.d.ts +149 -0
  67. package/dist/sources/new-tweet-posted-by-user/new-tweet-posted-by-user.mjs +45 -0
  68. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.d.ts +147 -0
  69. package/dist/sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.mjs +44 -0
  70. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.d.ts +149 -0
  71. package/dist/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +75 -0
  72. package/dist/sources/new-user-followed/new-user-followed.d.ts +148 -0
  73. package/dist/sources/new-user-followed/new-user-followed.mjs +46 -0
  74. package/dist/tsconfig.tsbuildinfo +1 -0
  75. package/package.json +10 -14
  76. package/actions/add-user-to-list/add-user-to-list.mjs +0 -62
  77. package/actions/advanced-search/advanced-search.mjs +0 -113
  78. package/actions/common.mjs +0 -29
  79. package/actions/create-tweet/create-tweet.mjs +0 -146
  80. package/actions/delete-tweet/delete-tweet.mjs +0 -42
  81. package/actions/follow-user/follow-user.mjs +0 -48
  82. package/actions/get-tweet/get-tweet.mjs +0 -42
  83. package/actions/get-user/get-user.mjs +0 -50
  84. package/actions/like-tweet/like-tweet.mjs +0 -42
  85. package/actions/list-favorites/list-favorites.mjs +0 -63
  86. package/actions/list-followers/list-followers.mjs +0 -67
  87. package/actions/list-lists/list-lists.mjs +0 -69
  88. package/actions/list-mentions/list-mentions.mjs +0 -55
  89. package/actions/list-pending-followers/list-pending-followers.mjs +0 -32
  90. package/actions/list-retweets/list-retweets.mjs +0 -54
  91. package/actions/list-user-tweets/list-user-tweets.mjs +0 -80
  92. package/actions/retweet/retweet.mjs +0 -27
  93. package/actions/simple-search/simple-search.mjs +0 -62
  94. package/actions/simple-search-in-list/simple-search-in-list.mjs +0 -48
  95. package/actions/unfollow-user/unfollow-user.mjs +0 -48
  96. package/actions/unlike-tweet/unlike-tweet.mjs +0 -40
  97. package/actions/upload-media/upload-media.mjs +0 -122
  98. package/old.md +0 -169
  99. package/sources/common/followed.mjs +0 -38
  100. package/sources/common/followers.mjs +0 -159
  101. package/sources/common/tweets.mjs +0 -155
  102. package/sources/language-codes.mjs +0 -742
  103. package/sources/my-liked-tweets/my-liked-tweets.mjs +0 -30
  104. package/sources/my-tweets/my-tweets.mjs +0 -48
  105. package/sources/new-follower-of-me/new-follower-of-me.mjs +0 -69
  106. package/sources/new-follower-of-user/new-follower-of-user.mjs +0 -25
  107. package/sources/new-list-followed/new-list-followed.mjs +0 -24
  108. package/sources/new-trends-by-geo/new-trends-by-geo.mjs +0 -40
  109. package/sources/new-tweet-in-list/new-tweet-in-list.mjs +0 -49
  110. package/sources/new-unfollower-of-me/new-unfollower-of-me.mjs +0 -16
  111. package/sources/new-unfollower-of-user/new-unfollower-of-user.mjs +0 -25
  112. package/sources/new-user-followed/new-user-followed.mjs +0 -25
  113. package/sources/search-mentions/search-mentions.mjs +0 -144
  114. package/sources/tweets-liked-by-user/tweets-liked-by-user.mjs +0 -38
  115. package/sources/user-tweets/user-tweets.mjs +0 -49
  116. package/sources/watch-retweets-of-me/watch-retweets-of-me.mjs +0 -36
  117. package/sources/watch-retweets-of-my-tweet/watch-retweets-of-my-tweet.mjs +0 -44
  118. package/sources/watch-retweets-of-user-tweet/watch-retweets-of-user-tweet.mjs +0 -34
  119. package/twitter.app.mjs +0 -1161
@@ -0,0 +1,148 @@
1
+ import { getUserSummary as getItemSummary } from "../common/getItemSummary.js";
2
+ import { getUserFields } from "../../common/methods.js";
3
+ import { User } from "../../common/types/responseSchemas.js";
4
+ declare const _default: import("@pipedream/types").Source<{
5
+ getUserFields: typeof getUserFields;
6
+ getEntityName(): "User Followed";
7
+ getItemSummary: typeof getItemSummary;
8
+ getResources(maxResults?: number): Promise<User[]>;
9
+ getCachedUserId: () => Promise<string>;
10
+ getUserId: typeof import("../../common/methods.js").getUserId;
11
+ getSavedIds(): string[];
12
+ setSavedIds(data: string[]): void;
13
+ getAndProcessData(maxResults?: number): Promise<void>;
14
+ emitEvent(data: import("../../common/types/responseSchemas.js").TwitterEntity): void;
15
+ }, {
16
+ userNameOrId: {
17
+ propDefinition: (string | import("@pipedream/types").App<{
18
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
19
+ _getBaseUrl(): "https://api.twitter.com/2";
20
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
21
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
22
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
23
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
24
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
25
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
26
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
27
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
28
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
29
+ getAuthenticatedUserId(): Promise<string>;
30
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
31
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
32
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
33
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
34
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
35
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
36
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
37
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
38
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
39
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
40
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
41
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
42
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
43
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
44
+ }, {
45
+ maxResults: {
46
+ type: string;
47
+ label: string;
48
+ description: string;
49
+ optional: boolean;
50
+ };
51
+ listId: {
52
+ type: string;
53
+ label: string;
54
+ description: string;
55
+ options(): Promise<{
56
+ label: string;
57
+ value: string;
58
+ }[]>;
59
+ };
60
+ userNameOrId: {
61
+ type: string;
62
+ label: string;
63
+ description: string;
64
+ optional: boolean;
65
+ default: string;
66
+ };
67
+ tweetId: {
68
+ type: string;
69
+ label: string;
70
+ description: string;
71
+ };
72
+ query: {
73
+ type: string;
74
+ label: string;
75
+ description: string;
76
+ };
77
+ }>)[];
78
+ };
79
+ app: import("@pipedream/types").App<{
80
+ _getAuthHeader(config: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("oauth-1.0a").Header>;
81
+ _getBaseUrl(): "https://api.twitter.com/2";
82
+ _httpRequest({ $, ...args }: import("../../common/types/requestParams.js").HttpRequestParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
83
+ _paginatedRequest({ maxResults, maxPerPage, params, ...args }: import("../../common/types/requestParams.js").PaginatedRequestParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").TwitterEntity>>;
84
+ addUserToList({ listId, ...args }: import("../../common/types/requestParams.js").AddUserToListParams): Promise<object>;
85
+ createTweet(args: import("../../common/types/requestParams.js").CreateTweetParams): Promise<object>;
86
+ deleteTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").DeleteTweetParams): Promise<object>;
87
+ followUser(args: import("../../common/types/requestParams.js").FollowUserParams): Promise<object>;
88
+ getListTweets({ listId, ...args }: import("../../common/types/requestParams.js").GetListTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
89
+ getTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").GetTweetParams): Promise<import("../../common/types/responseSchemas").ResponseObject<import("../../common/types/responseSchemas").Tweet>>;
90
+ getAuthenticatedUser(args: import("../../common/types/requestParams.js").GetAuthenticatedUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
91
+ getAuthenticatedUserId(): Promise<string>;
92
+ getUserLikedTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserLikedTweetParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
93
+ getUserOwnedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserOwnedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
94
+ getUserFollowedLists({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowedListsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").List>>;
95
+ getUserMentions({ userId, ...args }: import("../../common/types/requestParams.js").GetUserMentionsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
96
+ getUserTweets({ userId, ...args }: import("../../common/types/requestParams.js").GetUserTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
97
+ getUserByUsername(username: string): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
98
+ getUser({ userId, ...args }: import("../../common/types/requestParams.js").GetUserParams): Promise<import("../../common/types/responseSchemas").ResponseObject<User>>;
99
+ likeTweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
100
+ getUserFollowers({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
101
+ getUserFollowing({ userId, ...args }: import("../../common/types/requestParams.js").GetUserFollowersParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<User>>;
102
+ retweet(args: import("../../common/types/requestParams.js").LikeTweetParams): Promise<object>;
103
+ searchTweets(args: import("../../common/types/requestParams.js").SearchTweetsParams): Promise<import("../../common/types/responseSchemas").PaginatedResponseObject<import("../../common/types/responseSchemas").Tweet>>;
104
+ unfollowUser({ userId, ...args }: import("../../common/types/requestParams.js").UnfollowUserParams): Promise<object>;
105
+ unlikeTweet({ tweetId, ...args }: import("../../common/types/requestParams.js").UnlikeTweetParams): Promise<object>;
106
+ }, {
107
+ maxResults: {
108
+ type: string;
109
+ label: string;
110
+ description: string;
111
+ optional: boolean;
112
+ };
113
+ listId: {
114
+ type: string;
115
+ label: string;
116
+ description: string;
117
+ options(): Promise<{
118
+ label: string;
119
+ value: string;
120
+ }[]>;
121
+ };
122
+ userNameOrId: {
123
+ type: string;
124
+ label: string;
125
+ description: string;
126
+ optional: boolean;
127
+ default: string;
128
+ };
129
+ tweetId: {
130
+ type: string;
131
+ label: string;
132
+ description: string;
133
+ };
134
+ query: {
135
+ type: string;
136
+ label: string;
137
+ description: string;
138
+ };
139
+ }>;
140
+ db: string;
141
+ timer: {
142
+ type: string;
143
+ default: {
144
+ intervalSeconds: number;
145
+ };
146
+ };
147
+ }>;
148
+ export default _default;
@@ -0,0 +1,46 @@
1
+ import app from "../../app/twitter.app.mjs";
2
+ import { defineSource } from "@pipedream/types";
3
+ import common from "../common/base.mjs";
4
+ import { getUserSummary as getItemSummary } from "../common/getItemSummary.mjs";
5
+ import { getUserFields } from "../../common/methods.mjs";
6
+ import cacheUserId from "../common/cacheUserId.mjs";
7
+ const DOCS_LINK = "https://developer.twitter.com/en/docs/twitter-api/users/follows/api-reference/get-users-id-following";
8
+ const MAX_RESULTS_PER_PAGE = 1000;
9
+ export default defineSource({
10
+ ...common,
11
+ key: "twitter-new-user-followed",
12
+ name: "New User Followed by User",
13
+ description: `Emit new event when the specified User follows another User [See docs here](${DOCS_LINK})`,
14
+ version: "1.1.0",
15
+ type: "source",
16
+ props: {
17
+ ...common.props,
18
+ userNameOrId: {
19
+ propDefinition: [
20
+ app,
21
+ "userNameOrId",
22
+ ],
23
+ },
24
+ },
25
+ methods: {
26
+ ...common.methods,
27
+ ...cacheUserId,
28
+ getUserFields,
29
+ getEntityName() {
30
+ return "User Followed";
31
+ },
32
+ getItemSummary,
33
+ async getResources(maxResults) {
34
+ const userId = await this.getCachedUserId();
35
+ const params = {
36
+ $: this,
37
+ maxPerPage: MAX_RESULTS_PER_PAGE,
38
+ maxResults: maxResults ?? MAX_RESULTS_PER_PAGE,
39
+ params: this.getUserFields(),
40
+ userId,
41
+ };
42
+ const { data } = await this.app.getUserFollowing(params);
43
+ return data;
44
+ },
45
+ },
46
+ });
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/oauth-1.0a@2.2.6/node_modules/oauth-1.0a/oauth-1.0a.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@17.0.45/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@pipedream+types@0.1.5/node_modules/@pipedream/types/dist/index.d.ts","../common/types/fields.ts","../common/types/requestParams.ts","../common/types/responseSchemas.ts","../app/twitter.app.ts","../common/dataFields.ts","../common/expansions.ts","../common/methods.ts","../actions/add-user-to-list/add-user-to-list.ts","../actions/create-tweet/create-tweet.ts","../actions/delete-tweet/delete-tweet.ts","../actions/follow-user/follow-user.ts","../actions/get-tweet/get-tweet.ts","../actions/get-user/get-user.ts","../actions/like-tweet/like-tweet.ts","../actions/list-favorites/list-favorites.ts","../actions/list-followers/list-followers.ts","../actions/list-lists/list-lists.ts","../actions/list-mentions/list-mentions.ts","../actions/list-user-tweets/list-user-tweets.ts","../actions/retweet/retweet.ts","../actions/simple-search/simple-search.ts","../actions/simple-search-in-list/simple-search-in-list.ts","../actions/unfollow-user/unfollow-user.ts","../actions/unlike-tweet/unlike-tweet.ts","../sources/common/base.ts","../sources/common/cacheUserId.ts","../sources/common/getItemSummary.ts","../sources/new-follower-of-user/new-follower-of-user.ts","../sources/new-list-followed/new-list-followed.ts","../sources/new-tweet-in-list/new-tweet-in-list.ts","../sources/new-tweet-liked-by-user/new-tweet-liked-by-user.ts","../sources/new-tweet-posted-by-user/new-tweet-posted-by-user.ts","../sources/new-tweet-posted-matching-query/new-tweet-posted-matching-query.ts","../sources/new-unfollower-of-user/new-unfollower-of-user.ts","../sources/new-user-followed/new-user-followed.ts","../common/additionalProps.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/jest-diff@27.5.1/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/types.d.ts","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@27.5.1/node_modules/jest-diff/build/types.d.ts","../../../node_modules/.pnpm/jest-diff@27.5.1/node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/.pnpm/jest-diff@27.5.1/node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/.pnpm/jest-diff@27.5.1/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@27.5.1/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@27.5.2/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+prettier@2.7.2/node_modules/@types/prettier/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"a7755c2d99539fb62de0630fb339af59614846f4551daccf6cb26586a114e8ba","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"af9771b066ec35ffa1c7db391b018d2469d55e51b98ae95e62b6cbef1b0169ca","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","2c20f4c2ceba56d3b255b1ba1c1e4c893d2042817150cbd8e4e04fb22e29b93e",{"version":"1074a045d133f703776ae7b124023dde110d45c0a9591f067754ea433c9dc62c","signature":"3292249ae53ef0ddead9ae8331fd045b7f58bcdca3dbe97dbc1c978416678f50"},{"version":"aa939652ff99453e42569ec165a7ed53b1d89619654ce5f226eb462992b8bdcd","signature":"134f1219d550620832608b7240b0199b3303c4aa9866476a20999d5028f94587"},{"version":"9c9283588dcc2fe8456abd793c89de1a6ce407fbe7f472b6186840f1575ed055","signature":"48b75066cc39ea90b613fcfd86003a224a813e4c829fcfac87da3433e0b49607"},{"version":"ced26136115383665ac6ddca2f7cfa0e75c153b8aead8a25d708bdf21b35d927","signature":"d19e22b2289a6fc797dc1a40f36a83ff4cf13486e7ad5c5fc56f2a791f5678ba"},{"version":"ec54a3355441789ea0a174bdb82f58905b3b6c73be9a13e7d83e84303b34902d","signature":"e8851b5d6f3c67a4cb3fff08370f281df75a8d33e1749859cc789aa9325e465b"},{"version":"608e5e2046c837f4df75b8c633602d33c28e8ddbbf4a24ba751beb26b1cbc2aa","signature":"64e9837b92bf7ccf87916125b5a492c271b07831e89704d1fa94b0572b264ae1"},{"version":"a8dfa4f78cd75973dbccd4cdc786614b30ff63a92bf1f950d772f9d0427f0c73","signature":"e447ffd0879d38e9637ac96db7962ca09f1f739fec540610251a042aa1276937"},{"version":"2bbf8d73e06ae7f49f0807b976b4fb1d15acd66c254ec0e2edbfee2655103750","signature":"abf50d17868eab8bebabf1d4d5d6e4c7ab0c68309b24ac59df2c8d3c873b996b"},{"version":"ea76772845bba531e5202063aab2d91446d7aa43e032138f5910a7b0f57aa795","signature":"6681458faf972000393d48a9d12ffdd8d23972d767d58a6f29f32f2851cb9d46"},{"version":"c52c0976ca1cbdedc943204405c3de41f7f9ed5241dc6029f038a5745b1db564","signature":"206aa02eb8faaa8d8b13734df97d1d7dd088f55608be0d089c22e09357b1cead"},{"version":"b932294c3e2f4dab14a09474ad5b951e5a00ad6b547ef4123f872399c419d6ce","signature":"98e355455f999a1d27cab3eda33049ec02900d7755e8ffd81c28b7c0875dba16"},{"version":"37d4fe50af1adf6d7957f71539c3e46964eed5811cf7c9c4a80f39c3f7feb7b2","signature":"98c6d05e17a9e3f9d0cee40aee39c3f7dd389aa6ff296916480d04c288860ae2"},{"version":"b0e2d977b7fcfe629cc15a45858e3543be27937d6f85808d2c69660226027a19","signature":"dfecddef8a7bf68d232436abc6c16d0f6c255ed35047913823ffca8c4c99349e"},{"version":"22a82782e149da477d56a5db7e2e0daa793322b976b48b0c01ba783bd0737aa6","signature":"e7ffc20522dcab25f50135f2183e740bc0f54892d867a35bece7bce9b06969d4"},{"version":"37ad9c61517875d77ba847c02ab8e6b4d2d72b059c02140ef881542e9423b464","signature":"f75993d3f8be6a54a8e04db78a6ee0e42ea3320a2445755ed03f4acb163a1915"},{"version":"d3a8306e48e5a080b2fe0b1b277833257ec2487670b181a7e9451caa443b6355","signature":"5313b279513cd89bd59ba146dc0b9ae69317e318f8a3f25b3297c5d2be7ac6d6"},{"version":"4341c03917f7b593b485b9aaf43b5a049d5ee045d126a4eafa7641d49d745d55","signature":"6db8a0d051a466584a74a93e6733ffe9b9c176e7c9c2b14d2364b6a3346e3180"},{"version":"2af405da9d9dfd549b08d5dbda6e833501884fc5aa1e0edb8d0476b22267b256","signature":"d624269c362e0483586988d1c2d945beb6bc988cf1c84a914f71709231667ada"},{"version":"03d79367dd8052190933217a69dd904d5624409667a90f38e535b213b741d00f","signature":"effaaf87f4b2a49a6a980079fb519679d1f3799cd012c94e376bcffee6736774"},{"version":"12092d47f9a79f81edd1feac0802fd8e5c985c3ba7f1e4331c4bcef90f9c2c5f","signature":"cbc2e35d23be75f0bde9226e54103fd9eba7d2307cde3d7ea14f04ef20937ae1"},{"version":"77b3bf306307bc3f62f3109be65c7bedb831f83e3267e984413be6d306d44f97","signature":"01f946ced9b87bdd632787bd938b444912ff49bac398020f1aec685c18ac7759"},{"version":"a4090e301ed3f19ec665af8f37d0af9157477620f118a0161680197991e18504","signature":"3186774570403beb7d7f32ecc5d61a0a4b28d461c1f183dcd449fcd95d72f4ea"},{"version":"ddb5f5e82e467639600064259c64be4611bf90c5e6e35b06b20634049f8eceac","signature":"7889e5807ea267239f046e66693fd3774c85a6cedfc5c0041d45f3313552dd75"},{"version":"c1714040432f3d1a8fa7aac3e8cfc20ddc47b8d996fec8698b6671ede7eed581","signature":"11c4ec9adf4cbf8c7ffdfc041aa287793399c74f9db92cfcbe2a1018f2ebb2c9"},{"version":"244d8ce92d74d0a529b2e66d965effc4fd4bc992be13a4abeed7df8e3e0453ef","signature":"57be7cdbd5e9996cd6aa635bda23e0637aee8136dac1c630e5b2f8b959f121c8"},{"version":"f3844b110d223ab46af440f5159178a14989584dbdabc6d6f96afb2fc27c4b83","signature":"b00e8f99be211dbbe5ce89816a1591252a89c1e73a72ff9b0d1e9998503df91a"},{"version":"eb6f0b2844fe8cff603b43948c09ca54c9dd2a75900b070c2b34493b61ffe433","signature":"267597318dba1946b4fa33797161d9a3d59248e599980bbc4e7e0c78b3012cbe"},{"version":"b1b82a11e5fb3a628bc5d2549ea9f0f6ba67d7bbbc8376b403be11f63f5868ea","signature":"c4bff9d754e3bce064f7a71b2cac21afa94096b59b4a613d1c59de012a736cb7"},{"version":"52f3fdf9ecfff1c3c51f22806053675ee27d790e1ed1b46591796807ebf1c3d7","signature":"188a32712e8b3885b2f70386113d54514a5f89fd621ab5a98441cc77fe3cb87c"},{"version":"e20706e51fda888691a5c97f4254f07c1163b62360c9cb195f2abd0ae35b9f57","signature":"701c346e57d4ee5441ab4f320e082dec830334e1158e10ceae199ed9e34694d5"},{"version":"da33d37144594b271d2bba9585abf544234040dbefce75a9743e045da6ed4f89","signature":"90feda00830a35feb328bae37d5b2c40718d6e864652b23f97db7649c1cfc324"},{"version":"1bcf9d53b1de17abb8eb0ca4a7ea2d7b471a5b97e5e11a22cb62a9e09a2aba7d","signature":"a8ee13608346ae13d016f9101ee471e0079a54cf283302e004f2045d27b6d75f"},{"version":"e380ca22c78ed36bbd8395ed3f9e2eba3c43d2fb4fea15a5a6336628348f3a56","signature":"8e3d542fba0f21a1dba7f13b7e28396232467ea8b4906875e15397f3474c0743"},{"version":"24c801cc3a1139c7700d276e151749421421648007615e1737246e08f51c3569","signature":"27e013e314c95352c52b304205bb6d7215c42697e9760c8ed230c8d654c367ad"},{"version":"2806321d22944936fbd06f3eab6e295593ae02a09c0a90d483a5bacd3940225a","signature":"94be6aae3f327f921b5e9944666dc46f44f546212cc94a0269fa76d67fc8c220"},{"version":"22fb97118c00178818b7755d00da0f01cc5c1c57235d6e294f6d903cee1a0379","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":6,"outDir":"./","target":7},"fileIdsList":[[86,94,96,98,101],[86,94,96,98],[86,94,96,97,98,101],[42,52,86,94,96,97],[86],[86,99,100],[86,94,95],[86,97,98],[86,101],[86,97],[86,94,96,97,98,101,110,119,120,121],[86,94,96,97,98,101,119,120,121],[86,94,96,97,98,101,116,119,121],[86,94,96,97,98,101,109,119,120,121],[86,94,96,97,98,101,113,119,120,121],[86,94,96,97,98,101,115,119,121],[86,94,96,97,98,110,119,120,121],[86,93],[86,134,139],[43,86],[46,86],[47,52,86],[48,58,59,66,75,85,86],[48,49,58,66,86],[50,86],[51,52,59,67,86],[52,75,82,86],[53,55,58,66,86],[54,86],[55,56,86],[57,58,86],[58,86],[58,59,60,75,85,86],[58,59,60,75,86],[86,90],[61,66,75,85,86],[58,59,61,62,66,75,82,85,86],[61,63,75,82,85,86],[43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],[58,64,86],[65,85,86],[55,58,66,75,86],[67,86],[68,86],[46,69,86],[70,84,86,90],[71,86],[72,86],[58,73,86],[73,74,86,88],[58,75,76,77,86],[75,77,86],[75,76,86],[78,86],[79,86],[58,80,81,86],[80,81,86],[52,66,75,82,86],[83,86],[66,84,86],[47,61,72,85,86],[52,86],[75,86,87],[86,88],[86,89],[47,52,58,60,69,75,85,86,88,90],[75,86,91],[86,132,135],[86,132,135,136,137],[86,134],[86,131,138],[86,133],[42,94,96,97,101],[42,94,96,97],[94,95],[101],[97],[42,94,96,97,101,121]],"referencedMap":[[102,1],[103,2],[104,2],[105,1],[106,3],[107,3],[108,2],[109,3],[110,3],[111,3],[112,3],[113,3],[114,2],[116,3],[115,3],[117,1],[118,2],[98,4],[130,5],[99,5],[100,5],[101,6],[95,5],[96,7],[97,5],[119,8],[120,9],[121,10],[122,11],[123,12],[124,13],[125,14],[126,15],[127,16],[128,17],[129,12],[94,18],[140,19],[43,20],[44,20],[46,21],[47,22],[48,23],[49,24],[50,25],[51,26],[52,27],[53,28],[54,29],[55,30],[56,30],[57,31],[58,32],[59,33],[60,34],[45,35],[92,5],[61,36],[62,37],[63,38],[93,39],[64,40],[65,41],[66,42],[67,43],[68,44],[69,45],[70,46],[71,47],[72,48],[73,49],[74,50],[75,51],[77,52],[76,53],[78,54],[79,55],[80,56],[81,57],[82,58],[83,59],[84,60],[85,61],[86,62],[87,63],[88,64],[89,65],[90,66],[91,67],[141,5],[131,5],[132,5],[136,68],[138,69],[137,68],[135,70],[139,71],[42,5],[134,72],[133,5],[9,5],[8,5],[2,5],[10,5],[11,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[3,5],[4,5],[21,5],[18,5],[19,5],[20,5],[22,5],[23,5],[24,5],[5,5],[25,5],[26,5],[27,5],[28,5],[6,5],[32,5],[29,5],[30,5],[31,5],[33,5],[7,5],[34,5],[39,5],[40,5],[35,5],[36,5],[37,5],[38,5],[1,5],[41,5]],"exportedModulesMap":[[102,73],[103,74],[104,74],[105,73],[106,73],[107,73],[108,74],[109,73],[110,73],[111,73],[112,73],[113,73],[114,74],[116,73],[115,73],[117,73],[118,74],[98,74],[96,75],[119,74],[120,76],[121,77],[122,78],[123,78],[124,78],[125,78],[126,78],[127,78],[128,78],[129,78],[94,18],[140,19],[43,20],[44,20],[46,21],[47,22],[48,23],[49,24],[50,25],[51,26],[52,27],[53,28],[54,29],[55,30],[56,30],[57,31],[58,32],[59,33],[60,34],[45,35],[92,5],[61,36],[62,37],[63,38],[93,39],[64,40],[65,41],[66,42],[67,43],[68,44],[69,45],[70,46],[71,47],[72,48],[73,49],[74,50],[75,51],[77,52],[76,53],[78,54],[79,55],[80,56],[81,57],[82,58],[83,59],[84,60],[85,61],[86,62],[87,63],[88,64],[89,65],[90,66],[91,67],[141,5],[131,5],[132,5],[136,68],[138,69],[137,68],[135,70],[139,71],[42,5],[134,72],[133,5],[9,5],[8,5],[2,5],[10,5],[11,5],[12,5],[13,5],[14,5],[15,5],[16,5],[17,5],[3,5],[4,5],[21,5],[18,5],[19,5],[20,5],[22,5],[23,5],[24,5],[5,5],[25,5],[26,5],[27,5],[28,5],[6,5],[32,5],[29,5],[30,5],[31,5],[33,5],[7,5],[34,5],[39,5],[40,5],[35,5],[36,5],[37,5],[38,5],[1,5],[41,5]],"semanticDiagnosticsPerFile":[102,103,104,105,106,107,108,109,110,111,112,113,114,116,115,117,118,98,130,99,100,101,95,96,97,119,120,121,122,123,124,125,126,127,128,129,94,140,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,45,92,61,62,63,93,64,65,66,67,68,69,70,71,72,73,74,75,77,76,78,79,80,81,82,83,84,85,86,87,88,89,90,91,141,131,132,136,138,137,135,139,42,134,133,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,1,41],"latestChangedDtsFile":"./common/additionalProps.d.ts"},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,27 +1,23 @@
1
1
  {
2
2
  "name": "@pipedream/twitter",
3
- "version": "0.3.11",
3
+ "version": "1.1.0",
4
4
  "description": "Pipedream Twitter Components",
5
- "main": "twitter.app.mjs",
5
+ "main": "dist/app/twitter.app.mjs",
6
6
  "keywords": [
7
7
  "pipedream",
8
8
  "twitter"
9
9
  ],
10
+ "files": [
11
+ "dist"
12
+ ],
10
13
  "homepage": "https://pipedream.com/apps/twitter",
11
14
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
- "dependencies": {
13
- "@pipedream/platform": "^1.2.0",
14
- "async-retry": "^1.3.3",
15
- "axios": "^0.21.1",
16
- "form-data": "^4.0.0",
17
- "lodash": "^4.17.21",
18
- "luxon": "^3.2.0",
19
- "mime": "^3.0.0",
20
- "moment": "^2.29.1",
21
- "querystring": "^0.2.0"
22
- },
23
- "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
24
15
  "publishConfig": {
25
16
  "access": "public"
17
+ },
18
+ "dependencies": {
19
+ "@pipedream/platform": "^1.4.1",
20
+ "@pipedream/types": "^0.1.4",
21
+ "oauth-1.0a": "^2.2.6"
26
22
  }
27
23
  }
@@ -1,62 +0,0 @@
1
- import twitter from "../../twitter.app.mjs";
2
-
3
- export default {
4
- key: "twitter-add-user-to-list",
5
- name: "Add User To List",
6
- description: "Add a member to a list. The authenticated user must own the list to be able to add members to it. [See the docs here](https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create)",
7
- version: "0.0.2",
8
- type: "action",
9
- props: {
10
- twitter,
11
- list: {
12
- propDefinition: [
13
- twitter,
14
- "listSlug",
15
- ],
16
- },
17
- userId: {
18
- propDefinition: [
19
- twitter,
20
- "userId",
21
- ],
22
- optional: true,
23
- },
24
- screenName: {
25
- propDefinition: [
26
- twitter,
27
- "screenName",
28
- ],
29
- optional: true,
30
- },
31
- },
32
- async run({ $ }) {
33
- const {
34
- list,
35
- userId,
36
- screenName,
37
- } = this;
38
-
39
- if (!userId && !screenName) {
40
- throw new Error("This action requires either User ID or Screen Name. Please enter one or the other above.");
41
- }
42
-
43
- const { screen_name: ownerScreenName } = await this.twitter.verifyCredentials({
44
- $,
45
- });
46
-
47
- const params = {
48
- slug: list,
49
- ownerScreenName,
50
- };
51
- if (userId) params.userId = userId;
52
- if (screenName) params.screenName = screenName;
53
-
54
- const res = await this.twitter.addUserToList({
55
- $,
56
- ...params,
57
- });
58
-
59
- $.export("$summary", "User successfully added to the list");
60
- return res;
61
- },
62
- };
@@ -1,113 +0,0 @@
1
- import twitter from "../../twitter.app.mjs";
2
-
3
- export default {
4
- key: "twitter-advanced-search",
5
- name: "Advanced Search",
6
- description: "Return Tweets that matches your search criteria. [See the docs here](https://developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets)",
7
- version: "0.0.4",
8
- type: "action",
9
- props: {
10
- db: "$.service.db",
11
- twitter,
12
- q: {
13
- propDefinition: [
14
- twitter,
15
- "q",
16
- ],
17
- },
18
- resultType: {
19
- propDefinition: [
20
- twitter,
21
- "resultType",
22
- ],
23
- },
24
- includeRetweets: {
25
- propDefinition: [
26
- twitter,
27
- "includeRetweets",
28
- ],
29
- },
30
- includeReplies: {
31
- propDefinition: [
32
- twitter,
33
- "includeReplies",
34
- ],
35
- },
36
- lang: {
37
- propDefinition: [
38
- twitter,
39
- "lang",
40
- ],
41
- },
42
- locale: {
43
- propDefinition: [
44
- twitter,
45
- "locale",
46
- ],
47
- },
48
- geocode: {
49
- propDefinition: [
50
- twitter,
51
- "geocode",
52
- ],
53
- },
54
- sinceId: {
55
- propDefinition: [
56
- twitter,
57
- "sinceId",
58
- ],
59
- },
60
- enrichTweets: {
61
- propDefinition: [
62
- twitter,
63
- "enrichTweets",
64
- ],
65
- },
66
- count: {
67
- propDefinition: [
68
- twitter,
69
- "count",
70
- ],
71
- },
72
- maxRequests: {
73
- propDefinition: [
74
- twitter,
75
- "maxRequests",
76
- ],
77
- },
78
- },
79
- async run({ $ }) {
80
- const {
81
- lang,
82
- locale,
83
- geocode,
84
- resultType,
85
- enrichTweets,
86
- includeReplies,
87
- includeRetweets,
88
- sinceId,
89
- maxRequests,
90
- count,
91
- q,
92
- } = this;
93
-
94
- // run paginated search
95
- const res = await this.twitter.paginatedSearch({
96
- $,
97
- q,
98
- sinceId,
99
- lang,
100
- locale,
101
- geocode,
102
- resultType,
103
- enrichTweets,
104
- includeReplies,
105
- includeRetweets,
106
- maxRequests,
107
- count,
108
- limitFirstPage: false,
109
- });
110
- $.export("$summary", "Search completed successfully");
111
- return res;
112
- },
113
- };
@@ -1,29 +0,0 @@
1
- import twitter from "../twitter.app.mjs";
2
-
3
- export default {
4
- props: {
5
- twitter,
6
- },
7
- methods: {
8
- async *paginate(resourceFn, params = {}, resourceType = null) {
9
- const { maxRequests = 1 } = params;
10
- delete params.maxResults;
11
- let count = 0;
12
- let cursor = true;
13
- while (cursor && count < maxRequests) {
14
- const results = await resourceFn(params);
15
- const items = resourceType
16
- ? results[resourceType]
17
- : results;
18
- for (const item of items) {
19
- yield item;
20
- }
21
- cursor = results.next_cursor;
22
- if (cursor) {
23
- params.cursor = cursor;
24
- }
25
- count++;
26
- }
27
- },
28
- },
29
- };