onlyfans 0.1.0 → 0.3.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 +323 -0
- data/README.md +9 -4
- data/lib/onlyfans/client.rb +11 -3
- data/lib/onlyfans/internal/transport/base_client.rb +4 -1
- data/lib/onlyfans/models/analytics/financial/profitability_get_history_response.rb +114 -36
- data/lib/onlyfans/models/analytics/financial/profitability_get_profitability_response.rb +112 -46
- data/lib/onlyfans/models/authenticate_start_params.rb +1 -0
- data/lib/onlyfans/models/chat_list_media_params.rb +6 -2
- data/lib/onlyfans/models/chat_list_params.rb +8 -3
- data/lib/onlyfans/models/chats/message_list_params.rb +6 -6
- data/lib/onlyfans/models/chats/message_send_params.rb +41 -6
- data/lib/onlyfans/models/client_session_create_params.rb +1 -0
- data/lib/onlyfans/models/data_export_create_params.rb +36 -21
- data/lib/onlyfans/models/data_export_list_params.rb +5 -0
- data/lib/onlyfans/models/data_export_list_response.rb +7 -1
- data/lib/onlyfans/models/data_export_retrieve_response.rb +7 -1
- data/lib/onlyfans/models/engagement/message_get_message_buyers_params.rb +2 -2
- data/lib/onlyfans/models/engagement/message_get_top_message_params.rb +3 -3
- data/lib/onlyfans/models/engagement/messages/direct_message_chart_params.rb +2 -2
- data/lib/onlyfans/models/engagement/messages/direct_message_list_params.rb +3 -3
- data/lib/onlyfans/models/engagement/messages/mass_message_chart_params.rb +2 -2
- data/lib/onlyfans/models/engagement/messages/mass_message_list_params.rb +3 -3
- data/lib/onlyfans/models/fan_list_active_params.rb +55 -13
- data/lib/onlyfans/models/fan_list_all_params.rb +55 -13
- data/lib/onlyfans/models/fan_list_expired_params.rb +55 -13
- data/lib/onlyfans/models/fan_list_latest_params.rb +8 -8
- data/lib/onlyfans/models/fan_list_top_params.rb +6 -6
- data/lib/onlyfans/models/fans/summary_get_summary_response.rb +49 -2
- data/lib/onlyfans/models/following_list_active_params.rb +79 -1
- data/lib/onlyfans/models/following_list_all_params.rb +79 -1
- data/lib/onlyfans/models/following_list_expired_params.rb +79 -1
- data/lib/onlyfans/models/link_tag_list_params.rb +4 -3
- data/lib/onlyfans/models/mass_messaging_retrieve_overview_params.rb +3 -3
- data/lib/onlyfans/models/mass_messaging_send_params.rb +44 -6
- data/lib/onlyfans/models/mass_messaging_update_params.rb +34 -6
- data/lib/onlyfans/models/media/upload_get_status_response.rb +54 -27
- data/lib/onlyfans/models/media/vault/list_list_params.rb +14 -1
- data/lib/onlyfans/models/media/vault/list_list_response.rb +420 -202
- data/lib/onlyfans/models/media/vault/list_update_params.rb +11 -1
- data/lib/onlyfans/models/media/vault_upload_params.rb +3 -1
- data/lib/onlyfans/models/media_upload_params.rb +3 -1
- data/lib/onlyfans/models/notification_list_params.rb +3 -3
- data/lib/onlyfans/models/post_create_params.rb +29 -1
- data/lib/onlyfans/models/post_update_params.rb +29 -1
- data/lib/onlyfans/models/queue_list_params.rb +36 -15
- data/lib/onlyfans/models/release_form_list_taggable_users_response.rb +8 -8
- data/lib/onlyfans/models/shared_tracking_link_list_params.rb +75 -10
- data/lib/onlyfans/models/shared_trial_link_list_params.rb +26 -10
- data/lib/onlyfans/models/smart_link_create_response.rb +2 -2
- data/lib/onlyfans/models/smart_link_list_clicks_response.rb +19 -1
- data/lib/onlyfans/models/smart_link_list_conversions_params.rb +1 -0
- data/lib/onlyfans/models/smart_link_list_conversions_response.rb +19 -1
- data/lib/onlyfans/models/smart_link_list_fans_params.rb +21 -1
- data/lib/onlyfans/models/smart_link_list_fans_response.rb +99 -3
- data/lib/onlyfans/models/smart_link_list_params.rb +27 -9
- data/lib/onlyfans/models/smart_link_postback_create_params.rb +66 -4
- data/lib/onlyfans/models/smart_link_postback_create_response.rb +48 -1
- data/lib/onlyfans/models/smart_link_postback_list_response.rb +48 -1
- data/lib/onlyfans/models/smart_link_postback_retrieve_response.rb +48 -1
- data/lib/onlyfans/models/smart_link_postback_update_params.rb +65 -1
- data/lib/onlyfans/models/smart_link_postback_update_response.rb +48 -1
- data/lib/onlyfans/models/statistic_calculate_total_transactions_params.rb +5 -5
- data/lib/onlyfans/models/statistic_get_subscriber_metrics_params.rb +25 -1
- data/lib/onlyfans/models/statistics/reach_get_profile_visitors_params.rb +2 -2
- data/lib/onlyfans/models/statistics/statement_get_earnings_params.rb +10 -10
- data/lib/onlyfans/models/stored_list_tracking_links_response.rb +7 -1
- data/lib/onlyfans/models/stored_list_trial_links_response.rb +7 -1
- data/lib/onlyfans/models/story_create_params.rb +293 -6
- data/lib/onlyfans/models/story_create_response.rb +330 -7
- data/lib/onlyfans/models/tracking_link_get_stats_response.rb +7 -1
- data/lib/onlyfans/models/tracking_link_list_params.rb +58 -30
- data/lib/onlyfans/models/tracking_link_list_response.rb +7 -1
- data/lib/onlyfans/models/tracking_link_list_spenders_response.rb +7 -1
- data/lib/onlyfans/models/tracking_link_retrieve_response.rb +7 -1
- data/lib/onlyfans/models/transaction_list_params.rb +2 -2
- data/lib/onlyfans/models/trial_link_list_params.rb +44 -27
- data/lib/onlyfans/models/trial_link_list_response.rb +7 -1
- data/lib/onlyfans/models/trial_link_list_spenders_response.rb +7 -1
- data/lib/onlyfans/models/trial_link_retrieve_response.rb +7 -1
- data/lib/onlyfans/models/trial_link_retrieve_stats_response.rb +7 -1
- data/lib/onlyfans/models/user_list_list_params.rb +21 -1
- data/lib/onlyfans/models/user_lists/user_add_params.rb +18 -1
- data/lib/onlyfans/models/user_lists/user_add_response.rb +246 -88
- data/lib/onlyfans/models/webhook_create_params.rb +11 -7
- data/lib/onlyfans/models/webhook_update_params.rb +11 -7
- data/lib/onlyfans/models.rb +0 -2
- data/lib/onlyfans/resources/analytics/financial/profitability.rb +4 -4
- data/lib/onlyfans/resources/chats/messages.rb +47 -8
- data/lib/onlyfans/resources/chats.rb +7 -4
- data/lib/onlyfans/resources/data_exports.rb +1 -1
- data/lib/onlyfans/resources/engagement/messages/direct_messages.rb +2 -2
- data/lib/onlyfans/resources/engagement/messages/mass_messages.rb +2 -2
- data/lib/onlyfans/resources/engagement/messages.rb +2 -2
- data/lib/onlyfans/resources/fans.rb +43 -10
- data/lib/onlyfans/resources/following.rb +58 -12
- data/lib/onlyfans/resources/link_tags.rb +4 -4
- data/lib/onlyfans/resources/mass_messaging.rb +18 -9
- data/lib/onlyfans/resources/media/uploads.rb +6 -1
- data/lib/onlyfans/resources/media/vault/lists.rb +30 -5
- data/lib/onlyfans/resources/media.rb +14 -8
- data/lib/onlyfans/resources/messages.rb +0 -39
- data/lib/onlyfans/resources/notifications.rb +1 -1
- data/lib/onlyfans/resources/posts.rb +6 -2
- data/lib/onlyfans/resources/queue.rb +9 -6
- data/lib/onlyfans/resources/release_forms.rb +2 -1
- data/lib/onlyfans/resources/shared_tracking_links.rb +12 -5
- data/lib/onlyfans/resources/shared_trial_links.rb +6 -5
- data/lib/onlyfans/resources/smart_link_postbacks.rb +18 -3
- data/lib/onlyfans/resources/smart_links.rb +13 -4
- data/lib/onlyfans/resources/statistics/reach.rb +1 -1
- data/lib/onlyfans/resources/statistics/statements.rb +3 -3
- data/lib/onlyfans/resources/statistics.rb +5 -3
- data/lib/onlyfans/resources/stories.rb +13 -6
- data/lib/onlyfans/resources/tracking_links/tags.rb +5 -1
- data/lib/onlyfans/resources/tracking_links.rb +21 -11
- data/lib/onlyfans/resources/transactions.rb +1 -1
- data/lib/onlyfans/resources/trial_links/tags.rb +5 -1
- data/lib/onlyfans/resources/trial_links.rb +22 -10
- data/lib/onlyfans/resources/user_lists/users.rb +7 -2
- data/lib/onlyfans/resources/user_lists.rb +5 -2
- data/lib/onlyfans/resources/users.rb +4 -1
- data/lib/onlyfans/resources/webhooks.rb +6 -4
- data/lib/onlyfans/version.rb +1 -1
- data/lib/onlyfans.rb +0 -3
- data/rbi/onlyfans/client.rbi +11 -3
- data/rbi/onlyfans/models/analytics/financial/profitability_get_history_response.rbi +203 -63
- data/rbi/onlyfans/models/analytics/financial/profitability_get_profitability_response.rbi +201 -79
- data/rbi/onlyfans/models/authenticate_start_params.rbi +5 -0
- data/rbi/onlyfans/models/chat_list_media_params.rbi +4 -2
- data/rbi/onlyfans/models/chat_list_params.rbi +6 -3
- data/rbi/onlyfans/models/chats/message_list_params.rbi +8 -8
- data/rbi/onlyfans/models/chats/message_send_params.rbi +88 -6
- data/rbi/onlyfans/models/client_session_create_params.rbi +5 -0
- data/rbi/onlyfans/models/data_export_create_params.rbi +69 -37
- data/rbi/onlyfans/models/data_export_list_params.rbi +18 -0
- data/rbi/onlyfans/models/data_export_list_response.rbi +9 -0
- data/rbi/onlyfans/models/data_export_retrieve_response.rbi +9 -0
- data/rbi/onlyfans/models/engagement/message_get_message_buyers_params.rbi +2 -2
- data/rbi/onlyfans/models/engagement/message_get_top_message_params.rbi +4 -4
- data/rbi/onlyfans/models/engagement/messages/direct_message_chart_params.rbi +2 -2
- data/rbi/onlyfans/models/engagement/messages/direct_message_list_params.rbi +4 -4
- data/rbi/onlyfans/models/engagement/messages/mass_message_chart_params.rbi +2 -2
- data/rbi/onlyfans/models/engagement/messages/mass_message_list_params.rbi +4 -4
- data/rbi/onlyfans/models/fan_list_active_params.rbi +84 -13
- data/rbi/onlyfans/models/fan_list_all_params.rbi +84 -13
- data/rbi/onlyfans/models/fan_list_expired_params.rbi +84 -13
- data/rbi/onlyfans/models/fan_list_latest_params.rbi +10 -10
- data/rbi/onlyfans/models/fan_list_top_params.rbi +8 -8
- data/rbi/onlyfans/models/fans/summary_get_summary_response.rbi +96 -0
- data/rbi/onlyfans/models/following_list_active_params.rbi +160 -0
- data/rbi/onlyfans/models/following_list_all_params.rbi +155 -0
- data/rbi/onlyfans/models/following_list_expired_params.rbi +160 -0
- data/rbi/onlyfans/models/link_tag_list_params.rbi +5 -3
- data/rbi/onlyfans/models/mass_messaging_retrieve_overview_params.rbi +4 -4
- data/rbi/onlyfans/models/mass_messaging_send_params.rbi +91 -6
- data/rbi/onlyfans/models/mass_messaging_update_params.rbi +76 -6
- data/rbi/onlyfans/models/media/upload_get_status_response.rbi +79 -33
- data/rbi/onlyfans/models/media/vault/list_list_params.rbi +15 -0
- data/rbi/onlyfans/models/media/vault/list_list_response.rbi +972 -428
- data/rbi/onlyfans/models/media/vault/list_update_params.rbi +13 -1
- data/rbi/onlyfans/models/media/vault_upload_params.rbi +6 -2
- data/rbi/onlyfans/models/media_upload_params.rbi +6 -2
- data/rbi/onlyfans/models/notification_list_params.rbi +3 -3
- data/rbi/onlyfans/models/post_create_params.rbi +66 -0
- data/rbi/onlyfans/models/post_update_params.rbi +66 -0
- data/rbi/onlyfans/models/queue_list_params.rbi +59 -16
- data/rbi/onlyfans/models/release_form_list_taggable_users_response.rbi +12 -12
- data/rbi/onlyfans/models/shared_tracking_link_list_params.rbi +198 -11
- data/rbi/onlyfans/models/shared_trial_link_list_params.rbi +64 -11
- data/rbi/onlyfans/models/smart_link_create_response.rbi +6 -3
- data/rbi/onlyfans/models/smart_link_list_clicks_response.rbi +21 -3
- data/rbi/onlyfans/models/smart_link_list_conversions_params.rbi +5 -0
- data/rbi/onlyfans/models/smart_link_list_conversions_response.rbi +21 -3
- data/rbi/onlyfans/models/smart_link_list_fans_params.rbi +24 -0
- data/rbi/onlyfans/models/smart_link_list_fans_response.rbi +205 -3
- data/rbi/onlyfans/models/smart_link_list_params.rbi +45 -8
- data/rbi/onlyfans/models/smart_link_postback_create_params.rbi +139 -4
- data/rbi/onlyfans/models/smart_link_postback_create_response.rbi +96 -0
- data/rbi/onlyfans/models/smart_link_postback_list_response.rbi +96 -0
- data/rbi/onlyfans/models/smart_link_postback_retrieve_response.rbi +96 -0
- data/rbi/onlyfans/models/smart_link_postback_update_params.rbi +133 -0
- data/rbi/onlyfans/models/smart_link_postback_update_response.rbi +96 -0
- data/rbi/onlyfans/models/statistic_calculate_total_transactions_params.rbi +12 -6
- data/rbi/onlyfans/models/statistic_get_subscriber_metrics_params.rbi +63 -0
- data/rbi/onlyfans/models/statistics/reach_get_profile_visitors_params.rbi +2 -2
- data/rbi/onlyfans/models/statistics/statement_get_earnings_params.rbi +10 -13
- data/rbi/onlyfans/models/stored_list_tracking_links_response.rbi +9 -0
- data/rbi/onlyfans/models/stored_list_trial_links_response.rbi +9 -0
- data/rbi/onlyfans/models/story_create_params.rbi +548 -4
- data/rbi/onlyfans/models/story_create_response.rbi +670 -8
- data/rbi/onlyfans/models/tracking_link_get_stats_response.rbi +9 -0
- data/rbi/onlyfans/models/tracking_link_list_params.rbi +144 -45
- data/rbi/onlyfans/models/tracking_link_list_response.rbi +9 -0
- data/rbi/onlyfans/models/tracking_link_list_spenders_response.rbi +17 -5
- data/rbi/onlyfans/models/tracking_link_retrieve_response.rbi +9 -0
- data/rbi/onlyfans/models/transaction_list_params.rbi +2 -2
- data/rbi/onlyfans/models/trial_link_list_params.rbi +66 -33
- data/rbi/onlyfans/models/trial_link_list_response.rbi +9 -0
- data/rbi/onlyfans/models/trial_link_list_spenders_response.rbi +17 -5
- data/rbi/onlyfans/models/trial_link_retrieve_response.rbi +9 -0
- data/rbi/onlyfans/models/trial_link_retrieve_stats_response.rbi +9 -0
- data/rbi/onlyfans/models/user_list_list_params.rbi +33 -0
- data/rbi/onlyfans/models/user_lists/user_add_params.rbi +23 -0
- data/rbi/onlyfans/models/user_lists/user_add_response.rbi +596 -181
- data/rbi/onlyfans/models/webhook_create_params.rbi +16 -10
- data/rbi/onlyfans/models/webhook_update_params.rbi +16 -10
- data/rbi/onlyfans/models.rbi +0 -2
- data/rbi/onlyfans/resources/analytics/financial/profitability.rbi +2 -6
- data/rbi/onlyfans/resources/chats/messages.rbi +53 -10
- data/rbi/onlyfans/resources/chats.rbi +6 -5
- data/rbi/onlyfans/resources/data_exports.rbi +26 -17
- data/rbi/onlyfans/resources/engagement/messages/direct_messages.rbi +3 -3
- data/rbi/onlyfans/resources/engagement/messages/mass_messages.rbi +3 -3
- data/rbi/onlyfans/resources/engagement/messages.rbi +3 -3
- data/rbi/onlyfans/resources/fans.rbi +50 -17
- data/rbi/onlyfans/resources/following.rbi +122 -4
- data/rbi/onlyfans/resources/link_tags.rbi +4 -4
- data/rbi/onlyfans/resources/mass_messaging.rbi +32 -10
- data/rbi/onlyfans/resources/media/uploads.rbi +5 -0
- data/rbi/onlyfans/resources/media/vault/lists.rbi +28 -3
- data/rbi/onlyfans/resources/media/vault.rbi +3 -1
- data/rbi/onlyfans/resources/media.rbi +16 -7
- data/rbi/onlyfans/resources/messages.rbi +0 -29
- data/rbi/onlyfans/resources/notifications.rbi +1 -1
- data/rbi/onlyfans/resources/posts.rbi +14 -0
- data/rbi/onlyfans/resources/queue.rbi +15 -8
- data/rbi/onlyfans/resources/release_forms.rbi +2 -1
- data/rbi/onlyfans/resources/shared_tracking_links.rbi +21 -5
- data/rbi/onlyfans/resources/shared_trial_links.rbi +8 -5
- data/rbi/onlyfans/resources/smart_link_postbacks.rbi +27 -2
- data/rbi/onlyfans/resources/smart_links.rbi +12 -3
- data/rbi/onlyfans/resources/statistics/reach.rbi +1 -1
- data/rbi/onlyfans/resources/statistics/statements.rbi +4 -4
- data/rbi/onlyfans/resources/statistics.rbi +9 -2
- data/rbi/onlyfans/resources/stories.rbi +16 -3
- data/rbi/onlyfans/resources/tracking_links/tags.rbi +5 -1
- data/rbi/onlyfans/resources/tracking_links.rbi +30 -19
- data/rbi/onlyfans/resources/transactions.rbi +1 -1
- data/rbi/onlyfans/resources/trial_links/tags.rbi +5 -1
- data/rbi/onlyfans/resources/trial_links.rbi +29 -14
- data/rbi/onlyfans/resources/user_lists/users.rbi +10 -1
- data/rbi/onlyfans/resources/user_lists.rbi +6 -1
- data/rbi/onlyfans/resources/users.rbi +2 -1
- data/rbi/onlyfans/resources/webhooks.rbi +16 -10
- data/sig/onlyfans/models/analytics/financial/profitability_get_history_response.rbs +129 -40
- data/sig/onlyfans/models/analytics/financial/profitability_get_profitability_response.rbs +125 -50
- data/sig/onlyfans/models/authenticate_start_params.rbs +2 -1
- data/sig/onlyfans/models/chats/message_send_params.rbs +34 -6
- data/sig/onlyfans/models/client_session_create_params.rbs +2 -1
- data/sig/onlyfans/models/data_export_create_params.rbs +4 -0
- data/sig/onlyfans/models/data_export_list_params.rbs +10 -0
- data/sig/onlyfans/models/data_export_list_response.rbs +7 -0
- data/sig/onlyfans/models/data_export_retrieve_response.rbs +7 -0
- data/sig/onlyfans/models/fan_list_active_params.rbs +7 -0
- data/sig/onlyfans/models/fan_list_all_params.rbs +7 -0
- data/sig/onlyfans/models/fan_list_expired_params.rbs +7 -0
- data/sig/onlyfans/models/fans/summary_get_summary_response.rbs +53 -0
- data/sig/onlyfans/models/following_list_active_params.rbs +35 -1
- data/sig/onlyfans/models/following_list_all_params.rbs +35 -1
- data/sig/onlyfans/models/following_list_expired_params.rbs +35 -1
- data/sig/onlyfans/models/link_tag_list_params.rbs +2 -1
- data/sig/onlyfans/models/mass_messaging_send_params.rbs +33 -5
- data/sig/onlyfans/models/mass_messaging_update_params.rbs +26 -5
- data/sig/onlyfans/models/media/upload_get_status_response.rbs +65 -39
- data/sig/onlyfans/models/media/vault/list_list_params.rbs +13 -1
- data/sig/onlyfans/models/media/vault/list_list_response.rbs +519 -235
- data/sig/onlyfans/models/media/vault/list_update_params.rbs +5 -1
- data/sig/onlyfans/models/post_create_params.rbs +21 -0
- data/sig/onlyfans/models/post_update_params.rbs +21 -0
- data/sig/onlyfans/models/queue_list_params.rbs +28 -6
- data/sig/onlyfans/models/release_form_list_taggable_users_response.rbs +7 -10
- data/sig/onlyfans/models/shared_tracking_link_list_params.rbs +78 -4
- data/sig/onlyfans/models/shared_trial_link_list_params.rbs +31 -4
- data/sig/onlyfans/models/smart_link_create_response.rbs +6 -4
- data/sig/onlyfans/models/smart_link_list_clicks_response.rbs +18 -3
- data/sig/onlyfans/models/smart_link_list_conversions_params.rbs +2 -0
- data/sig/onlyfans/models/smart_link_list_conversions_response.rbs +18 -3
- data/sig/onlyfans/models/smart_link_list_fans_params.rbs +15 -1
- data/sig/onlyfans/models/smart_link_list_fans_response.rbs +125 -3
- data/sig/onlyfans/models/smart_link_list_params.rbs +27 -6
- data/sig/onlyfans/models/smart_link_postback_create_params.rbs +48 -0
- data/sig/onlyfans/models/smart_link_postback_create_response.rbs +53 -0
- data/sig/onlyfans/models/smart_link_postback_list_response.rbs +53 -0
- data/sig/onlyfans/models/smart_link_postback_retrieve_response.rbs +53 -0
- data/sig/onlyfans/models/smart_link_postback_update_params.rbs +48 -0
- data/sig/onlyfans/models/smart_link_postback_update_response.rbs +53 -0
- data/sig/onlyfans/models/statistic_calculate_total_transactions_params.rbs +8 -4
- data/sig/onlyfans/models/statistic_get_subscriber_metrics_params.rbs +23 -1
- data/sig/onlyfans/models/statistics/statement_get_earnings_params.rbs +5 -7
- data/sig/onlyfans/models/stored_list_tracking_links_response.rbs +7 -0
- data/sig/onlyfans/models/stored_list_trial_links_response.rbs +7 -0
- data/sig/onlyfans/models/story_create_params.rbs +271 -1
- data/sig/onlyfans/models/story_create_response.rbs +419 -9
- data/sig/onlyfans/models/tracking_link_get_stats_response.rbs +7 -0
- data/sig/onlyfans/models/tracking_link_list_params.rbs +75 -26
- data/sig/onlyfans/models/tracking_link_list_response.rbs +7 -0
- data/sig/onlyfans/models/tracking_link_list_spenders_response.rbs +16 -3
- data/sig/onlyfans/models/tracking_link_retrieve_response.rbs +7 -0
- data/sig/onlyfans/models/trial_link_list_params.rbs +42 -18
- data/sig/onlyfans/models/trial_link_list_response.rbs +7 -0
- data/sig/onlyfans/models/trial_link_list_spenders_response.rbs +16 -3
- data/sig/onlyfans/models/trial_link_retrieve_response.rbs +7 -0
- data/sig/onlyfans/models/trial_link_retrieve_stats_response.rbs +7 -0
- data/sig/onlyfans/models/user_list_list_params.rbs +24 -1
- data/sig/onlyfans/models/user_lists/user_add_params.rbs +12 -1
- data/sig/onlyfans/models/user_lists/user_add_response.rbs +300 -101
- data/sig/onlyfans/models.rbs +0 -2
- data/sig/onlyfans/resources/analytics/financial/profitability.rbs +2 -2
- data/sig/onlyfans/resources/chats/messages.rbs +3 -1
- data/sig/onlyfans/resources/following.rbs +6 -0
- data/sig/onlyfans/resources/mass_messaging.rbs +5 -2
- data/sig/onlyfans/resources/media/vault/lists.rbs +3 -1
- data/sig/onlyfans/resources/media.rbs +1 -1
- data/sig/onlyfans/resources/messages.rbs +0 -9
- data/sig/onlyfans/resources/posts.rbs +2 -0
- data/sig/onlyfans/resources/queue.rbs +2 -1
- data/sig/onlyfans/resources/shared_tracking_links.rbs +5 -1
- data/sig/onlyfans/resources/shared_trial_links.rbs +2 -1
- data/sig/onlyfans/resources/smart_link_postbacks.rbs +6 -0
- data/sig/onlyfans/resources/smart_links.rbs +4 -1
- data/sig/onlyfans/resources/statistics/statements.rbs +1 -1
- data/sig/onlyfans/resources/statistics.rbs +3 -2
- data/sig/onlyfans/resources/stories.rbs +4 -0
- data/sig/onlyfans/resources/tracking_links.rbs +7 -6
- data/sig/onlyfans/resources/trial_links.rbs +7 -5
- data/sig/onlyfans/resources/user_lists/users.rbs +2 -1
- data/sig/onlyfans/resources/user_lists.rbs +1 -0
- metadata +9 -15
- data/lib/onlyfans/models/media_download_response.rb +0 -7
- data/lib/onlyfans/models/message_attach_tags_params.rb +0 -52
- data/lib/onlyfans/models/message_attach_tags_response.rb +0 -125
- data/rbi/onlyfans/models/media_download_response.rbi +0 -7
- data/rbi/onlyfans/models/message_attach_tags_params.rbi +0 -80
- data/rbi/onlyfans/models/message_attach_tags_response.rbi +0 -308
- data/sig/onlyfans/models/media_download_response.rbs +0 -5
- data/sig/onlyfans/models/message_attach_tags_params.rbs +0 -52
- data/sig/onlyfans/models/message_attach_tags_response.rbs +0 -164
|
@@ -20,8 +20,8 @@ module Onlyfans
|
|
|
20
20
|
sig { params(filter: Onlyfans::FanListAllParams::Filter::OrHash).void }
|
|
21
21
|
attr_writer :filter
|
|
22
22
|
|
|
23
|
-
# Number of fans to return (1-
|
|
24
|
-
# than 20.
|
|
23
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
24
|
+
# Must be at least 1. Must not be greater than 20.
|
|
25
25
|
sig { returns(T.nilable(Integer)) }
|
|
26
26
|
attr_reader :limit
|
|
27
27
|
|
|
@@ -60,8 +60,8 @@ module Onlyfans
|
|
|
60
60
|
def self.new(
|
|
61
61
|
account:,
|
|
62
62
|
filter: nil,
|
|
63
|
-
# Number of fans to return (1-
|
|
64
|
-
# than 20.
|
|
63
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
64
|
+
# Must be at least 1. Must not be greater than 20.
|
|
65
65
|
limit: nil,
|
|
66
66
|
# Number of fans to skip. Must be at least 0.
|
|
67
67
|
offset: nil,
|
|
@@ -98,14 +98,45 @@ module Onlyfans
|
|
|
98
98
|
)
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
# Filter by minimum subscription duration in months. Must
|
|
101
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
102
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
103
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
104
|
+
# applied. Must be at least 0.
|
|
102
105
|
sig { returns(T.nilable(Integer)) }
|
|
103
106
|
attr_reader :duration
|
|
104
107
|
|
|
105
108
|
sig { params(duration: Integer).void }
|
|
106
109
|
attr_writer :duration
|
|
107
110
|
|
|
108
|
-
# Filter by
|
|
111
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
112
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
113
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
114
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
115
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
116
|
+
#
|
|
117
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
118
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
119
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
120
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
121
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
122
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
123
|
+
# automatically, so retry later for a complete answer.
|
|
124
|
+
#
|
|
125
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
126
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
127
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
128
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
129
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
130
|
+
# least 0.
|
|
131
|
+
sig { returns(T.nilable(Float)) }
|
|
132
|
+
attr_reader :max_total_spent
|
|
133
|
+
|
|
134
|
+
sig { params(max_total_spent: Float).void }
|
|
135
|
+
attr_writer :max_total_spent
|
|
136
|
+
|
|
137
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
138
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
139
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
109
140
|
sig do
|
|
110
141
|
returns(
|
|
111
142
|
T.nilable(Onlyfans::FanListAllParams::Filter::Online::OrInteger)
|
|
@@ -113,14 +144,19 @@ module Onlyfans
|
|
|
113
144
|
end
|
|
114
145
|
attr_accessor :online
|
|
115
146
|
|
|
116
|
-
# Filter by minimum tips. Must
|
|
147
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
148
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
149
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
117
150
|
sig { returns(T.nilable(Integer)) }
|
|
118
151
|
attr_reader :tips
|
|
119
152
|
|
|
120
153
|
sig { params(tips: Integer).void }
|
|
121
154
|
attr_writer :tips
|
|
122
155
|
|
|
123
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
156
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
157
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
158
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
159
|
+
# be applied. Must be at least 0.
|
|
124
160
|
sig { returns(T.nilable(Integer)) }
|
|
125
161
|
attr_reader :total_spent
|
|
126
162
|
|
|
@@ -130,6 +166,7 @@ module Onlyfans
|
|
|
130
166
|
sig do
|
|
131
167
|
params(
|
|
132
168
|
duration: Integer,
|
|
169
|
+
max_total_spent: Float,
|
|
133
170
|
online:
|
|
134
171
|
T.nilable(Onlyfans::FanListAllParams::Filter::Online::OrInteger),
|
|
135
172
|
tips: Integer,
|
|
@@ -137,13 +174,44 @@ module Onlyfans
|
|
|
137
174
|
).returns(T.attached_class)
|
|
138
175
|
end
|
|
139
176
|
def self.new(
|
|
140
|
-
# Filter by minimum subscription duration in months. Must
|
|
177
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
178
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
179
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
180
|
+
# applied. Must be at least 0.
|
|
141
181
|
duration: nil,
|
|
142
|
-
# Filter by
|
|
182
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
183
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
184
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
185
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
186
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
187
|
+
#
|
|
188
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
189
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
190
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
191
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
192
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
193
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
194
|
+
# automatically, so retry later for a complete answer.
|
|
195
|
+
#
|
|
196
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
197
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
198
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
199
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
200
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
201
|
+
# least 0.
|
|
202
|
+
max_total_spent: nil,
|
|
203
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
204
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
205
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
143
206
|
online: nil,
|
|
144
|
-
# Filter by minimum tips. Must
|
|
207
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
208
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
209
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
145
210
|
tips: nil,
|
|
146
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
211
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
212
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
213
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
214
|
+
# be applied. Must be at least 0.
|
|
147
215
|
total_spent: nil
|
|
148
216
|
)
|
|
149
217
|
end
|
|
@@ -152,6 +220,7 @@ module Onlyfans
|
|
|
152
220
|
override.returns(
|
|
153
221
|
{
|
|
154
222
|
duration: Integer,
|
|
223
|
+
max_total_spent: Float,
|
|
155
224
|
online:
|
|
156
225
|
T.nilable(
|
|
157
226
|
Onlyfans::FanListAllParams::Filter::Online::OrInteger
|
|
@@ -164,7 +233,9 @@ module Onlyfans
|
|
|
164
233
|
def to_hash
|
|
165
234
|
end
|
|
166
235
|
|
|
167
|
-
# Filter by online status (`1` for online fans).
|
|
236
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
237
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
238
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
168
239
|
module Online
|
|
169
240
|
extend Onlyfans::Internal::Type::Enum
|
|
170
241
|
|
|
@@ -22,8 +22,8 @@ module Onlyfans
|
|
|
22
22
|
end
|
|
23
23
|
attr_writer :filter
|
|
24
24
|
|
|
25
|
-
# Number of fans to return (1-
|
|
26
|
-
# than 20.
|
|
25
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
26
|
+
# Must be at least 1. Must not be greater than 20.
|
|
27
27
|
sig { returns(T.nilable(Integer)) }
|
|
28
28
|
attr_reader :limit
|
|
29
29
|
|
|
@@ -62,8 +62,8 @@ module Onlyfans
|
|
|
62
62
|
def self.new(
|
|
63
63
|
account:,
|
|
64
64
|
filter: nil,
|
|
65
|
-
# Number of fans to return (1-
|
|
66
|
-
# than 20.
|
|
65
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
66
|
+
# Must be at least 1. Must not be greater than 20.
|
|
67
67
|
limit: nil,
|
|
68
68
|
# Number of fans to skip. Must be at least 0.
|
|
69
69
|
offset: nil,
|
|
@@ -100,14 +100,45 @@ module Onlyfans
|
|
|
100
100
|
)
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
# Filter by minimum subscription duration in months. Must
|
|
103
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
104
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
105
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
106
|
+
# applied. Must be at least 0.
|
|
104
107
|
sig { returns(T.nilable(Integer)) }
|
|
105
108
|
attr_reader :duration
|
|
106
109
|
|
|
107
110
|
sig { params(duration: Integer).void }
|
|
108
111
|
attr_writer :duration
|
|
109
112
|
|
|
110
|
-
# Filter by
|
|
113
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
114
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
115
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
116
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
117
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
118
|
+
#
|
|
119
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
120
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
121
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
122
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
123
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
124
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
125
|
+
# automatically, so retry later for a complete answer.
|
|
126
|
+
#
|
|
127
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
128
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
129
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
130
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
131
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
132
|
+
# least 0.
|
|
133
|
+
sig { returns(T.nilable(Float)) }
|
|
134
|
+
attr_reader :max_total_spent
|
|
135
|
+
|
|
136
|
+
sig { params(max_total_spent: Float).void }
|
|
137
|
+
attr_writer :max_total_spent
|
|
138
|
+
|
|
139
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
140
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
141
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
111
142
|
sig do
|
|
112
143
|
returns(
|
|
113
144
|
T.nilable(Onlyfans::FanListExpiredParams::Filter::Online::OrInteger)
|
|
@@ -115,14 +146,19 @@ module Onlyfans
|
|
|
115
146
|
end
|
|
116
147
|
attr_accessor :online
|
|
117
148
|
|
|
118
|
-
# Filter by minimum tips. Must
|
|
149
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
150
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
151
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
119
152
|
sig { returns(T.nilable(Integer)) }
|
|
120
153
|
attr_reader :tips
|
|
121
154
|
|
|
122
155
|
sig { params(tips: Integer).void }
|
|
123
156
|
attr_writer :tips
|
|
124
157
|
|
|
125
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
158
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
159
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
160
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
161
|
+
# be applied. Must be at least 0.
|
|
126
162
|
sig { returns(T.nilable(Integer)) }
|
|
127
163
|
attr_reader :total_spent
|
|
128
164
|
|
|
@@ -132,6 +168,7 @@ module Onlyfans
|
|
|
132
168
|
sig do
|
|
133
169
|
params(
|
|
134
170
|
duration: Integer,
|
|
171
|
+
max_total_spent: Float,
|
|
135
172
|
online:
|
|
136
173
|
T.nilable(
|
|
137
174
|
Onlyfans::FanListExpiredParams::Filter::Online::OrInteger
|
|
@@ -141,13 +178,44 @@ module Onlyfans
|
|
|
141
178
|
).returns(T.attached_class)
|
|
142
179
|
end
|
|
143
180
|
def self.new(
|
|
144
|
-
# Filter by minimum subscription duration in months. Must
|
|
181
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
182
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
183
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
184
|
+
# applied. Must be at least 0.
|
|
145
185
|
duration: nil,
|
|
146
|
-
# Filter by
|
|
186
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
187
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
188
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
189
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
190
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
191
|
+
#
|
|
192
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
193
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
194
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
195
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
196
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
197
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
198
|
+
# automatically, so retry later for a complete answer.
|
|
199
|
+
#
|
|
200
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
201
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
202
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
203
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
204
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
205
|
+
# least 0.
|
|
206
|
+
max_total_spent: nil,
|
|
207
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
208
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
209
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
147
210
|
online: nil,
|
|
148
|
-
# Filter by minimum tips. Must
|
|
211
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
212
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
213
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
149
214
|
tips: nil,
|
|
150
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
215
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
216
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
217
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
218
|
+
# be applied. Must be at least 0.
|
|
151
219
|
total_spent: nil
|
|
152
220
|
)
|
|
153
221
|
end
|
|
@@ -156,6 +224,7 @@ module Onlyfans
|
|
|
156
224
|
override.returns(
|
|
157
225
|
{
|
|
158
226
|
duration: Integer,
|
|
227
|
+
max_total_spent: Float,
|
|
159
228
|
online:
|
|
160
229
|
T.nilable(
|
|
161
230
|
Onlyfans::FanListExpiredParams::Filter::Online::OrInteger
|
|
@@ -168,7 +237,9 @@ module Onlyfans
|
|
|
168
237
|
def to_hash
|
|
169
238
|
end
|
|
170
239
|
|
|
171
|
-
# Filter by online status (`1` for online fans).
|
|
240
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
241
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
242
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
172
243
|
module Online
|
|
173
244
|
extend Onlyfans::Internal::Type::Enum
|
|
174
245
|
|
|
@@ -14,13 +14,13 @@ module Onlyfans
|
|
|
14
14
|
sig { returns(String) }
|
|
15
15
|
attr_accessor :account
|
|
16
16
|
|
|
17
|
-
# End date for filtering (required with start_date).
|
|
18
|
-
#
|
|
17
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
18
|
+
# not be greater than 255 characters.
|
|
19
19
|
sig { returns(T.nilable(String)) }
|
|
20
20
|
attr_accessor :end_date
|
|
21
21
|
|
|
22
22
|
# Number of fans to return (1-50). Must be at least 1. Must not be greater
|
|
23
|
-
# than
|
|
23
|
+
# than 50.
|
|
24
24
|
sig { returns(T.nilable(Integer)) }
|
|
25
25
|
attr_reader :limit
|
|
26
26
|
|
|
@@ -34,8 +34,8 @@ module Onlyfans
|
|
|
34
34
|
sig { params(offset: Integer).void }
|
|
35
35
|
attr_writer :offset
|
|
36
36
|
|
|
37
|
-
# Start date for filtering (required with end_date).
|
|
38
|
-
#
|
|
37
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
38
|
+
# not be greater than 255 characters.
|
|
39
39
|
sig { returns(T.nilable(String)) }
|
|
40
40
|
attr_accessor :start_date
|
|
41
41
|
|
|
@@ -56,16 +56,16 @@ module Onlyfans
|
|
|
56
56
|
end
|
|
57
57
|
def self.new(
|
|
58
58
|
account:,
|
|
59
|
-
# End date for filtering (required with start_date).
|
|
60
|
-
#
|
|
59
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
60
|
+
# not be greater than 255 characters.
|
|
61
61
|
end_date: nil,
|
|
62
62
|
# Number of fans to return (1-50). Must be at least 1. Must not be greater
|
|
63
|
-
# than
|
|
63
|
+
# than 50.
|
|
64
64
|
limit: nil,
|
|
65
65
|
# Number of fans to skip. Must be at least 0.
|
|
66
66
|
offset: nil,
|
|
67
|
-
# Start date for filtering (required with end_date).
|
|
68
|
-
#
|
|
67
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
68
|
+
# not be greater than 255 characters.
|
|
69
69
|
start_date: nil,
|
|
70
70
|
# Filter by type: total, renew, or new.
|
|
71
71
|
type: nil,
|
|
@@ -18,13 +18,13 @@ module Onlyfans
|
|
|
18
18
|
sig { returns(T.nilable(Onlyfans::FanListTopParams::By::OrSymbol)) }
|
|
19
19
|
attr_accessor :by
|
|
20
20
|
|
|
21
|
-
# End date for filtering (required with start_date).
|
|
22
|
-
#
|
|
21
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
22
|
+
# not be greater than 255 characters.
|
|
23
23
|
sig { returns(T.nilable(String)) }
|
|
24
24
|
attr_accessor :end_date
|
|
25
25
|
|
|
26
|
-
# Start date for filtering (required with end_date).
|
|
27
|
-
#
|
|
26
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
27
|
+
# not be greater than 255 characters.
|
|
28
28
|
sig { returns(T.nilable(String)) }
|
|
29
29
|
attr_accessor :start_date
|
|
30
30
|
|
|
@@ -41,11 +41,11 @@ module Onlyfans
|
|
|
41
41
|
account:,
|
|
42
42
|
# Sort by: total (default), subscribes, tips, messages, post, streams.
|
|
43
43
|
by: nil,
|
|
44
|
-
# End date for filtering (required with start_date).
|
|
45
|
-
#
|
|
44
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
45
|
+
# not be greater than 255 characters.
|
|
46
46
|
end_date: nil,
|
|
47
|
-
# Start date for filtering (required with end_date).
|
|
48
|
-
#
|
|
47
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
48
|
+
# not be greater than 255 characters.
|
|
49
49
|
start_date: nil,
|
|
50
50
|
request_options: {}
|
|
51
51
|
)
|
|
@@ -18,6 +18,27 @@ module Onlyfans
|
|
|
18
18
|
sig { params(analyzed_message_count: Integer).void }
|
|
19
19
|
attr_writer :analyzed_message_count
|
|
20
20
|
|
|
21
|
+
sig do
|
|
22
|
+
returns(
|
|
23
|
+
T.nilable(
|
|
24
|
+
T::Array[
|
|
25
|
+
Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField
|
|
26
|
+
]
|
|
27
|
+
)
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
attr_reader :custom_fields
|
|
31
|
+
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
custom_fields:
|
|
35
|
+
T::Array[
|
|
36
|
+
Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField::OrHash
|
|
37
|
+
]
|
|
38
|
+
).void
|
|
39
|
+
end
|
|
40
|
+
attr_writer :custom_fields
|
|
41
|
+
|
|
21
42
|
sig { returns(T.nilable(String)) }
|
|
22
43
|
attr_accessor :error_message
|
|
23
44
|
|
|
@@ -27,6 +48,12 @@ module Onlyfans
|
|
|
27
48
|
sig { params(last_analyzed_at: String).void }
|
|
28
49
|
attr_writer :last_analyzed_at
|
|
29
50
|
|
|
51
|
+
sig { returns(T.nilable(String)) }
|
|
52
|
+
attr_reader :last_buy_date
|
|
53
|
+
|
|
54
|
+
sig { params(last_buy_date: String).void }
|
|
55
|
+
attr_writer :last_buy_date
|
|
56
|
+
|
|
30
57
|
sig { returns(T.nilable(String)) }
|
|
31
58
|
attr_reader :status
|
|
32
59
|
|
|
@@ -53,8 +80,13 @@ module Onlyfans
|
|
|
53
80
|
sig do
|
|
54
81
|
params(
|
|
55
82
|
analyzed_message_count: Integer,
|
|
83
|
+
custom_fields:
|
|
84
|
+
T::Array[
|
|
85
|
+
Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField::OrHash
|
|
86
|
+
],
|
|
56
87
|
error_message: T.nilable(String),
|
|
57
88
|
last_analyzed_at: String,
|
|
89
|
+
last_buy_date: String,
|
|
58
90
|
status: String,
|
|
59
91
|
summary_data:
|
|
60
92
|
Onlyfans::Models::Fans::SummaryGetSummaryResponse::SummaryData::OrHash
|
|
@@ -62,8 +94,10 @@ module Onlyfans
|
|
|
62
94
|
end
|
|
63
95
|
def self.new(
|
|
64
96
|
analyzed_message_count: nil,
|
|
97
|
+
custom_fields: nil,
|
|
65
98
|
error_message: nil,
|
|
66
99
|
last_analyzed_at: nil,
|
|
100
|
+
last_buy_date: nil,
|
|
67
101
|
status: nil,
|
|
68
102
|
summary_data: nil
|
|
69
103
|
)
|
|
@@ -73,8 +107,13 @@ module Onlyfans
|
|
|
73
107
|
override.returns(
|
|
74
108
|
{
|
|
75
109
|
analyzed_message_count: Integer,
|
|
110
|
+
custom_fields:
|
|
111
|
+
T::Array[
|
|
112
|
+
Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField
|
|
113
|
+
],
|
|
76
114
|
error_message: T.nilable(String),
|
|
77
115
|
last_analyzed_at: String,
|
|
116
|
+
last_buy_date: String,
|
|
78
117
|
status: String,
|
|
79
118
|
summary_data:
|
|
80
119
|
Onlyfans::Models::Fans::SummaryGetSummaryResponse::SummaryData
|
|
@@ -84,6 +123,36 @@ module Onlyfans
|
|
|
84
123
|
def to_hash
|
|
85
124
|
end
|
|
86
125
|
|
|
126
|
+
class CustomField < Onlyfans::Internal::Type::BaseModel
|
|
127
|
+
OrHash =
|
|
128
|
+
T.type_alias do
|
|
129
|
+
T.any(
|
|
130
|
+
Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField,
|
|
131
|
+
Onlyfans::Internal::AnyHash
|
|
132
|
+
)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
sig { returns(T.nilable(String)) }
|
|
136
|
+
attr_reader :key
|
|
137
|
+
|
|
138
|
+
sig { params(key: String).void }
|
|
139
|
+
attr_writer :key
|
|
140
|
+
|
|
141
|
+
sig { returns(T.nilable(String)) }
|
|
142
|
+
attr_reader :label
|
|
143
|
+
|
|
144
|
+
sig { params(label: String).void }
|
|
145
|
+
attr_writer :label
|
|
146
|
+
|
|
147
|
+
sig { params(key: String, label: String).returns(T.attached_class) }
|
|
148
|
+
def self.new(key: nil, label: nil)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
sig { override.returns({ key: String, label: String }) }
|
|
152
|
+
def to_hash
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
87
156
|
class SummaryData < Onlyfans::Internal::Type::BaseModel
|
|
88
157
|
OrHash =
|
|
89
158
|
T.type_alias do
|
|
@@ -93,12 +162,24 @@ module Onlyfans
|
|
|
93
162
|
)
|
|
94
163
|
end
|
|
95
164
|
|
|
165
|
+
sig { returns(T.nilable(String)) }
|
|
166
|
+
attr_reader :content_dislikes
|
|
167
|
+
|
|
168
|
+
sig { params(content_dislikes: String).void }
|
|
169
|
+
attr_writer :content_dislikes
|
|
170
|
+
|
|
96
171
|
sig { returns(T.nilable(String)) }
|
|
97
172
|
attr_reader :content_preferences
|
|
98
173
|
|
|
99
174
|
sig { params(content_preferences: String).void }
|
|
100
175
|
attr_writer :content_preferences
|
|
101
176
|
|
|
177
|
+
sig { returns(T.nilable(String)) }
|
|
178
|
+
attr_reader :dos_and_donts
|
|
179
|
+
|
|
180
|
+
sig { params(dos_and_donts: String).void }
|
|
181
|
+
attr_writer :dos_and_donts
|
|
182
|
+
|
|
102
183
|
sig { returns(T.nilable(String)) }
|
|
103
184
|
attr_reader :family_pets
|
|
104
185
|
|
|
@@ -147,6 +228,12 @@ module Onlyfans
|
|
|
147
228
|
sig { params(requests: String).void }
|
|
148
229
|
attr_writer :requests
|
|
149
230
|
|
|
231
|
+
sig { returns(T.nilable(String)) }
|
|
232
|
+
attr_reader :spend_cadence
|
|
233
|
+
|
|
234
|
+
sig { params(spend_cadence: String).void }
|
|
235
|
+
attr_writer :spend_cadence
|
|
236
|
+
|
|
150
237
|
sig { returns(T.nilable(String)) }
|
|
151
238
|
attr_reader :themes
|
|
152
239
|
|
|
@@ -161,7 +248,9 @@ module Onlyfans
|
|
|
161
248
|
|
|
162
249
|
sig do
|
|
163
250
|
params(
|
|
251
|
+
content_dislikes: String,
|
|
164
252
|
content_preferences: String,
|
|
253
|
+
dos_and_donts: String,
|
|
165
254
|
family_pets: String,
|
|
166
255
|
hobbies: String,
|
|
167
256
|
interests: String,
|
|
@@ -170,12 +259,15 @@ module Onlyfans
|
|
|
170
259
|
other_notes: String,
|
|
171
260
|
preferred_name: String,
|
|
172
261
|
requests: String,
|
|
262
|
+
spend_cadence: String,
|
|
173
263
|
themes: String,
|
|
174
264
|
travel_plans: String
|
|
175
265
|
).returns(T.attached_class)
|
|
176
266
|
end
|
|
177
267
|
def self.new(
|
|
268
|
+
content_dislikes: nil,
|
|
178
269
|
content_preferences: nil,
|
|
270
|
+
dos_and_donts: nil,
|
|
179
271
|
family_pets: nil,
|
|
180
272
|
hobbies: nil,
|
|
181
273
|
interests: nil,
|
|
@@ -184,6 +276,7 @@ module Onlyfans
|
|
|
184
276
|
other_notes: nil,
|
|
185
277
|
preferred_name: nil,
|
|
186
278
|
requests: nil,
|
|
279
|
+
spend_cadence: nil,
|
|
187
280
|
themes: nil,
|
|
188
281
|
travel_plans: nil
|
|
189
282
|
)
|
|
@@ -192,7 +285,9 @@ module Onlyfans
|
|
|
192
285
|
sig do
|
|
193
286
|
override.returns(
|
|
194
287
|
{
|
|
288
|
+
content_dislikes: String,
|
|
195
289
|
content_preferences: String,
|
|
290
|
+
dos_and_donts: String,
|
|
196
291
|
family_pets: String,
|
|
197
292
|
hobbies: String,
|
|
198
293
|
interests: String,
|
|
@@ -201,6 +296,7 @@ module Onlyfans
|
|
|
201
296
|
other_notes: String,
|
|
202
297
|
preferred_name: String,
|
|
203
298
|
requests: String,
|
|
299
|
+
spend_cadence: String,
|
|
204
300
|
themes: String,
|
|
205
301
|
travel_plans: String
|
|
206
302
|
}
|