rettiwt-api 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/.dockerignore +2 -0
  2. package/.gitattributes +3 -0
  3. package/Dockerfile +9 -0
  4. package/README.md +38 -0
  5. package/dist/config/env.d.ts +5 -0
  6. package/dist/config/env.js +9 -0
  7. package/dist/config/env.js.map +1 -0
  8. package/dist/index.d.ts +10 -0
  9. package/dist/index.js +23 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/models/graphql/Global.d.ts +4 -0
  12. package/dist/models/graphql/Global.js +13 -0
  13. package/dist/models/graphql/Global.js.map +1 -0
  14. package/dist/models/graphql/TweetTypes.d.ts +6 -0
  15. package/dist/models/graphql/TweetTypes.js +156 -0
  16. package/dist/models/graphql/TweetTypes.js.map +1 -0
  17. package/dist/models/graphql/UserTypes.d.ts +3 -0
  18. package/dist/models/graphql/UserTypes.js +139 -0
  19. package/dist/models/graphql/UserTypes.js.map +1 -0
  20. package/dist/queries/RootQuery.d.ts +4 -0
  21. package/dist/queries/RootQuery.js +59 -0
  22. package/dist/queries/RootQuery.js.map +1 -0
  23. package/dist/resolvers/ResolverBase.d.ts +5 -0
  24. package/dist/resolvers/ResolverBase.js +11 -0
  25. package/dist/resolvers/ResolverBase.js.map +1 -0
  26. package/dist/resolvers/TweetResolver.d.ts +54 -0
  27. package/dist/resolvers/TweetResolver.js +328 -0
  28. package/dist/resolvers/TweetResolver.js.map +1 -0
  29. package/dist/resolvers/UserResolver.d.ts +47 -0
  30. package/dist/resolvers/UserResolver.js +302 -0
  31. package/dist/resolvers/UserResolver.js.map +1 -0
  32. package/dist/server.d.ts +1 -0
  33. package/dist/server.js +75 -0
  34. package/dist/server.js.map +1 -0
  35. package/dist/services/AuthService.d.ts +17 -0
  36. package/dist/services/AuthService.js +103 -0
  37. package/dist/services/AuthService.js.map +1 -0
  38. package/dist/services/CacheService.d.ts +25 -0
  39. package/dist/services/CacheService.js +141 -0
  40. package/dist/services/CacheService.js.map +1 -0
  41. package/dist/services/FetcherService.d.ts +30 -0
  42. package/dist/services/FetcherService.js +171 -0
  43. package/dist/services/FetcherService.js.map +1 -0
  44. package/dist/services/data/TweetService.d.ts +43 -0
  45. package/dist/services/data/TweetService.js +229 -0
  46. package/dist/services/data/TweetService.js.map +1 -0
  47. package/dist/services/data/UserAccountService.d.ts +49 -0
  48. package/dist/services/data/UserAccountService.js +250 -0
  49. package/dist/services/data/UserAccountService.js.map +1 -0
  50. package/dist/services/helper/Deserializers.d.ts +19 -0
  51. package/dist/services/helper/Deserializers.js +115 -0
  52. package/dist/services/helper/Deserializers.js.map +1 -0
  53. package/dist/services/helper/Extractors.d.ts +101 -0
  54. package/dist/services/helper/Extractors.js +409 -0
  55. package/dist/services/helper/Extractors.js.map +1 -0
  56. package/dist/services/helper/Headers.d.ts +9 -0
  57. package/dist/services/helper/Headers.js +47 -0
  58. package/dist/services/helper/Headers.js.map +1 -0
  59. package/dist/services/helper/Parser.d.ts +28 -0
  60. package/dist/services/helper/Parser.js +104 -0
  61. package/dist/services/helper/Parser.js.map +1 -0
  62. package/dist/services/helper/Urls.d.ts +74 -0
  63. package/dist/services/helper/Urls.js +114 -0
  64. package/dist/services/helper/Urls.js.map +1 -0
  65. package/dist/test/Test.js +2 -0
  66. package/dist/test/Test.js.map +1 -0
  67. package/dist/types/Authentication.d.ts +15 -0
  68. package/dist/types/Authentication.js +5 -0
  69. package/dist/types/Authentication.js.map +1 -0
  70. package/dist/types/HTTP.d.ts +22 -0
  71. package/dist/types/HTTP.js +30 -0
  72. package/dist/types/HTTP.js.map +1 -0
  73. package/dist/types/Service.d.ts +27 -0
  74. package/dist/types/Service.js +19 -0
  75. package/dist/types/Service.js.map +1 -0
  76. package/dist/types/Tweet.d.ts +40 -0
  77. package/dist/types/Tweet.js +5 -0
  78. package/dist/types/Tweet.js.map +1 -0
  79. package/dist/types/UserAccount.d.ts +19 -0
  80. package/dist/types/UserAccount.js +4 -0
  81. package/dist/types/UserAccount.js.map +1 -0
  82. package/dist/types/graphql/Errors.d.ts +15 -0
  83. package/dist/types/graphql/Errors.js +23 -0
  84. package/dist/types/graphql/Errors.js.map +1 -0
  85. package/dist/types/raw/auth/Cookie.d.ts +16 -0
  86. package/dist/types/raw/auth/Cookie.js +3 -0
  87. package/dist/types/raw/auth/Cookie.js.map +1 -0
  88. package/dist/types/raw/tweet/Favouriters.d.ts +164 -0
  89. package/dist/types/raw/tweet/Favouriters.js +3 -0
  90. package/dist/types/raw/tweet/Favouriters.js.map +1 -0
  91. package/dist/types/raw/tweet/Retweeters.d.ts +171 -0
  92. package/dist/types/raw/tweet/Retweeters.js +3 -0
  93. package/dist/types/raw/tweet/Retweeters.js.map +1 -0
  94. package/dist/types/raw/tweet/Tweet.d.ts +746 -0
  95. package/dist/types/raw/tweet/Tweet.js +3 -0
  96. package/dist/types/raw/tweet/Tweet.js.map +1 -0
  97. package/dist/types/raw/tweet/Tweets.d.ts +386 -0
  98. package/dist/types/raw/tweet/Tweets.js +3 -0
  99. package/dist/types/raw/tweet/Tweets.js.map +1 -0
  100. package/dist/types/raw/user/Followers.d.ts +176 -0
  101. package/dist/types/raw/user/Followers.js +3 -0
  102. package/dist/types/raw/user/Followers.js.map +1 -0
  103. package/dist/types/raw/user/Following.d.ts +176 -0
  104. package/dist/types/raw/user/Following.js +3 -0
  105. package/dist/types/raw/user/Following.js.map +1 -0
  106. package/dist/types/raw/user/Likes.d.ts +1059 -0
  107. package/dist/types/raw/user/Likes.js +3 -0
  108. package/dist/types/raw/user/Likes.js.map +1 -0
  109. package/dist/types/raw/user/Tweets.d.ts +2428 -0
  110. package/dist/types/raw/user/Tweets.js +3 -0
  111. package/dist/types/raw/user/Tweets.js.map +1 -0
  112. package/dist/types/raw/user/User.d.ts +117 -0
  113. package/dist/types/raw/user/User.js +3 -0
  114. package/dist/types/raw/user/User.js.map +1 -0
  115. package/dist/types/raw/user/Users.d.ts +120 -0
  116. package/dist/types/raw/user/Users.js +3 -0
  117. package/dist/types/raw/user/Users.js.map +1 -0
  118. package/environment.d.ts +11 -0
  119. package/package.json +40 -0
  120. package/src/config/env.ts +5 -0
  121. package/src/index.ts +19 -0
  122. package/src/models/graphql/Global.ts +10 -0
  123. package/src/models/graphql/TweetTypes.ts +154 -0
  124. package/src/models/graphql/UserTypes.ts +137 -0
  125. package/src/queries/RootQuery.ts +56 -0
  126. package/src/resolvers/ResolverBase.ts +12 -0
  127. package/src/resolvers/TweetResolver.ts +257 -0
  128. package/src/resolvers/UserResolver.ts +239 -0
  129. package/src/server.ts +36 -0
  130. package/src/services/AuthService.ts +58 -0
  131. package/src/services/CacheService.ts +70 -0
  132. package/src/services/FetcherService.ts +84 -0
  133. package/src/services/data/TweetService.ts +163 -0
  134. package/src/services/data/UserAccountService.ts +187 -0
  135. package/src/services/helper/Deserializers.ts +95 -0
  136. package/src/services/helper/Extractors.ts +455 -0
  137. package/src/services/helper/Headers.ts +45 -0
  138. package/src/services/helper/Parser.ts +108 -0
  139. package/src/services/helper/Urls.ts +109 -0
  140. package/src/types/Authentication.ts +16 -0
  141. package/src/types/HTTP.ts +23 -0
  142. package/src/types/Service.ts +36 -0
  143. package/src/types/Tweet.ts +44 -0
  144. package/src/types/UserAccount.ts +21 -0
  145. package/src/types/graphql/Errors.ts +16 -0
  146. package/src/types/raw/auth/Cookie.ts +16 -0
  147. package/src/types/raw/tweet/Favouriters.ts +193 -0
  148. package/src/types/raw/tweet/Retweeters.ts +201 -0
  149. package/src/types/raw/tweet/Tweet.ts +882 -0
  150. package/src/types/raw/tweet/Tweets.ts +444 -0
  151. package/src/types/raw/user/Followers.ts +208 -0
  152. package/src/types/raw/user/Following.ts +208 -0
  153. package/src/types/raw/user/Likes.ts +1247 -0
  154. package/src/types/raw/user/Tweets.ts +2847 -0
  155. package/src/types/raw/user/User.ts +135 -0
  156. package/tsconfig.json +95 -0
@@ -0,0 +1,74 @@
1
+ /**
2
+ * @returns The url for fetching a guest token
3
+ */
4
+ export declare function guestTokenUrl(): string;
5
+ /**
6
+ * @returns The url for fetching user account details.
7
+ * @param screenName The screen name of the target user
8
+ */
9
+ export declare function userAccountUrl(screenName: string): string;
10
+ /**
11
+ * @returns The url for fetching user account details.
12
+ * @param restid The restId of the target user
13
+ */
14
+ export declare function userAccountByIdUrl(restId: string): string;
15
+ /**
16
+ * @returns The url for fetching the list of users followed bu target user.
17
+ * @param userId The rest id of the target user
18
+ * @param count The batch size of the list of following
19
+ * @param cursor The cursor to next batch
20
+ */
21
+ export declare function userFollowingUrl(userId: string, count: number, cursor: string): string;
22
+ /**
23
+ * @return The url for fetching the list of followers of the target user
24
+ * @param userId The rest id of the target user
25
+ * @param count The batch size for the list of followers
26
+ * @param cursor The cusor to next batch
27
+ */
28
+ export declare function userFollowersUrl(userId: string, count: number, cursor: string): string;
29
+ /**
30
+ * @returns The url for fetching the list of tweets liked by the target user
31
+ * @param userId The rest id of the target user
32
+ * @param count The batch size for the list of tweets
33
+ * @param cursor The cusor to next batch
34
+ */
35
+ export declare function userLikesUrl(userId: string, count: number, cursor: string): string;
36
+ /**
37
+ * @returns The url for fetching the list of tweets made by the target user
38
+ * @param userId The rest id of the target user
39
+ * @param count The batch size for the list of tweets
40
+ * @param cursor The cursor to next batch
41
+ */
42
+ export declare function userTweetsUrl(userId: string, count: number, cursor: string): string;
43
+ /**
44
+ * @returns The url for fetching the list of tweets matching the given filter
45
+ * @param query The query to be used for searching tweets
46
+ * @param count The number of tweets to fetch
47
+ * @param cursor The cusor to next batch *
48
+ */
49
+ export declare function tweetsUrl(query: string, count: number, cursor: string): string;
50
+ /**
51
+ * @returns The url for fetching the details of a given tweet
52
+ * @param tweetId The rest id of the target tweet
53
+ */
54
+ export declare function tweetDetailsUrl(tweetId: string): string;
55
+ /**
56
+ * @returns The url for fetching the list of replies to a given tweet
57
+ * @param tweetId The rest of the target tweet
58
+ * @param cursor The curor to next batch
59
+ */
60
+ export declare function tweetRepliesUrl(tweetId: string, cursor: string): string;
61
+ /**
62
+ * @returns The url for fetching the list of users who liked a given tweet
63
+ * @param tweetId The rest id of the target tweet
64
+ * @param count The batch size of the list of users
65
+ * @param cursor The curor to next batch
66
+ */
67
+ export declare function tweetLikesUrl(tweetId: string, count: number, cursor: string): string;
68
+ /**
69
+ * @returns The url for fetching the list of user who retweeted the given tweet
70
+ * @param tweetId The rest id of the target tweet
71
+ * @param count The batch size of the list of users
72
+ * @param cursor The curor to next batch
73
+ */
74
+ export declare function tweetRetweetUrl(tweetId: string, count: number, cursor: string): string;
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.tweetRetweetUrl = exports.tweetLikesUrl = exports.tweetRepliesUrl = exports.tweetDetailsUrl = exports.tweetsUrl = exports.userTweetsUrl = exports.userLikesUrl = exports.userFollowersUrl = exports.userFollowingUrl = exports.userAccountByIdUrl = exports.userAccountUrl = exports.guestTokenUrl = void 0;
4
+ /**
5
+ * @returns The url for fetching a guest token
6
+ */
7
+ function guestTokenUrl() {
8
+ return "https://api.twitter.com/1.1/guest/activate.json";
9
+ }
10
+ exports.guestTokenUrl = guestTokenUrl;
11
+ /**
12
+ * @returns The url for fetching user account details.
13
+ * @param screenName The screen name of the target user
14
+ */
15
+ function userAccountUrl(screenName) {
16
+ return "https://api.twitter.com/graphql/hVhfo_TquFTmgL7gYwf91Q/UserByScreenName?variables=%7B%22screen_name%22%3A%22".concat(screenName, "%22%2C%22withSafetyModeUserFields%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D");
17
+ }
18
+ exports.userAccountUrl = userAccountUrl;
19
+ /**
20
+ * @returns The url for fetching user account details.
21
+ * @param restid The restId of the target user
22
+ */
23
+ function userAccountByIdUrl(restId) {
24
+ return "https://api.twitter.com/graphql/mi_IjXgFyr41N9zkszPz9w/UserByRestId?variables=%7B%22userId%22%3A%22".concat(restId, "%22%2C%22withSafetyModeUserFields%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D");
25
+ }
26
+ exports.userAccountByIdUrl = userAccountByIdUrl;
27
+ /**
28
+ * @returns The url for fetching the list of users followed bu target user.
29
+ * @param userId The rest id of the target user
30
+ * @param count The batch size of the list of following
31
+ * @param cursor The cursor to next batch
32
+ */
33
+ function userFollowingUrl(userId, count, cursor) {
34
+ return "https://api.twitter.com/graphql/mSnjZc5CTm2Z5Lu_i4XsPQ/Following?variables=%7B%22userId%22%3A%22".concat(userId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Afalse%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
35
+ }
36
+ exports.userFollowingUrl = userFollowingUrl;
37
+ /**
38
+ * @return The url for fetching the list of followers of the target user
39
+ * @param userId The rest id of the target user
40
+ * @param count The batch size for the list of followers
41
+ * @param cursor The cusor to next batch
42
+ */
43
+ function userFollowersUrl(userId, count, cursor) {
44
+ return "https://api.twitter.com/graphql/nwlAnaw7oKXcVLi91ehy7Q/Followers?variables=%7B%22userId%22%3A%22".concat(userId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Afalse%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
45
+ }
46
+ exports.userFollowersUrl = userFollowersUrl;
47
+ /**
48
+ * @returns The url for fetching the list of tweets liked by the target user
49
+ * @param userId The rest id of the target user
50
+ * @param count The batch size for the list of tweets
51
+ * @param cursor The cusor to next batch
52
+ */
53
+ function userLikesUrl(userId, count, cursor) {
54
+ return "https://api.twitter.com/graphql/gP4ZKghLd4tpILgS6VudAQ/Likes?variables=%7B%22userId%22%3A%22".concat(userId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Afalse%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%2C%22withClientEventToken%22%3Afalse%2C%22withBirdwatchNotes%22%3Afalse%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
55
+ }
56
+ exports.userLikesUrl = userLikesUrl;
57
+ /**
58
+ * @returns The url for fetching the list of tweets made by the target user
59
+ * @param userId The rest id of the target user
60
+ * @param count The batch size for the list of tweets
61
+ * @param cursor The cursor to next batch
62
+ */
63
+ function userTweetsUrl(userId, count, cursor) {
64
+ return "https://api.twitter.com/graphql/MsEBEnQjKQCsRlAbC6qKcA/UserTweets?variables=%7B%22userId%22%3A%22".concat(userId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Atrue%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
65
+ }
66
+ exports.userTweetsUrl = userTweetsUrl;
67
+ /**
68
+ * @returns The url for fetching the list of tweets matching the given filter
69
+ * @param query The query to be used for searching tweets
70
+ * @param count The number of tweets to fetch
71
+ * @param cursor The cusor to next batch *
72
+ */
73
+ function tweetsUrl(query, count, cursor) {
74
+ return "https://api.twitter.com/2/search/adaptive.json?include_want_retweets=1&include_quote_count=true&include_reply_count=1&tweet_mode=extended&include_entities=true&include_user_entities=true&simple_quoted_tweet=true&q=".concat(query, "&tweet_search_mode=live&count=").concat(count, "&query_source=typed_query&cursor=").concat(cursor);
75
+ }
76
+ exports.tweetsUrl = tweetsUrl;
77
+ /**
78
+ * @returns The url for fetching the details of a given tweet
79
+ * @param tweetId The rest id of the target tweet
80
+ */
81
+ function tweetDetailsUrl(tweetId) {
82
+ return "https://api.twitter.com/graphql/lXI2kaM2hgmbf7h42kpxuA/TweetDetail?variables=%7B%22focalTweetId%22%3A%22".concat(tweetId, "%22%2C%22referrer%22%3A%22profile%22%2C%22with_rux_injections%22%3Afalse%2C%22includePromotedContent%22%3Atrue%2C%22withCommunity%22%3Atrue%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withBirdwatchNotes%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
83
+ }
84
+ exports.tweetDetailsUrl = tweetDetailsUrl;
85
+ /**
86
+ * @returns The url for fetching the list of replies to a given tweet
87
+ * @param tweetId The rest of the target tweet
88
+ * @param cursor The curor to next batch
89
+ */
90
+ function tweetRepliesUrl(tweetId, cursor) {
91
+ return "https://api.twitter.com/graphql/lXI2kaM2hgmbf7h42kpxuA/TweetDetail?variables=%7B%22focalTweetId%22%3A%22".concat(tweetId, "%22%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22referrer%22%3A%22tweet%22%2C%22with_rux_injections%22%3Afalse%2C%22includePromotedContent%22%3Atrue%2C%22withCommunity%22%3Atrue%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withBirdwatchNotes%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
92
+ }
93
+ exports.tweetRepliesUrl = tweetRepliesUrl;
94
+ /**
95
+ * @returns The url for fetching the list of users who liked a given tweet
96
+ * @param tweetId The rest id of the target tweet
97
+ * @param count The batch size of the list of users
98
+ * @param cursor The curor to next batch
99
+ */
100
+ function tweetLikesUrl(tweetId, count, cursor) {
101
+ return "https://api.twitter.com/graphql/56ZwFC3Vui31fF8IYX8EGA/Favoriters?variables=%7B%22tweetId%22%3A%22".concat(tweetId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
102
+ }
103
+ exports.tweetLikesUrl = tweetLikesUrl;
104
+ /**
105
+ * @returns The url for fetching the list of user who retweeted the given tweet
106
+ * @param tweetId The rest id of the target tweet
107
+ * @param count The batch size of the list of users
108
+ * @param cursor The curor to next batch
109
+ */
110
+ function tweetRetweetUrl(tweetId, count, cursor) {
111
+ return "https://api.twitter.com/graphql/Wd7DVeLqMj_JQiTL0tjJwQ/Retweeters?variables=%7B%22tweetId%22%3A%22".concat(tweetId, "%22%2C%22count%22%3A").concat(count, "%2C%22cursor%22%3A%22").concat(cursor, "%22%2C%22includePromotedContent%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Atrue%2C%22withDownvotePerspective%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Atrue%7D&features=%7B%22responsive_web_twitter_blue_verified_badge_is_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22view_counts_public_visibility_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Afalse%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_uc_gql_enabled%22%3Atrue%2C%22vibe_api_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Afalse%2C%22interactive_text_enabled%22%3Atrue%2C%22responsive_web_text_conversations_enabled%22%3Afalse%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D");
112
+ }
113
+ exports.tweetRetweetUrl = tweetRetweetUrl;
114
+ //# sourceMappingURL=Urls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Urls.js","sourceRoot":"","sources":["../../../src/services/helper/Urls.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,aAAa;IACzB,OAAO,iDAAiD,CAAC;AAC7D,CAAC;AAFD,sCAEC;AAED;;;GAGG;AACH,SAAgB,cAAc,CAAC,UAAkB;IAC7C,OAAO,sHAA+G,UAAU,6RAA0R,CAAA;AAC9Z,CAAC;AAFD,wCAEC;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,MAAc;IAC7C,OAAO,6GAAsG,MAAM,6RAA0R,CAAC;AAClZ,CAAC;AAFD,gDAEC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,MAAc,EAAE,KAAa,EAAE,MAAc;IAC1E,OAAO,0GAAmG,MAAM,iCAAuB,KAAK,kCAAwB,MAAM,2nCAAwnC,CAAC;AACvyC,CAAC;AAFD,4CAEC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,MAAc,EAAE,KAAa,EAAE,MAAc;IAC1E,OAAO,0GAAmG,MAAM,iCAAuB,KAAK,kCAAwB,MAAM,2nCAAwnC,CAAC;AACvyC,CAAC;AAFD,4CAEC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAAC,MAAc,EAAE,KAAa,EAAE,MAAc;IACtE,OAAO,sGAA+F,MAAM,iCAAuB,KAAK,kCAAwB,MAAM,0vCAAuvC,CAAC;AACl6C,CAAC;AAFD,oCAEC;AAED;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,MAAc,EAAE,KAAa,EAAE,MAAc;IACvE,OAAO,2GAAoG,MAAM,iCAAuB,KAAK,kCAAwB,MAAM,0rCAAurC,CAAC;AACv2C,CAAC;AAFD,sCAEC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,KAAa,EAAE,KAAa,EAAE,MAAc;IAClE,OAAO,gOAAyN,KAAK,2CAAiC,KAAK,8CAAoC,MAAM,CAAE,CAAC;AAC5T,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,OAAe;IAC3C,OAAO,kHAA2G,OAAO,22CAAw2C,CAAC;AACt+C,CAAC;AAFD,0CAEC;AAED;;;;GAIG;AACH,SAAgB,eAAe,CAAC,OAAe,EAAE,MAAc;IAC3D,OAAO,kHAA2G,OAAO,qCAA2B,MAAM,y2CAAs2C,CAAC;AACrgD,CAAC;AAFD,0CAEC;AAED;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,OAAe,EAAE,KAAa,EAAE,MAAc;IACxE,OAAO,4GAAqG,OAAO,iCAAuB,KAAK,kCAAwB,MAAM,0nCAAunC,CAAC;AACzyC,CAAC;AAFD,sCAEC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,OAAe,EAAE,KAAa,EAAE,MAAc;IAC1E,OAAO,4GAAqG,OAAO,iCAAuB,KAAK,kCAAwB,MAAM,0nCAAunC,CAAC;AACzyC,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=Test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Test.js","sourceRoot":"","sources":["../../src/test/Test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @summary Stores the guest credentials for guest users
3
+ */
4
+ export interface GuestCredentials {
5
+ authToken: string;
6
+ guestToken: string;
7
+ }
8
+ /**
9
+ * @summary Stores the credentials for authenticated/logged in users
10
+ */
11
+ export interface AuthCredentials {
12
+ authToken: string;
13
+ csrfToken: string;
14
+ cookie: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ ;
4
+ ;
5
+ //# sourceMappingURL=Authentication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Authentication.js","sourceRoot":"","sources":["../../src/types/Authentication.ts"],"names":[],"mappings":";;AAMC,CAAC;AASD,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @summary Stores all the different type of http requests
3
+ */
4
+ export declare enum HttpMethods {
5
+ POST = "POST",
6
+ GET = "GET"
7
+ }
8
+ /**
9
+ * @summary Stores the different types of http status codes
10
+ */
11
+ export declare enum HttpStatus {
12
+ BadRequest = 400,
13
+ Unauthorized = 401,
14
+ Forbidden = 403,
15
+ NotFound = 404,
16
+ MethodNotAllowed = 405,
17
+ RequestTimeout = 408,
18
+ TooManyRequests = 429,
19
+ InternalServerError = 500,
20
+ BadGateway = 502,
21
+ ServiceUnavailable = 503
22
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.HttpStatus = exports.HttpMethods = void 0;
4
+ /**
5
+ * @summary Stores all the different type of http requests
6
+ */
7
+ var HttpMethods;
8
+ (function (HttpMethods) {
9
+ HttpMethods["POST"] = "POST";
10
+ HttpMethods["GET"] = "GET";
11
+ })(HttpMethods = exports.HttpMethods || (exports.HttpMethods = {}));
12
+ ;
13
+ /**
14
+ * @summary Stores the different types of http status codes
15
+ */
16
+ var HttpStatus;
17
+ (function (HttpStatus) {
18
+ HttpStatus[HttpStatus["BadRequest"] = 400] = "BadRequest";
19
+ HttpStatus[HttpStatus["Unauthorized"] = 401] = "Unauthorized";
20
+ HttpStatus[HttpStatus["Forbidden"] = 403] = "Forbidden";
21
+ HttpStatus[HttpStatus["NotFound"] = 404] = "NotFound";
22
+ HttpStatus[HttpStatus["MethodNotAllowed"] = 405] = "MethodNotAllowed";
23
+ HttpStatus[HttpStatus["RequestTimeout"] = 408] = "RequestTimeout";
24
+ HttpStatus[HttpStatus["TooManyRequests"] = 429] = "TooManyRequests";
25
+ HttpStatus[HttpStatus["InternalServerError"] = 500] = "InternalServerError";
26
+ HttpStatus[HttpStatus["BadGateway"] = 502] = "BadGateway";
27
+ HttpStatus[HttpStatus["ServiceUnavailable"] = 503] = "ServiceUnavailable";
28
+ })(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
29
+ ;
30
+ //# sourceMappingURL=HTTP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTTP.js","sourceRoot":"","sources":["../../src/types/HTTP.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,0BAAW,CAAA;AACf,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAAA,CAAC;AAEF;;GAEG;AACH,IAAY,UAWX;AAXD,WAAY,UAAU;IAClB,yDAAgB,CAAA;IAChB,6DAAkB,CAAA;IAClB,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,qEAAsB,CAAA;IACtB,iEAAoB,CAAA;IACpB,mEAAqB,CAAA;IACrB,2EAAyB,CAAA;IACzB,yDAAgB,CAAA;IAChB,yEAAwB,CAAA;AAC5B,CAAC,EAXW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAWrB;AAAA,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { TweetService } from "../services/data/TweetService";
2
+ import { UserAccountService } from "../services/data/UserAccountService";
3
+ /**
4
+ * @summary Stores the cursor to the batch of data
5
+ */
6
+ export declare class Cursor {
7
+ value: string;
8
+ /**
9
+ * @summary Initializes a new cursor from the given cursor string
10
+ * @param cursorStr The string representation of the cursor
11
+ */
12
+ constructor(cursorStr: string);
13
+ }
14
+ /**
15
+ * @summary Stores cursored data that is returned by services
16
+ */
17
+ export interface CursoredData<Type> {
18
+ list: Type[];
19
+ next: Cursor;
20
+ }
21
+ /**
22
+ * @summary Stores the data context from where data is to be fetched
23
+ */
24
+ export interface DataContext {
25
+ users: UserAccountService;
26
+ tweets: TweetService;
27
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.Cursor = void 0;
4
+ /**
5
+ * @summary Stores the cursor to the batch of data
6
+ */
7
+ var Cursor = /** @class */ (function () {
8
+ // MEMBER DATA
9
+ /**
10
+ * @summary Initializes a new cursor from the given cursor string
11
+ * @param cursorStr The string representation of the cursor
12
+ */
13
+ function Cursor(cursorStr) {
14
+ this.value = cursorStr;
15
+ }
16
+ return Cursor;
17
+ }());
18
+ exports.Cursor = Cursor;
19
+ //# sourceMappingURL=Service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Service.js","sourceRoot":"","sources":["../../src/types/Service.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH;IAII,cAAc;IACd;;;OAGG;IACH,gBAAY,SAAiB;QACzB,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;IAC3B,CAAC;IACL,aAAC;AAAD,CAAC,AAZD,IAYC;AAZY,wBAAM"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @summary Stores the filter to be used for fetching tweets from TwitterAPI
3
+ */
4
+ export interface TweetFilter {
5
+ words?: string[];
6
+ hashtags?: string[];
7
+ fromUsers?: string[];
8
+ toUsers?: string[];
9
+ mentions?: string[];
10
+ startDate?: string;
11
+ endDate?: string;
12
+ quoted?: string;
13
+ links?: boolean;
14
+ }
15
+ /**
16
+ * @summary Stores the different types of tweet elements like urls, media, mentions, hashtags, etc
17
+ */
18
+ export interface TweetEntities {
19
+ hashtags: string[];
20
+ urls: string[];
21
+ mentionedUsers: string[];
22
+ media: string[];
23
+ }
24
+ /**
25
+ * @summary Stores a single tweet
26
+ */
27
+ export interface Tweet {
28
+ id: string;
29
+ tweetBy: string;
30
+ createdAt: string;
31
+ entities: TweetEntities;
32
+ quoted: string;
33
+ fullText: string;
34
+ replyTo: string;
35
+ lang: string;
36
+ quoteCount: number;
37
+ replyCount: number;
38
+ retweetCount: number;
39
+ likeCount: number;
40
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // This file contains various objects related to handling of Tweets made by a user
3
+ exports.__esModule = true;
4
+ ;
5
+ //# sourceMappingURL=Tweet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tweet.js","sourceRoot":"","sources":["../../src/types/Tweet.ts"],"names":[],"mappings":";AAAA,kFAAkF;;AAejF,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @summary Stores the complete details of the given user's account
3
+ */
4
+ export interface User {
5
+ id: string;
6
+ userName: string;
7
+ fullName: string;
8
+ createdAt: string;
9
+ description: string;
10
+ isVerified: boolean;
11
+ favouritesCount: number;
12
+ followersCount: number;
13
+ followingsCount: number;
14
+ statusesCount: number;
15
+ location: string;
16
+ pinnedTweet: string;
17
+ profileBanner: string;
18
+ profileImage: string;
19
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file contains various objects for handling data related to User Account
3
+ exports.__esModule = true;
4
+ //# sourceMappingURL=UserAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserAccount.js","sourceRoot":"","sources":["../../src/types/UserAccount.ts"],"names":[],"mappings":";AAAA,+EAA+E"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @summary Collection of different types of validation errors
3
+ */
4
+ export declare enum ValidationErrors {
5
+ InvalidTweetFilter = "Atleast one of fromUsers/toUsers/mentions/hashtags/words argument is required",
6
+ NoUserIdentification = "Either userName or id must be given"
7
+ }
8
+ /**
9
+ * @summary Stores all the different type of error messages that are returned by services
10
+ */
11
+ export declare enum DataErrors {
12
+ UserNotFound = "An account with given username/id was not found",
13
+ TweetNotFound = "A tweet with the given id was not found",
14
+ NoTweetsFound = "No tweets matching the given criteria found"
15
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.DataErrors = exports.ValidationErrors = void 0;
4
+ /**
5
+ * @summary Collection of different types of validation errors
6
+ */
7
+ var ValidationErrors;
8
+ (function (ValidationErrors) {
9
+ ValidationErrors["InvalidTweetFilter"] = "Atleast one of fromUsers/toUsers/mentions/hashtags/words argument is required";
10
+ ValidationErrors["NoUserIdentification"] = "Either userName or id must be given";
11
+ })(ValidationErrors = exports.ValidationErrors || (exports.ValidationErrors = {}));
12
+ ;
13
+ /**
14
+ * @summary Stores all the different type of error messages that are returned by services
15
+ */
16
+ var DataErrors;
17
+ (function (DataErrors) {
18
+ DataErrors["UserNotFound"] = "An account with given username/id was not found";
19
+ DataErrors["TweetNotFound"] = "A tweet with the given id was not found";
20
+ DataErrors["NoTweetsFound"] = "No tweets matching the given criteria found";
21
+ })(DataErrors = exports.DataErrors || (exports.DataErrors = {}));
22
+ ;
23
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../../src/types/graphql/Errors.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,wHAAoG,CAAA;IACpG,gFAA4D,CAAA;AAChE,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAAA,CAAC;AAEF;;GAEG;AACH,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,8EAAgE,CAAA;IAChE,uEAAyD,CAAA;IACzD,2EAA6D,CAAA;AACjE,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAAA,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @summary Stores a single raw cookie
3
+ */
4
+ export default interface Cookie {
5
+ guest_id_marketing: string;
6
+ guest_id_ads: string;
7
+ personalization_id: string;
8
+ guest_id: string;
9
+ gt: string;
10
+ _twitter_sess: string;
11
+ kdt: string;
12
+ auth_token: string;
13
+ ct0: string;
14
+ att: string;
15
+ twid: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=Cookie.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cookie.js","sourceRoot":"","sources":["../../../../src/types/raw/auth/Cookie.ts"],"names":[],"mappings":""}