x-twitter-scraper 0.3.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +5 -5
- data/lib/x_twitter_scraper/models/api_key.rb +2 -0
- data/lib/x_twitter_scraper/models/api_key_list_response.rb +3 -44
- data/lib/x_twitter_scraper/models/delivery.rb +2 -0
- data/lib/x_twitter_scraper/models/draft.rb +2 -0
- data/lib/x_twitter_scraper/models/draft_detail.rb +3 -0
- data/lib/x_twitter_scraper/models/draft_list_params.rb +2 -1
- data/lib/x_twitter_scraper/models/draft_list_response.rb +3 -38
- data/lib/x_twitter_scraper/models/draw_detail.rb +2 -0
- data/lib/x_twitter_scraper/models/draw_export_params.rb +3 -1
- data/lib/x_twitter_scraper/models/draw_list_item.rb +2 -0
- data/lib/x_twitter_scraper/models/draw_list_params.rb +4 -3
- data/lib/x_twitter_scraper/models/draw_list_response.rb +3 -50
- data/lib/x_twitter_scraper/models/draw_retrieve_response.rb +8 -124
- data/lib/x_twitter_scraper/models/draw_run_response.rb +3 -32
- data/lib/x_twitter_scraper/models/error.rb +2 -0
- data/lib/x_twitter_scraper/models/event.rb +11 -18
- data/lib/x_twitter_scraper/models/event_detail.rb +7 -18
- data/lib/x_twitter_scraper/models/event_list_params.rb +10 -21
- data/lib/x_twitter_scraper/models/event_list_response.rb +3 -59
- data/lib/x_twitter_scraper/models/event_type.rb +1 -0
- data/lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb +9 -7
- data/lib/x_twitter_scraper/models/extraction_export_results_params.rb +5 -1
- data/lib/x_twitter_scraper/models/extraction_job.rb +11 -1
- data/lib/x_twitter_scraper/models/extraction_list_params.rb +10 -5
- data/lib/x_twitter_scraper/models/extraction_list_response.rb +3 -87
- data/lib/x_twitter_scraper/models/extraction_retrieve_params.rb +4 -3
- data/lib/x_twitter_scraper/models/extraction_run_params.rb +3 -1
- data/lib/x_twitter_scraper/models/extraction_run_response.rb +10 -15
- data/lib/x_twitter_scraper/models/integration.rb +12 -32
- data/lib/x_twitter_scraper/models/integration_create_params.rb +8 -32
- data/lib/x_twitter_scraper/models/integration_delivery.rb +2 -0
- data/lib/x_twitter_scraper/models/integration_list_deliveries_params.rb +4 -1
- data/lib/x_twitter_scraper/models/integration_list_deliveries_response.rb +3 -67
- data/lib/x_twitter_scraper/models/integration_list_response.rb +3 -112
- data/lib/x_twitter_scraper/models/integration_update_params.rb +4 -19
- data/lib/x_twitter_scraper/models/monitor.rb +12 -17
- data/lib/x_twitter_scraper/models/monitor_create_params.rb +4 -19
- data/lib/x_twitter_scraper/models/monitor_create_response.rb +8 -17
- data/lib/x_twitter_scraper/models/monitor_list_response.rb +3 -60
- data/lib/x_twitter_scraper/models/monitor_update_params.rb +7 -19
- data/lib/x_twitter_scraper/models/paginated_tweets.rb +5 -96
- data/lib/x_twitter_scraper/models/paginated_users.rb +5 -73
- data/lib/x_twitter_scraper/models/radar_item.rb +2 -0
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rb +20 -3
- data/lib/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rb +3 -62
- data/lib/x_twitter_scraper/models/style_compare_response.rb +9 -134
- data/lib/x_twitter_scraper/models/style_delete_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_get_performance_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_list_response.rb +3 -32
- data/lib/x_twitter_scraper/models/style_profile.rb +3 -0
- data/lib/x_twitter_scraper/models/style_profile_summary.rb +2 -0
- data/lib/x_twitter_scraper/models/style_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/style_update_params.rb +4 -4
- data/lib/x_twitter_scraper/models/trend_list_params.rb +2 -1
- data/lib/x_twitter_scraper/models/webhook.rb +11 -17
- data/lib/x_twitter_scraper/models/webhook_create_params.rb +4 -19
- data/lib/x_twitter_scraper/models/webhook_create_response.rb +8 -17
- data/lib/x_twitter_scraper/models/webhook_list_deliveries_response.rb +3 -56
- data/lib/x_twitter_scraper/models/webhook_list_response.rb +3 -54
- data/lib/x_twitter_scraper/models/webhook_update_params.rb +8 -19
- data/lib/x_twitter_scraper/models/winner.rb +2 -0
- data/lib/x_twitter_scraper/models/x/account_bulk_retry_params.rb +16 -0
- data/lib/x_twitter_scraper/models/x/account_bulk_retry_response.rb +19 -0
- data/lib/x_twitter_scraper/models/x/account_list_response.rb +3 -38
- data/lib/x_twitter_scraper/models/x/account_reauth_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/bookmark_list_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/join_create_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/join_delete_all_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rb +33 -0
- data/lib/x_twitter_scraper/models/x/communities/tweet_list_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/community_action_result.rb +2 -0
- data/lib/x_twitter_scraper/models/x/community_create_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_delete_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_retrieve_info_response.rb +6 -6
- data/lib/x_twitter_scraper/models/x/community_retrieve_moderators_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/community_retrieve_search_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/dm_retrieve_history_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/dm_send_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_members_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/list_retrieve_tweets_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/media_upload_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_avatar_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_banner_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/profile_update_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/search_tweet.rb +20 -1
- data/lib/x_twitter_scraper/models/x/tweet_author.rb +2 -0
- data/lib/x_twitter_scraper/models/x/tweet_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweet_detail.rb +109 -1
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_params.rb +8 -8
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweet_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/tweet_retrieve_response.rb +9 -100
- data/lib/x_twitter_scraper/models/x/tweet_search_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/tweets/like_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/like_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/retweet_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/tweets/retweet_delete_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/user_profile.rb +3 -0
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_following_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_mentions_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/user_retrieve_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb +4 -4
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x/users/follow_create_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/users/follow_delete_all_params.rb +6 -6
- data/lib/x_twitter_scraper/models/x/x_account.rb +2 -0
- data/lib/x_twitter_scraper/models/x/x_account_detail.rb +3 -0
- data/lib/x_twitter_scraper/models/x_get_article_response.rb +5 -38
- data/lib/x_twitter_scraper/models/x_get_home_timeline_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x_get_notifications_params.rb +2 -2
- data/lib/x_twitter_scraper/models/x_get_trends_response.rb +57 -0
- data/lib/x_twitter_scraper/resources/drafts.rb +5 -5
- data/lib/x_twitter_scraper/resources/draws.rb +3 -3
- data/lib/x_twitter_scraper/resources/events.rb +6 -6
- data/lib/x_twitter_scraper/resources/extractions.rb +12 -12
- data/lib/x_twitter_scraper/resources/integrations.rb +11 -11
- data/lib/x_twitter_scraper/resources/monitors.rb +6 -6
- data/lib/x_twitter_scraper/resources/radar.rb +1 -1
- data/lib/x_twitter_scraper/resources/styles.rb +22 -22
- data/lib/x_twitter_scraper/resources/support/tickets.rb +8 -3
- data/lib/x_twitter_scraper/resources/trends.rb +2 -2
- data/lib/x_twitter_scraper/resources/webhooks.rb +4 -4
- data/lib/x_twitter_scraper/resources/x/accounts.rb +24 -4
- data/lib/x_twitter_scraper/resources/x/bookmarks.rb +3 -3
- data/lib/x_twitter_scraper/resources/x/communities/join.rb +6 -6
- data/lib/x_twitter_scraper/resources/x/communities/tweets.rb +30 -5
- data/lib/x_twitter_scraper/resources/x/communities.rb +12 -12
- data/lib/x_twitter_scraper/resources/x/dm.rb +2 -2
- data/lib/x_twitter_scraper/resources/x/lists.rb +11 -11
- data/lib/x_twitter_scraper/resources/x/media.rb +1 -1
- data/lib/x_twitter_scraper/resources/x/profile.rb +3 -3
- data/lib/x_twitter_scraper/resources/x/tweets/like.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/tweets/retweet.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/tweets.rb +46 -39
- data/lib/x_twitter_scraper/resources/x/users/follow.rb +10 -10
- data/lib/x_twitter_scraper/resources/x/users.rb +45 -45
- data/lib/x_twitter_scraper/resources/x.rb +13 -7
- data/lib/x_twitter_scraper/version.rb +1 -1
- data/lib/x_twitter_scraper.rb +4 -28
- data/rbi/x_twitter_scraper/models/api_key.rbi +1 -0
- data/rbi/x_twitter_scraper/models/api_key_list_response.rbi +5 -78
- data/rbi/x_twitter_scraper/models/delivery.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draft_list_params.rbi +2 -0
- data/rbi/x_twitter_scraper/models/draft_list_response.rbi +3 -63
- data/rbi/x_twitter_scraper/models/draw_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draw_export_params.rbi +3 -0
- data/rbi/x_twitter_scraper/models/draw_list_item.rbi +1 -0
- data/rbi/x_twitter_scraper/models/draw_list_params.rbi +4 -2
- data/rbi/x_twitter_scraper/models/draw_list_response.rbi +3 -76
- data/rbi/x_twitter_scraper/models/draw_retrieve_response.rbi +13 -178
- data/rbi/x_twitter_scraper/models/draw_run_response.rbi +3 -52
- data/rbi/x_twitter_scraper/models/error.rbi +1 -0
- data/rbi/x_twitter_scraper/models/event.rbi +14 -31
- data/rbi/x_twitter_scraper/models/event_detail.rbi +6 -47
- data/rbi/x_twitter_scraper/models/event_list_params.rbi +12 -63
- data/rbi/x_twitter_scraper/models/event_list_response.rbi +3 -122
- data/rbi/x_twitter_scraper/models/event_type.rbi +1 -0
- data/rbi/x_twitter_scraper/models/extraction_estimate_cost_params.rbi +9 -6
- data/rbi/x_twitter_scraper/models/extraction_export_results_params.rbi +8 -1
- data/rbi/x_twitter_scraper/models/extraction_job.rbi +8 -4
- data/rbi/x_twitter_scraper/models/extraction_list_params.rbi +10 -2
- data/rbi/x_twitter_scraper/models/extraction_list_response.rbi +3 -254
- data/rbi/x_twitter_scraper/models/extraction_retrieve_params.rbi +4 -2
- data/rbi/x_twitter_scraper/models/extraction_run_params.rbi +3 -0
- data/rbi/x_twitter_scraper/models/extraction_run_response.rbi +12 -40
- data/rbi/x_twitter_scraper/models/integration.rbi +12 -81
- data/rbi/x_twitter_scraper/models/integration_create_params.rbi +9 -96
- data/rbi/x_twitter_scraper/models/integration_delivery.rbi +1 -0
- data/rbi/x_twitter_scraper/models/integration_list_deliveries_params.rbi +7 -1
- data/rbi/x_twitter_scraper/models/integration_list_deliveries_response.rbi +3 -119
- data/rbi/x_twitter_scraper/models/integration_list_response.rbi +3 -227
- data/rbi/x_twitter_scraper/models/integration_update_params.rbi +6 -74
- data/rbi/x_twitter_scraper/models/monitor.rbi +6 -48
- data/rbi/x_twitter_scraper/models/monitor_create_params.rbi +5 -62
- data/rbi/x_twitter_scraper/models/monitor_create_response.rbi +12 -70
- data/rbi/x_twitter_scraper/models/monitor_list_response.rbi +3 -141
- data/rbi/x_twitter_scraper/models/monitor_update_params.rbi +12 -69
- data/rbi/x_twitter_scraper/models/paginated_tweets.rbi +4 -169
- data/rbi/x_twitter_scraper/models/paginated_users.rbi +4 -120
- data/rbi/x_twitter_scraper/models/radar_item.rbi +1 -0
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbi +78 -4
- data/rbi/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbi +3 -108
- data/rbi/x_twitter_scraper/models/style_compare_response.rbi +16 -259
- data/rbi/x_twitter_scraper/models/style_delete_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_get_performance_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_list_response.rbi +3 -54
- data/rbi/x_twitter_scraper/models/style_profile.rbi +1 -0
- data/rbi/x_twitter_scraper/models/style_profile_summary.rbi +1 -0
- data/rbi/x_twitter_scraper/models/style_retrieve_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/style_update_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/trend_list_params.rbi +2 -0
- data/rbi/x_twitter_scraper/models/webhook.rbi +13 -49
- data/rbi/x_twitter_scraper/models/webhook_create_params.rbi +5 -62
- data/rbi/x_twitter_scraper/models/webhook_create_response.rbi +12 -70
- data/rbi/x_twitter_scraper/models/webhook_list_deliveries_response.rbi +5 -105
- data/rbi/x_twitter_scraper/models/webhook_list_response.rbi +5 -134
- data/rbi/x_twitter_scraper/models/webhook_update_params.rbi +6 -68
- data/rbi/x_twitter_scraper/models/winner.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/account_bulk_retry_params.rbi +34 -0
- data/rbi/x_twitter_scraper/models/x/account_bulk_retry_response.rbi +32 -0
- data/rbi/x_twitter_scraper/models/x/account_list_response.rbi +3 -68
- data/rbi/x_twitter_scraper/models/x/account_reauth_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/bookmark_list_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/join_create_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/join_delete_all_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbi +59 -0
- data/rbi/x_twitter_scraper/models/x/communities/tweet_list_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/community_action_result.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/community_create_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_delete_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_retrieve_info_response.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/community_retrieve_moderators_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/community_retrieve_search_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/dm_retrieve_history_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/dm_send_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_members_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/list_retrieve_tweets_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/media_upload_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_avatar_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_banner_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/profile_update_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/search_tweet.rbi +12 -0
- data/rbi/x_twitter_scraper/models/x/tweet_author.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/tweet_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweet_detail.rbi +195 -3
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_params.rbi +8 -8
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweet_retrieve_params.rbi +4 -7
- data/rbi/x_twitter_scraper/models/x/tweet_retrieve_response.rbi +16 -171
- data/rbi/x_twitter_scraper/models/x/tweet_search_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/tweets/like_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/like_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/retweet_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/tweets/retweet_delete_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/user_profile.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_following_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_mentions_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/user_retrieve_params.rbi +4 -7
- data/rbi/x_twitter_scraper/models/x/user_retrieve_search_params.rbi +4 -4
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x/users/follow_create_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/users/follow_delete_all_params.rbi +6 -6
- data/rbi/x_twitter_scraper/models/x/x_account.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x/x_account_detail.rbi +1 -0
- data/rbi/x_twitter_scraper/models/x_get_article_response.rbi +10 -71
- data/rbi/x_twitter_scraper/models/x_get_home_timeline_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x_get_notifications_params.rbi +2 -2
- data/rbi/x_twitter_scraper/models/x_get_trends_response.rbi +102 -0
- data/rbi/x_twitter_scraper/resources/drafts.rbi +3 -2
- data/rbi/x_twitter_scraper/resources/draws.rbi +3 -1
- data/rbi/x_twitter_scraper/resources/events.rbi +6 -3
- data/rbi/x_twitter_scraper/resources/extractions.rbi +12 -5
- data/rbi/x_twitter_scraper/resources/integrations.rbi +10 -13
- data/rbi/x_twitter_scraper/resources/monitors.rbi +6 -6
- data/rbi/x_twitter_scraper/resources/radar.rbi +2 -1
- data/rbi/x_twitter_scraper/resources/styles.rbi +15 -15
- data/rbi/x_twitter_scraper/resources/support/tickets.rbi +17 -3
- data/rbi/x_twitter_scraper/resources/trends.rbi +2 -1
- data/rbi/x_twitter_scraper/resources/webhooks.rbi +5 -5
- data/rbi/x_twitter_scraper/resources/x/accounts.rbi +13 -3
- data/rbi/x_twitter_scraper/resources/x/bookmarks.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/x/communities/join.rbi +4 -8
- data/rbi/x_twitter_scraper/resources/x/communities/tweets.rbi +21 -4
- data/rbi/x_twitter_scraper/resources/x/communities.rbi +9 -9
- data/rbi/x_twitter_scraper/resources/x/dm.rbi +2 -2
- data/rbi/x_twitter_scraper/resources/x/lists.rbi +8 -8
- data/rbi/x_twitter_scraper/resources/x/media.rbi +1 -1
- data/rbi/x_twitter_scraper/resources/x/profile.rbi +3 -3
- data/rbi/x_twitter_scraper/resources/x/tweets/like.rbi +8 -6
- data/rbi/x_twitter_scraper/resources/x/tweets/retweet.rbi +8 -6
- data/rbi/x_twitter_scraper/resources/x/tweets.rbi +33 -28
- data/rbi/x_twitter_scraper/resources/x/users/follow.rbi +6 -6
- data/rbi/x_twitter_scraper/resources/x/users.rbi +33 -34
- data/rbi/x_twitter_scraper/resources/x.rbi +11 -5
- data/sig/x_twitter_scraper/models/api_key_list_response.rbs +4 -53
- data/sig/x_twitter_scraper/models/draft_list_response.rbs +4 -45
- data/sig/x_twitter_scraper/models/draw_list_response.rbs +4 -53
- data/sig/x_twitter_scraper/models/draw_retrieve_response.rbs +8 -124
- data/sig/x_twitter_scraper/models/draw_run_response.rbs +4 -36
- data/sig/x_twitter_scraper/models/event.rbs +4 -25
- data/sig/x_twitter_scraper/models/event_detail.rbs +4 -25
- data/sig/x_twitter_scraper/models/event_list_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/event_list_response.rbs +4 -67
- data/sig/x_twitter_scraper/models/extraction_list_response.rbs +4 -109
- data/sig/x_twitter_scraper/models/extraction_run_response.rbs +5 -15
- data/sig/x_twitter_scraper/models/integration.rbs +9 -40
- data/sig/x_twitter_scraper/models/integration_create_params.rbs +8 -39
- data/sig/x_twitter_scraper/models/integration_list_deliveries_response.rbs +4 -78
- data/sig/x_twitter_scraper/models/integration_list_response.rbs +4 -114
- data/sig/x_twitter_scraper/models/integration_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/monitor.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_create_params.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_create_response.rbs +4 -25
- data/sig/x_twitter_scraper/models/monitor_list_response.rbs +4 -70
- data/sig/x_twitter_scraper/models/monitor_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/paginated_tweets.rbs +4 -113
- data/sig/x_twitter_scraper/models/paginated_users.rbs +4 -87
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_params.rbs +30 -5
- data/sig/x_twitter_scraper/models/radar_retrieve_trending_topics_response.rbs +4 -70
- data/sig/x_twitter_scraper/models/style_compare_response.rbs +8 -154
- data/sig/x_twitter_scraper/models/style_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_get_performance_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_list_response.rbs +4 -38
- data/sig/x_twitter_scraper/models/style_retrieve_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/style_update_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/webhook.rbs +4 -25
- data/sig/x_twitter_scraper/models/webhook_create_params.rbs +4 -28
- data/sig/x_twitter_scraper/models/webhook_create_response.rbs +4 -25
- data/sig/x_twitter_scraper/models/webhook_list_deliveries_response.rbs +4 -68
- data/sig/x_twitter_scraper/models/webhook_list_response.rbs +4 -69
- data/sig/x_twitter_scraper/models/webhook_update_params.rbs +6 -27
- data/sig/x_twitter_scraper/models/x/account_bulk_retry_params.rbs +19 -0
- data/sig/x_twitter_scraper/models/x/account_bulk_retry_response.rbs +15 -0
- data/sig/x_twitter_scraper/models/x/account_list_response.rbs +4 -45
- data/sig/x_twitter_scraper/models/x/communities/tweet_list_by_community_params.rbs +34 -0
- data/sig/x_twitter_scraper/models/x/search_tweet.rbs +7 -0
- data/sig/x_twitter_scraper/models/x/tweet_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweet_detail.rbs +108 -3
- data/sig/x_twitter_scraper/models/x/tweet_retrieve_params.rbs +4 -5
- data/sig/x_twitter_scraper/models/x/tweet_retrieve_response.rbs +10 -108
- data/sig/x_twitter_scraper/models/x/tweets/like_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/like_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/retweet_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/tweets/retweet_delete_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/user_retrieve_params.rbs +4 -5
- data/sig/x_twitter_scraper/models/x/users/follow_create_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x/users/follow_delete_all_params.rbs +4 -4
- data/sig/x_twitter_scraper/models/x_get_article_response.rbs +6 -45
- data/sig/x_twitter_scraper/models/x_get_trends_response.rbs +63 -0
- data/sig/x_twitter_scraper/resources/drafts.rbs +2 -2
- data/sig/x_twitter_scraper/resources/events.rbs +2 -2
- data/sig/x_twitter_scraper/resources/integrations.rbs +6 -6
- data/sig/x_twitter_scraper/resources/monitors.rbs +4 -4
- data/sig/x_twitter_scraper/resources/radar.rbs +1 -1
- data/sig/x_twitter_scraper/resources/styles.rbs +7 -7
- data/sig/x_twitter_scraper/resources/webhooks.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/accounts.rbs +5 -1
- data/sig/x_twitter_scraper/resources/x/bookmarks.rbs +1 -1
- data/sig/x_twitter_scraper/resources/x/communities/join.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/communities/tweets.rbs +7 -1
- data/sig/x_twitter_scraper/resources/x/communities.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/lists.rbs +3 -3
- data/sig/x_twitter_scraper/resources/x/tweets/like.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/tweets/retweet.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/tweets.rbs +9 -9
- data/sig/x_twitter_scraper/resources/x/users/follow.rbs +2 -2
- data/sig/x_twitter_scraper/resources/x/users.rbs +12 -12
- data/sig/x_twitter_scraper/resources/x.rbs +4 -2
- metadata +17 -88
- data/lib/x_twitter_scraper/models/draft_create_response.rb +0 -46
- data/lib/x_twitter_scraper/models/draft_retrieve_response.rb +0 -46
- data/lib/x_twitter_scraper/models/event_retrieve_response.rb +0 -74
- data/lib/x_twitter_scraper/models/integration_create_response.rb +0 -114
- data/lib/x_twitter_scraper/models/integration_retrieve_response.rb +0 -114
- data/lib/x_twitter_scraper/models/integration_update_response.rb +0 -114
- data/lib/x_twitter_scraper/models/monitor_retrieve_response.rb +0 -62
- data/lib/x_twitter_scraper/models/monitor_update_response.rb +0 -62
- data/lib/x_twitter_scraper/models/style_analyze_response.rb +0 -69
- data/lib/x_twitter_scraper/models/style_retrieve_response.rb +0 -69
- data/lib/x_twitter_scraper/models/style_update_response.rb +0 -69
- data/lib/x_twitter_scraper/models/webhook_update_response.rb +0 -56
- data/lib/x_twitter_scraper/models/x/account_retrieve_response.rb +0 -60
- data/lib/x_twitter_scraper/models/x/bookmark_list_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/communities/join_create_response.rb +0 -32
- data/lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb +0 -32
- data/lib/x_twitter_scraper/models/x/tweet_get_favoriters_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/tweet_get_quotes_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_get_replies_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_get_retweeters_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/tweet_get_thread_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/tweet_search_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rb +0 -101
- data/lib/x_twitter_scraper/models/x/user_retrieve_likes_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_media_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x/user_retrieve_response.rb +0 -78
- data/lib/x_twitter_scraper/models/x/user_retrieve_tweets_response.rb +0 -124
- data/lib/x_twitter_scraper/models/x_get_home_timeline_response.rb +0 -122
- data/rbi/x_twitter_scraper/models/draft_create_response.rbi +0 -67
- data/rbi/x_twitter_scraper/models/draft_retrieve_response.rbi +0 -67
- data/rbi/x_twitter_scraper/models/event_retrieve_response.rbi +0 -135
- data/rbi/x_twitter_scraper/models/integration_create_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/integration_retrieve_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/integration_update_response.rbi +0 -215
- data/rbi/x_twitter_scraper/models/monitor_retrieve_response.rbi +0 -134
- data/rbi/x_twitter_scraper/models/monitor_update_response.rbi +0 -134
- data/rbi/x_twitter_scraper/models/style_analyze_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/style_retrieve_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/style_update_response.rbi +0 -120
- data/rbi/x_twitter_scraper/models/webhook_update_response.rbi +0 -122
- data/rbi/x_twitter_scraper/models/x/account_retrieve_response.rbi +0 -91
- data/rbi/x_twitter_scraper/models/x/bookmark_list_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/communities/join_create_response.rbi +0 -50
- data/rbi/x_twitter_scraper/models/x/communities/join_delete_all_response.rbi +0 -50
- data/rbi/x_twitter_scraper/models/x/tweet_get_favoriters_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/tweet_get_quotes_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_get_replies_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_get_retweeters_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/tweet_get_thread_response.rbi +0 -231
- data/rbi/x_twitter_scraper/models/x/tweet_search_response.rbi +0 -229
- data/rbi/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rbi +0 -177
- data/rbi/x_twitter_scraper/models/x/user_retrieve_likes_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x/user_retrieve_media_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x/user_retrieve_response.rbi +0 -124
- data/rbi/x_twitter_scraper/models/x/user_retrieve_tweets_response.rbi +0 -233
- data/rbi/x_twitter_scraper/models/x_get_home_timeline_response.rbi +0 -227
- data/sig/x_twitter_scraper/models/draft_create_response.rbs +0 -49
- data/sig/x_twitter_scraper/models/draft_retrieve_response.rbs +0 -49
- data/sig/x_twitter_scraper/models/event_retrieve_response.rbs +0 -73
- data/sig/x_twitter_scraper/models/integration_create_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/integration_retrieve_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/integration_update_response.rbs +0 -109
- data/sig/x_twitter_scraper/models/monitor_retrieve_response.rbs +0 -66
- data/sig/x_twitter_scraper/models/monitor_update_response.rbs +0 -66
- data/sig/x_twitter_scraper/models/style_analyze_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/style_retrieve_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/style_update_response.rbs +0 -76
- data/sig/x_twitter_scraper/models/webhook_update_response.rbs +0 -61
- data/sig/x_twitter_scraper/models/x/account_retrieve_response.rbs +0 -63
- data/sig/x_twitter_scraper/models/x/bookmark_list_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/communities/join_create_response.rbs +0 -30
- data/sig/x_twitter_scraper/models/x/communities/join_delete_all_response.rbs +0 -30
- data/sig/x_twitter_scraper/models/x/tweet_get_favoriters_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/tweet_get_quotes_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_get_replies_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_get_retweeters_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/tweet_get_thread_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/tweet_search_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_followers_you_know_response.rbs +0 -115
- data/sig/x_twitter_scraper/models/x/user_retrieve_likes_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_media_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x/user_retrieve_response.rbs +0 -88
- data/sig/x_twitter_scraper/models/x/user_retrieve_tweets_response.rbs +0 -141
- data/sig/x_twitter_scraper/models/x_get_home_timeline_response.rbs +0 -139
|
@@ -6,7 +6,7 @@ module XTwitterScraper
|
|
|
6
6
|
data: ::Hash[Symbol, top],
|
|
7
7
|
monitor_id: String,
|
|
8
8
|
occurred_at: Time,
|
|
9
|
-
type: XTwitterScraper::Models::
|
|
9
|
+
type: XTwitterScraper::Models::event_type,
|
|
10
10
|
username: String
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@ module XTwitterScraper
|
|
|
19
19
|
|
|
20
20
|
attr_accessor occurred_at: Time
|
|
21
21
|
|
|
22
|
-
attr_accessor type: XTwitterScraper::Models::
|
|
22
|
+
attr_accessor type: XTwitterScraper::Models::event_type
|
|
23
23
|
|
|
24
24
|
attr_accessor username: String
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ module XTwitterScraper
|
|
|
28
28
|
data: ::Hash[Symbol, top],
|
|
29
29
|
monitor_id: String,
|
|
30
30
|
occurred_at: Time,
|
|
31
|
-
type: XTwitterScraper::Models::
|
|
31
|
+
type: XTwitterScraper::Models::event_type,
|
|
32
32
|
username: String
|
|
33
33
|
) -> void
|
|
34
34
|
|
|
@@ -37,30 +37,9 @@ module XTwitterScraper
|
|
|
37
37
|
data: ::Hash[Symbol, top],
|
|
38
38
|
monitor_id: String,
|
|
39
39
|
occurred_at: Time,
|
|
40
|
-
type: XTwitterScraper::Models::
|
|
40
|
+
type: XTwitterScraper::Models::event_type,
|
|
41
41
|
username: String
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
type type_ =
|
|
45
|
-
:"tweet.new"
|
|
46
|
-
| :"tweet.reply"
|
|
47
|
-
| :"tweet.retweet"
|
|
48
|
-
| :"tweet.quote"
|
|
49
|
-
| :"follower.gained"
|
|
50
|
-
| :"follower.lost"
|
|
51
|
-
|
|
52
|
-
module Type
|
|
53
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
54
|
-
|
|
55
|
-
TWEET_NEW: :"tweet.new"
|
|
56
|
-
TWEET_REPLY: :"tweet.reply"
|
|
57
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
58
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
59
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
60
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
61
|
-
|
|
62
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::Event::type_]
|
|
63
|
-
end
|
|
64
43
|
end
|
|
65
44
|
end
|
|
66
45
|
end
|
|
@@ -6,7 +6,7 @@ module XTwitterScraper
|
|
|
6
6
|
data: ::Hash[Symbol, top],
|
|
7
7
|
monitor_id: String,
|
|
8
8
|
occurred_at: Time,
|
|
9
|
-
type: XTwitterScraper::Models::
|
|
9
|
+
type: XTwitterScraper::Models::event_type,
|
|
10
10
|
username: String,
|
|
11
11
|
x_event_id: String
|
|
12
12
|
}
|
|
@@ -20,7 +20,7 @@ module XTwitterScraper
|
|
|
20
20
|
|
|
21
21
|
attr_accessor occurred_at: Time
|
|
22
22
|
|
|
23
|
-
attr_accessor type: XTwitterScraper::Models::
|
|
23
|
+
attr_accessor type: XTwitterScraper::Models::event_type
|
|
24
24
|
|
|
25
25
|
attr_accessor username: String
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ module XTwitterScraper
|
|
|
33
33
|
data: ::Hash[Symbol, top],
|
|
34
34
|
monitor_id: String,
|
|
35
35
|
occurred_at: Time,
|
|
36
|
-
type: XTwitterScraper::Models::
|
|
36
|
+
type: XTwitterScraper::Models::event_type,
|
|
37
37
|
username: String,
|
|
38
38
|
?x_event_id: String
|
|
39
39
|
) -> void
|
|
@@ -43,31 +43,10 @@ module XTwitterScraper
|
|
|
43
43
|
data: ::Hash[Symbol, top],
|
|
44
44
|
monitor_id: String,
|
|
45
45
|
occurred_at: Time,
|
|
46
|
-
type: XTwitterScraper::Models::
|
|
46
|
+
type: XTwitterScraper::Models::event_type,
|
|
47
47
|
username: String,
|
|
48
48
|
x_event_id: String
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
type type_ =
|
|
52
|
-
:"tweet.new"
|
|
53
|
-
| :"tweet.reply"
|
|
54
|
-
| :"tweet.retweet"
|
|
55
|
-
| :"tweet.quote"
|
|
56
|
-
| :"follower.gained"
|
|
57
|
-
| :"follower.lost"
|
|
58
|
-
|
|
59
|
-
module Type
|
|
60
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
61
|
-
|
|
62
|
-
TWEET_NEW: :"tweet.new"
|
|
63
|
-
TWEET_REPLY: :"tweet.reply"
|
|
64
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
65
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
66
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
67
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
68
|
-
|
|
69
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::EventDetail::type_]
|
|
70
|
-
end
|
|
71
50
|
end
|
|
72
51
|
end
|
|
73
52
|
end
|
|
@@ -3,7 +3,7 @@ module XTwitterScraper
|
|
|
3
3
|
type event_list_params =
|
|
4
4
|
{
|
|
5
5
|
after: String,
|
|
6
|
-
event_type: XTwitterScraper::Models::
|
|
6
|
+
event_type: XTwitterScraper::Models::event_type,
|
|
7
7
|
limit: Integer,
|
|
8
8
|
monitor_id: String
|
|
9
9
|
}
|
|
@@ -17,11 +17,11 @@ module XTwitterScraper
|
|
|
17
17
|
|
|
18
18
|
def after=: (String) -> String
|
|
19
19
|
|
|
20
|
-
attr_reader event_type: XTwitterScraper::Models::
|
|
20
|
+
attr_reader event_type: XTwitterScraper::Models::event_type?
|
|
21
21
|
|
|
22
22
|
def event_type=: (
|
|
23
|
-
XTwitterScraper::Models::
|
|
24
|
-
) -> XTwitterScraper::Models::
|
|
23
|
+
XTwitterScraper::Models::event_type
|
|
24
|
+
) -> XTwitterScraper::Models::event_type
|
|
25
25
|
|
|
26
26
|
attr_reader limit: Integer?
|
|
27
27
|
|
|
@@ -33,7 +33,7 @@ module XTwitterScraper
|
|
|
33
33
|
|
|
34
34
|
def initialize: (
|
|
35
35
|
?after: String,
|
|
36
|
-
?event_type: XTwitterScraper::Models::
|
|
36
|
+
?event_type: XTwitterScraper::Models::event_type,
|
|
37
37
|
?limit: Integer,
|
|
38
38
|
?monitor_id: String,
|
|
39
39
|
?request_options: XTwitterScraper::request_opts
|
|
@@ -41,32 +41,11 @@ module XTwitterScraper
|
|
|
41
41
|
|
|
42
42
|
def to_hash: -> {
|
|
43
43
|
after: String,
|
|
44
|
-
event_type: XTwitterScraper::Models::
|
|
44
|
+
event_type: XTwitterScraper::Models::event_type,
|
|
45
45
|
limit: Integer,
|
|
46
46
|
monitor_id: String,
|
|
47
47
|
request_options: XTwitterScraper::RequestOptions
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
type event_type =
|
|
51
|
-
:"tweet.new"
|
|
52
|
-
| :"tweet.reply"
|
|
53
|
-
| :"tweet.retweet"
|
|
54
|
-
| :"tweet.quote"
|
|
55
|
-
| :"follower.gained"
|
|
56
|
-
| :"follower.lost"
|
|
57
|
-
|
|
58
|
-
module EventType
|
|
59
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
60
|
-
|
|
61
|
-
TWEET_NEW: :"tweet.new"
|
|
62
|
-
TWEET_REPLY: :"tweet.reply"
|
|
63
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
64
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
65
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
66
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
67
|
-
|
|
68
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::EventListParams::event_type]
|
|
69
|
-
end
|
|
70
49
|
end
|
|
71
50
|
end
|
|
72
51
|
end
|
|
@@ -2,13 +2,13 @@ module XTwitterScraper
|
|
|
2
2
|
module Models
|
|
3
3
|
type event_list_response =
|
|
4
4
|
{
|
|
5
|
-
events: ::Array[XTwitterScraper::
|
|
5
|
+
events: ::Array[XTwitterScraper::Event],
|
|
6
6
|
has_more: bool,
|
|
7
7
|
next_cursor: String
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
class EventListResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor events: ::Array[XTwitterScraper::
|
|
11
|
+
attr_accessor events: ::Array[XTwitterScraper::Event]
|
|
12
12
|
|
|
13
13
|
attr_accessor has_more: bool
|
|
14
14
|
|
|
@@ -17,79 +17,16 @@ module XTwitterScraper
|
|
|
17
17
|
def next_cursor=: (String) -> String
|
|
18
18
|
|
|
19
19
|
def initialize: (
|
|
20
|
-
events: ::Array[XTwitterScraper::
|
|
20
|
+
events: ::Array[XTwitterScraper::Event],
|
|
21
21
|
has_more: bool,
|
|
22
22
|
?next_cursor: String
|
|
23
23
|
) -> void
|
|
24
24
|
|
|
25
25
|
def to_hash: -> {
|
|
26
|
-
events: ::Array[XTwitterScraper::
|
|
26
|
+
events: ::Array[XTwitterScraper::Event],
|
|
27
27
|
has_more: bool,
|
|
28
28
|
next_cursor: String
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
type event =
|
|
32
|
-
{
|
|
33
|
-
id: String,
|
|
34
|
-
data: ::Hash[Symbol, top],
|
|
35
|
-
monitor_id: String,
|
|
36
|
-
occurred_at: Time,
|
|
37
|
-
type: XTwitterScraper::Models::EventListResponse::Event::type_,
|
|
38
|
-
username: String
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
class Event < XTwitterScraper::Internal::Type::BaseModel
|
|
42
|
-
attr_accessor id: String
|
|
43
|
-
|
|
44
|
-
attr_accessor data: ::Hash[Symbol, top]
|
|
45
|
-
|
|
46
|
-
attr_accessor monitor_id: String
|
|
47
|
-
|
|
48
|
-
attr_accessor occurred_at: Time
|
|
49
|
-
|
|
50
|
-
attr_accessor type: XTwitterScraper::Models::EventListResponse::Event::type_
|
|
51
|
-
|
|
52
|
-
attr_accessor username: String
|
|
53
|
-
|
|
54
|
-
def initialize: (
|
|
55
|
-
id: String,
|
|
56
|
-
data: ::Hash[Symbol, top],
|
|
57
|
-
monitor_id: String,
|
|
58
|
-
occurred_at: Time,
|
|
59
|
-
type: XTwitterScraper::Models::EventListResponse::Event::type_,
|
|
60
|
-
username: String
|
|
61
|
-
) -> void
|
|
62
|
-
|
|
63
|
-
def to_hash: -> {
|
|
64
|
-
id: String,
|
|
65
|
-
data: ::Hash[Symbol, top],
|
|
66
|
-
monitor_id: String,
|
|
67
|
-
occurred_at: Time,
|
|
68
|
-
type: XTwitterScraper::Models::EventListResponse::Event::type_,
|
|
69
|
-
username: String
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
type type_ =
|
|
73
|
-
:"tweet.new"
|
|
74
|
-
| :"tweet.reply"
|
|
75
|
-
| :"tweet.retweet"
|
|
76
|
-
| :"tweet.quote"
|
|
77
|
-
| :"follower.gained"
|
|
78
|
-
| :"follower.lost"
|
|
79
|
-
|
|
80
|
-
module Type
|
|
81
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
82
|
-
|
|
83
|
-
TWEET_NEW: :"tweet.new"
|
|
84
|
-
TWEET_REPLY: :"tweet.reply"
|
|
85
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
86
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
87
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
88
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
89
|
-
|
|
90
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::EventListResponse::Event::type_]
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
30
|
end
|
|
94
31
|
end
|
|
95
32
|
end
|
|
@@ -2,13 +2,13 @@ module XTwitterScraper
|
|
|
2
2
|
module Models
|
|
3
3
|
type extraction_list_response =
|
|
4
4
|
{
|
|
5
|
-
extractions: ::Array[XTwitterScraper::
|
|
5
|
+
extractions: ::Array[XTwitterScraper::ExtractionJob],
|
|
6
6
|
has_more: bool,
|
|
7
7
|
next_cursor: String
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
class ExtractionListResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor extractions: ::Array[XTwitterScraper::
|
|
11
|
+
attr_accessor extractions: ::Array[XTwitterScraper::ExtractionJob]
|
|
12
12
|
|
|
13
13
|
attr_accessor has_more: bool
|
|
14
14
|
|
|
@@ -17,121 +17,16 @@ module XTwitterScraper
|
|
|
17
17
|
def next_cursor=: (String) -> String
|
|
18
18
|
|
|
19
19
|
def initialize: (
|
|
20
|
-
extractions: ::Array[XTwitterScraper::
|
|
20
|
+
extractions: ::Array[XTwitterScraper::ExtractionJob],
|
|
21
21
|
has_more: bool,
|
|
22
22
|
?next_cursor: String
|
|
23
23
|
) -> void
|
|
24
24
|
|
|
25
25
|
def to_hash: -> {
|
|
26
|
-
extractions: ::Array[XTwitterScraper::
|
|
26
|
+
extractions: ::Array[XTwitterScraper::ExtractionJob],
|
|
27
27
|
has_more: bool,
|
|
28
28
|
next_cursor: String
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
type extraction =
|
|
32
|
-
{
|
|
33
|
-
id: String,
|
|
34
|
-
created_at: Time,
|
|
35
|
-
status: XTwitterScraper::Models::ExtractionListResponse::Extraction::status,
|
|
36
|
-
tool_type: XTwitterScraper::Models::ExtractionListResponse::Extraction::tool_type,
|
|
37
|
-
total_results: Integer,
|
|
38
|
-
completed_at: Time
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
class Extraction < XTwitterScraper::Internal::Type::BaseModel
|
|
42
|
-
attr_accessor id: String
|
|
43
|
-
|
|
44
|
-
attr_accessor created_at: Time
|
|
45
|
-
|
|
46
|
-
attr_accessor status: XTwitterScraper::Models::ExtractionListResponse::Extraction::status
|
|
47
|
-
|
|
48
|
-
attr_accessor tool_type: XTwitterScraper::Models::ExtractionListResponse::Extraction::tool_type
|
|
49
|
-
|
|
50
|
-
attr_accessor total_results: Integer
|
|
51
|
-
|
|
52
|
-
attr_reader completed_at: Time?
|
|
53
|
-
|
|
54
|
-
def completed_at=: (Time) -> Time
|
|
55
|
-
|
|
56
|
-
def initialize: (
|
|
57
|
-
id: String,
|
|
58
|
-
created_at: Time,
|
|
59
|
-
status: XTwitterScraper::Models::ExtractionListResponse::Extraction::status,
|
|
60
|
-
tool_type: XTwitterScraper::Models::ExtractionListResponse::Extraction::tool_type,
|
|
61
|
-
total_results: Integer,
|
|
62
|
-
?completed_at: Time
|
|
63
|
-
) -> void
|
|
64
|
-
|
|
65
|
-
def to_hash: -> {
|
|
66
|
-
id: String,
|
|
67
|
-
created_at: Time,
|
|
68
|
-
status: XTwitterScraper::Models::ExtractionListResponse::Extraction::status,
|
|
69
|
-
tool_type: XTwitterScraper::Models::ExtractionListResponse::Extraction::tool_type,
|
|
70
|
-
total_results: Integer,
|
|
71
|
-
completed_at: Time
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
type status = :running | :completed | :failed
|
|
75
|
-
|
|
76
|
-
module Status
|
|
77
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
78
|
-
|
|
79
|
-
RUNNING: :running
|
|
80
|
-
COMPLETED: :completed
|
|
81
|
-
FAILED: :failed
|
|
82
|
-
|
|
83
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionListResponse::Extraction::status]
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
type tool_type =
|
|
87
|
-
:article_extractor
|
|
88
|
-
| :community_extractor
|
|
89
|
-
| :community_moderator_explorer
|
|
90
|
-
| :community_post_extractor
|
|
91
|
-
| :community_search
|
|
92
|
-
| :follower_explorer
|
|
93
|
-
| :following_explorer
|
|
94
|
-
| :list_follower_explorer
|
|
95
|
-
| :list_member_extractor
|
|
96
|
-
| :list_post_extractor
|
|
97
|
-
| :mention_extractor
|
|
98
|
-
| :people_search
|
|
99
|
-
| :post_extractor
|
|
100
|
-
| :quote_extractor
|
|
101
|
-
| :reply_extractor
|
|
102
|
-
| :repost_extractor
|
|
103
|
-
| :space_explorer
|
|
104
|
-
| :thread_extractor
|
|
105
|
-
| :tweet_search_extractor
|
|
106
|
-
| :verified_follower_explorer
|
|
107
|
-
|
|
108
|
-
module ToolType
|
|
109
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
110
|
-
|
|
111
|
-
ARTICLE_EXTRACTOR: :article_extractor
|
|
112
|
-
COMMUNITY_EXTRACTOR: :community_extractor
|
|
113
|
-
COMMUNITY_MODERATOR_EXPLORER: :community_moderator_explorer
|
|
114
|
-
COMMUNITY_POST_EXTRACTOR: :community_post_extractor
|
|
115
|
-
COMMUNITY_SEARCH: :community_search
|
|
116
|
-
FOLLOWER_EXPLORER: :follower_explorer
|
|
117
|
-
FOLLOWING_EXPLORER: :following_explorer
|
|
118
|
-
LIST_FOLLOWER_EXPLORER: :list_follower_explorer
|
|
119
|
-
LIST_MEMBER_EXTRACTOR: :list_member_extractor
|
|
120
|
-
LIST_POST_EXTRACTOR: :list_post_extractor
|
|
121
|
-
MENTION_EXTRACTOR: :mention_extractor
|
|
122
|
-
PEOPLE_SEARCH: :people_search
|
|
123
|
-
POST_EXTRACTOR: :post_extractor
|
|
124
|
-
QUOTE_EXTRACTOR: :quote_extractor
|
|
125
|
-
REPLY_EXTRACTOR: :reply_extractor
|
|
126
|
-
REPOST_EXTRACTOR: :repost_extractor
|
|
127
|
-
SPACE_EXPLORER: :space_explorer
|
|
128
|
-
THREAD_EXTRACTOR: :thread_extractor
|
|
129
|
-
TWEET_SEARCH_EXTRACTOR: :tweet_search_extractor
|
|
130
|
-
VERIFIED_FOLLOWER_EXPLORER: :verified_follower_explorer
|
|
131
|
-
|
|
132
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionListResponse::Extraction::tool_type]
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
30
|
end
|
|
136
31
|
end
|
|
137
32
|
end
|
|
@@ -3,39 +3,29 @@ module XTwitterScraper
|
|
|
3
3
|
type extraction_run_response =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
-
status:
|
|
6
|
+
status: :running,
|
|
7
7
|
tool_type: XTwitterScraper::Models::ExtractionRunResponse::tool_type
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
class ExtractionRunResponse < XTwitterScraper::Internal::Type::BaseModel
|
|
11
11
|
attr_accessor id: String
|
|
12
12
|
|
|
13
|
-
attr_accessor status:
|
|
13
|
+
attr_accessor status: :running
|
|
14
14
|
|
|
15
15
|
attr_accessor tool_type: XTwitterScraper::Models::ExtractionRunResponse::tool_type
|
|
16
16
|
|
|
17
17
|
def initialize: (
|
|
18
18
|
id: String,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
tool_type: XTwitterScraper::Models::ExtractionRunResponse::tool_type,
|
|
20
|
+
?status: :running
|
|
21
21
|
) -> void
|
|
22
22
|
|
|
23
23
|
def to_hash: -> {
|
|
24
24
|
id: String,
|
|
25
|
-
status:
|
|
25
|
+
status: :running,
|
|
26
26
|
tool_type: XTwitterScraper::Models::ExtractionRunResponse::tool_type
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
type status = :running
|
|
30
|
-
|
|
31
|
-
module Status
|
|
32
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
33
|
-
|
|
34
|
-
RUNNING: :running
|
|
35
|
-
|
|
36
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::ExtractionRunResponse::status]
|
|
37
|
-
end
|
|
38
|
-
|
|
39
29
|
type tool_type =
|
|
40
30
|
:article_extractor
|
|
41
31
|
| :community_extractor
|
|
@@ -5,10 +5,10 @@ module XTwitterScraper
|
|
|
5
5
|
id: String,
|
|
6
6
|
config: ::Hash[Symbol, top],
|
|
7
7
|
created_at: Time,
|
|
8
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
8
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
9
9
|
is_active: bool,
|
|
10
10
|
name: String,
|
|
11
|
-
type:
|
|
11
|
+
type: :telegram,
|
|
12
12
|
filters: ::Hash[Symbol, top],
|
|
13
13
|
message_template: String,
|
|
14
14
|
scope_all_monitors: bool,
|
|
@@ -22,13 +22,13 @@ module XTwitterScraper
|
|
|
22
22
|
|
|
23
23
|
attr_accessor created_at: Time
|
|
24
24
|
|
|
25
|
-
attr_accessor event_types: ::Array[XTwitterScraper::Models::
|
|
25
|
+
attr_accessor event_types: ::Array[XTwitterScraper::Models::event_type]
|
|
26
26
|
|
|
27
27
|
attr_accessor is_active: bool
|
|
28
28
|
|
|
29
29
|
attr_accessor name: String
|
|
30
30
|
|
|
31
|
-
attr_accessor type:
|
|
31
|
+
attr_accessor type: :telegram
|
|
32
32
|
|
|
33
33
|
attr_reader filters: ::Hash[Symbol, top]?
|
|
34
34
|
|
|
@@ -50,60 +50,29 @@ module XTwitterScraper
|
|
|
50
50
|
id: String,
|
|
51
51
|
config: ::Hash[Symbol, top],
|
|
52
52
|
created_at: Time,
|
|
53
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
53
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
54
54
|
is_active: bool,
|
|
55
55
|
name: String,
|
|
56
|
-
type: XTwitterScraper::Models::Integration::type_,
|
|
57
56
|
?filters: ::Hash[Symbol, top],
|
|
58
57
|
?message_template: String,
|
|
59
58
|
?scope_all_monitors: bool,
|
|
60
|
-
?silent_push: bool
|
|
59
|
+
?silent_push: bool,
|
|
60
|
+
?type: :telegram
|
|
61
61
|
) -> void
|
|
62
62
|
|
|
63
63
|
def to_hash: -> {
|
|
64
64
|
id: String,
|
|
65
65
|
config: ::Hash[Symbol, top],
|
|
66
66
|
created_at: Time,
|
|
67
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
67
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
68
68
|
is_active: bool,
|
|
69
69
|
name: String,
|
|
70
|
-
type:
|
|
70
|
+
type: :telegram,
|
|
71
71
|
filters: ::Hash[Symbol, top],
|
|
72
72
|
message_template: String,
|
|
73
73
|
scope_all_monitors: bool,
|
|
74
74
|
silent_push: bool
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
type event_type =
|
|
78
|
-
:"tweet.new"
|
|
79
|
-
| :"tweet.reply"
|
|
80
|
-
| :"tweet.retweet"
|
|
81
|
-
| :"tweet.quote"
|
|
82
|
-
| :"follower.gained"
|
|
83
|
-
| :"follower.lost"
|
|
84
|
-
|
|
85
|
-
module EventType
|
|
86
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
87
|
-
|
|
88
|
-
TWEET_NEW: :"tweet.new"
|
|
89
|
-
TWEET_REPLY: :"tweet.reply"
|
|
90
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
91
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
92
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
93
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
94
|
-
|
|
95
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::Integration::event_type]
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
type type_ = :telegram
|
|
99
|
-
|
|
100
|
-
module Type
|
|
101
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
102
|
-
|
|
103
|
-
TELEGRAM: :telegram
|
|
104
|
-
|
|
105
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::Integration::type_]
|
|
106
|
-
end
|
|
107
76
|
end
|
|
108
77
|
end
|
|
109
78
|
end
|
|
@@ -3,9 +3,9 @@ module XTwitterScraper
|
|
|
3
3
|
type integration_create_params =
|
|
4
4
|
{
|
|
5
5
|
config: XTwitterScraper::IntegrationCreateParams::Config,
|
|
6
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
6
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
7
7
|
name: String,
|
|
8
|
-
type:
|
|
8
|
+
type: :telegram
|
|
9
9
|
}
|
|
10
10
|
& XTwitterScraper::Internal::Type::request_parameters
|
|
11
11
|
|
|
@@ -15,25 +15,25 @@ module XTwitterScraper
|
|
|
15
15
|
|
|
16
16
|
attr_accessor config: XTwitterScraper::IntegrationCreateParams::Config
|
|
17
17
|
|
|
18
|
-
attr_accessor event_types: ::Array[XTwitterScraper::Models::
|
|
18
|
+
attr_accessor event_types: ::Array[XTwitterScraper::Models::event_type]
|
|
19
19
|
|
|
20
20
|
attr_accessor name: String
|
|
21
21
|
|
|
22
|
-
attr_accessor type:
|
|
22
|
+
attr_accessor type: :telegram
|
|
23
23
|
|
|
24
24
|
def initialize: (
|
|
25
25
|
config: XTwitterScraper::IntegrationCreateParams::Config,
|
|
26
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
26
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
27
27
|
name: String,
|
|
28
|
-
type:
|
|
28
|
+
?type: :telegram,
|
|
29
29
|
?request_options: XTwitterScraper::request_opts
|
|
30
30
|
) -> void
|
|
31
31
|
|
|
32
32
|
def to_hash: -> {
|
|
33
33
|
config: XTwitterScraper::IntegrationCreateParams::Config,
|
|
34
|
-
event_types: ::Array[XTwitterScraper::Models::
|
|
34
|
+
event_types: ::Array[XTwitterScraper::Models::event_type],
|
|
35
35
|
name: String,
|
|
36
|
-
type:
|
|
36
|
+
type: :telegram,
|
|
37
37
|
request_options: XTwitterScraper::RequestOptions
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -46,37 +46,6 @@ module XTwitterScraper
|
|
|
46
46
|
|
|
47
47
|
def to_hash: -> { chat_id: String }
|
|
48
48
|
end
|
|
49
|
-
|
|
50
|
-
type event_type =
|
|
51
|
-
:"tweet.new"
|
|
52
|
-
| :"tweet.reply"
|
|
53
|
-
| :"tweet.retweet"
|
|
54
|
-
| :"tweet.quote"
|
|
55
|
-
| :"follower.gained"
|
|
56
|
-
| :"follower.lost"
|
|
57
|
-
|
|
58
|
-
module EventType
|
|
59
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
60
|
-
|
|
61
|
-
TWEET_NEW: :"tweet.new"
|
|
62
|
-
TWEET_REPLY: :"tweet.reply"
|
|
63
|
-
TWEET_RETWEET: :"tweet.retweet"
|
|
64
|
-
TWEET_QUOTE: :"tweet.quote"
|
|
65
|
-
FOLLOWER_GAINED: :"follower.gained"
|
|
66
|
-
FOLLOWER_LOST: :"follower.lost"
|
|
67
|
-
|
|
68
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::IntegrationCreateParams::event_type]
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
type type_ = :telegram
|
|
72
|
-
|
|
73
|
-
module Type
|
|
74
|
-
extend XTwitterScraper::Internal::Type::Enum
|
|
75
|
-
|
|
76
|
-
TELEGRAM: :telegram
|
|
77
|
-
|
|
78
|
-
def self?.values: -> ::Array[XTwitterScraper::Models::IntegrationCreateParams::type_]
|
|
79
|
-
end
|
|
80
49
|
end
|
|
81
50
|
end
|
|
82
51
|
end
|