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
|
@@ -15,8 +15,8 @@ module Onlyfans
|
|
|
15
15
|
required :account, String
|
|
16
16
|
|
|
17
17
|
# @!attribute end_date
|
|
18
|
-
# The latest message to retrieve. Keep empty to get all.
|
|
19
|
-
# `startDate
|
|
18
|
+
# The latest message to retrieve. Keep empty to get all. It must be after
|
|
19
|
+
# `startDate` and is also used for pagination.
|
|
20
20
|
#
|
|
21
21
|
# @return [String, nil]
|
|
22
22
|
optional :end_date, String
|
|
@@ -52,7 +52,7 @@ module Onlyfans
|
|
|
52
52
|
#
|
|
53
53
|
# @param account [String]
|
|
54
54
|
#
|
|
55
|
-
# @param end_date [String] The latest message to retrieve. Keep empty to get all.
|
|
55
|
+
# @param end_date [String] The latest message to retrieve. Keep empty to get all. It must be after `startDa
|
|
56
56
|
#
|
|
57
57
|
# @param limit [Integer] Number of messages to return (default = 10)
|
|
58
58
|
#
|
|
@@ -15,7 +15,7 @@ module Onlyfans
|
|
|
15
15
|
required :account, String
|
|
16
16
|
|
|
17
17
|
# @!attribute end_date
|
|
18
|
-
# End of the chart window in `Y-m-d H:i:s` format.
|
|
18
|
+
# End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`.
|
|
19
19
|
#
|
|
20
20
|
# @return [String, nil]
|
|
21
21
|
optional :end_date, String
|
|
@@ -35,7 +35,7 @@ module Onlyfans
|
|
|
35
35
|
# @!method initialize(account:, end_date: nil, start_date: nil, with_total: nil, request_options: {})
|
|
36
36
|
# @param account [String]
|
|
37
37
|
#
|
|
38
|
-
# @param end_date [String] End of the chart window in `Y-m-d H:i:s` format.
|
|
38
|
+
# @param end_date [String] End of the chart window in `Y-m-d H:i:s` format. It must be after `startDate`.
|
|
39
39
|
#
|
|
40
40
|
# @param start_date [String] Start of the chart window in `Y-m-d H:i:s` format.
|
|
41
41
|
#
|
|
@@ -15,8 +15,8 @@ module Onlyfans
|
|
|
15
15
|
required :account, String
|
|
16
16
|
|
|
17
17
|
# @!attribute end_date
|
|
18
|
-
# The latest message to retrieve. Keep empty to get all.
|
|
19
|
-
# `startDate
|
|
18
|
+
# The latest message to retrieve. Keep empty to get all. It must be after
|
|
19
|
+
# `startDate` and is also used for pagination.
|
|
20
20
|
#
|
|
21
21
|
# @return [String, nil]
|
|
22
22
|
optional :end_date, String
|
|
@@ -46,7 +46,7 @@ module Onlyfans
|
|
|
46
46
|
#
|
|
47
47
|
# @param account [String]
|
|
48
48
|
#
|
|
49
|
-
# @param end_date [String] The latest message to retrieve. Keep empty to get all.
|
|
49
|
+
# @param end_date [String] The latest message to retrieve. Keep empty to get all. It must be after `startDa
|
|
50
50
|
#
|
|
51
51
|
# @param limit [Integer] Number of messages to return (default = 10)
|
|
52
52
|
#
|
|
@@ -18,8 +18,8 @@ module Onlyfans
|
|
|
18
18
|
optional :filter, -> { Onlyfans::FanListActiveParams::Filter }
|
|
19
19
|
|
|
20
20
|
# @!attribute limit
|
|
21
|
-
# Number of fans to return (1-
|
|
22
|
-
# than 20.
|
|
21
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
22
|
+
# Must be at least 1. Must not be greater than 20.
|
|
23
23
|
#
|
|
24
24
|
# @return [Integer, nil]
|
|
25
25
|
optional :limit, Integer
|
|
@@ -50,7 +50,7 @@ module Onlyfans
|
|
|
50
50
|
#
|
|
51
51
|
# @param filter [Onlyfans::Models::FanListActiveParams::Filter]
|
|
52
52
|
#
|
|
53
|
-
# @param limit [Integer] Number of fans to return (1-
|
|
53
|
+
# @param limit [Integer] Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
54
54
|
#
|
|
55
55
|
# @param offset [Integer] Number of fans to skip. Must be at least 0.
|
|
56
56
|
#
|
|
@@ -62,39 +62,81 @@ module Onlyfans
|
|
|
62
62
|
|
|
63
63
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
64
64
|
# @!attribute duration
|
|
65
|
-
# Filter by minimum subscription duration in months. Must
|
|
65
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
66
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
67
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
68
|
+
# applied. Must be at least 0.
|
|
66
69
|
#
|
|
67
70
|
# @return [Integer, nil]
|
|
68
71
|
optional :duration, Integer
|
|
69
72
|
|
|
73
|
+
# @!attribute max_total_spent
|
|
74
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
75
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
76
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
77
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
78
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
79
|
+
#
|
|
80
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
81
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
82
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
83
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
84
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
85
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
86
|
+
# automatically, so retry later for a complete answer.
|
|
87
|
+
#
|
|
88
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
89
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
90
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
91
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
92
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
93
|
+
# least 0.
|
|
94
|
+
#
|
|
95
|
+
# @return [Float, nil]
|
|
96
|
+
optional :max_total_spent, Float
|
|
97
|
+
|
|
70
98
|
# @!attribute online
|
|
71
|
-
# Filter by online status (`1` for online fans).
|
|
99
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
100
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
101
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
72
102
|
#
|
|
73
103
|
# @return [Integer, Onlyfans::Models::FanListActiveParams::Filter::Online, nil]
|
|
74
104
|
optional :online, enum: -> { Onlyfans::FanListActiveParams::Filter::Online }, nil?: true
|
|
75
105
|
|
|
76
106
|
# @!attribute tips
|
|
77
|
-
# Filter by minimum tips. Must
|
|
107
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
108
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
109
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
78
110
|
#
|
|
79
111
|
# @return [Integer, nil]
|
|
80
112
|
optional :tips, Integer
|
|
81
113
|
|
|
82
114
|
# @!attribute total_spent
|
|
83
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
115
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
116
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
117
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
118
|
+
# be applied. Must be at least 0.
|
|
84
119
|
#
|
|
85
120
|
# @return [Integer, nil]
|
|
86
121
|
optional :total_spent, Integer
|
|
87
122
|
|
|
88
|
-
# @!method initialize(duration: nil, online: nil, tips: nil, total_spent: nil)
|
|
89
|
-
#
|
|
123
|
+
# @!method initialize(duration: nil, max_total_spent: nil, online: nil, tips: nil, total_spent: nil)
|
|
124
|
+
# Some parameter documentations has been truncated, see
|
|
125
|
+
# {Onlyfans::Models::FanListActiveParams::Filter} for more details.
|
|
126
|
+
#
|
|
127
|
+
# @param duration [Integer] Filter by minimum subscription duration in months. Must use bracket syntax: filt
|
|
128
|
+
#
|
|
129
|
+
# @param max_total_spent [Float] Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]
|
|
90
130
|
#
|
|
91
|
-
# @param online [Integer, Onlyfans::Models::FanListActiveParams::Filter::Online, nil] Filter by online status (`1` for online fans).
|
|
131
|
+
# @param online [Integer, Onlyfans::Models::FanListActiveParams::Filter::Online, nil] Filter by online status (`1` for online fans). Must use bracket syntax: filter[o
|
|
92
132
|
#
|
|
93
|
-
# @param tips [Integer] Filter by minimum tips. Must
|
|
133
|
+
# @param tips [Integer] Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
94
134
|
#
|
|
95
|
-
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must
|
|
135
|
+
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[t
|
|
96
136
|
|
|
97
|
-
# Filter by online status (`1` for online fans).
|
|
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.
|
|
98
140
|
#
|
|
99
141
|
# @see Onlyfans::Models::FanListActiveParams::Filter#online
|
|
100
142
|
module Online
|
|
@@ -18,8 +18,8 @@ module Onlyfans
|
|
|
18
18
|
optional :filter, -> { Onlyfans::FanListAllParams::Filter }
|
|
19
19
|
|
|
20
20
|
# @!attribute limit
|
|
21
|
-
# Number of fans to return (1-
|
|
22
|
-
# than 20.
|
|
21
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
22
|
+
# Must be at least 1. Must not be greater than 20.
|
|
23
23
|
#
|
|
24
24
|
# @return [Integer, nil]
|
|
25
25
|
optional :limit, Integer
|
|
@@ -50,7 +50,7 @@ module Onlyfans
|
|
|
50
50
|
#
|
|
51
51
|
# @param filter [Onlyfans::Models::FanListAllParams::Filter]
|
|
52
52
|
#
|
|
53
|
-
# @param limit [Integer] Number of fans to return (1-
|
|
53
|
+
# @param limit [Integer] Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
54
54
|
#
|
|
55
55
|
# @param offset [Integer] Number of fans to skip. Must be at least 0.
|
|
56
56
|
#
|
|
@@ -62,39 +62,81 @@ module Onlyfans
|
|
|
62
62
|
|
|
63
63
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
64
64
|
# @!attribute duration
|
|
65
|
-
# Filter by minimum subscription duration in months. Must
|
|
65
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
66
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
67
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
68
|
+
# applied. Must be at least 0.
|
|
66
69
|
#
|
|
67
70
|
# @return [Integer, nil]
|
|
68
71
|
optional :duration, Integer
|
|
69
72
|
|
|
73
|
+
# @!attribute max_total_spent
|
|
74
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
75
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
76
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
77
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
78
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
79
|
+
#
|
|
80
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
81
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
82
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
83
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
84
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
85
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
86
|
+
# automatically, so retry later for a complete answer.
|
|
87
|
+
#
|
|
88
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
89
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
90
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
91
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
92
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
93
|
+
# least 0.
|
|
94
|
+
#
|
|
95
|
+
# @return [Float, nil]
|
|
96
|
+
optional :max_total_spent, Float
|
|
97
|
+
|
|
70
98
|
# @!attribute online
|
|
71
|
-
# Filter by online status (`1` for online fans).
|
|
99
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
100
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
101
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
72
102
|
#
|
|
73
103
|
# @return [Integer, Onlyfans::Models::FanListAllParams::Filter::Online, nil]
|
|
74
104
|
optional :online, enum: -> { Onlyfans::FanListAllParams::Filter::Online }, nil?: true
|
|
75
105
|
|
|
76
106
|
# @!attribute tips
|
|
77
|
-
# Filter by minimum tips. Must
|
|
107
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
108
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
109
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
78
110
|
#
|
|
79
111
|
# @return [Integer, nil]
|
|
80
112
|
optional :tips, Integer
|
|
81
113
|
|
|
82
114
|
# @!attribute total_spent
|
|
83
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
115
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
116
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
117
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
118
|
+
# be applied. Must be at least 0.
|
|
84
119
|
#
|
|
85
120
|
# @return [Integer, nil]
|
|
86
121
|
optional :total_spent, Integer
|
|
87
122
|
|
|
88
|
-
# @!method initialize(duration: nil, online: nil, tips: nil, total_spent: nil)
|
|
89
|
-
#
|
|
123
|
+
# @!method initialize(duration: nil, max_total_spent: nil, online: nil, tips: nil, total_spent: nil)
|
|
124
|
+
# Some parameter documentations has been truncated, see
|
|
125
|
+
# {Onlyfans::Models::FanListAllParams::Filter} for more details.
|
|
126
|
+
#
|
|
127
|
+
# @param duration [Integer] Filter by minimum subscription duration in months. Must use bracket syntax: filt
|
|
128
|
+
#
|
|
129
|
+
# @param max_total_spent [Float] Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]
|
|
90
130
|
#
|
|
91
|
-
# @param online [Integer, Onlyfans::Models::FanListAllParams::Filter::Online, nil] Filter by online status (`1` for online fans).
|
|
131
|
+
# @param online [Integer, Onlyfans::Models::FanListAllParams::Filter::Online, nil] Filter by online status (`1` for online fans). Must use bracket syntax: filter[o
|
|
92
132
|
#
|
|
93
|
-
# @param tips [Integer] Filter by minimum tips. Must
|
|
133
|
+
# @param tips [Integer] Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
94
134
|
#
|
|
95
|
-
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must
|
|
135
|
+
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[t
|
|
96
136
|
|
|
97
|
-
# Filter by online status (`1` for online fans).
|
|
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.
|
|
98
140
|
#
|
|
99
141
|
# @see Onlyfans::Models::FanListAllParams::Filter#online
|
|
100
142
|
module Online
|
|
@@ -18,8 +18,8 @@ module Onlyfans
|
|
|
18
18
|
optional :filter, -> { Onlyfans::FanListExpiredParams::Filter }
|
|
19
19
|
|
|
20
20
|
# @!attribute limit
|
|
21
|
-
# Number of fans to return (1-
|
|
22
|
-
# than 20.
|
|
21
|
+
# Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
22
|
+
# Must be at least 1. Must not be greater than 20.
|
|
23
23
|
#
|
|
24
24
|
# @return [Integer, nil]
|
|
25
25
|
optional :limit, Integer
|
|
@@ -50,7 +50,7 @@ module Onlyfans
|
|
|
50
50
|
#
|
|
51
51
|
# @param filter [Onlyfans::Models::FanListExpiredParams::Filter]
|
|
52
52
|
#
|
|
53
|
-
# @param limit [Integer] Number of fans to return (1-
|
|
53
|
+
# @param limit [Integer] Number of fans to return (1-20). OnlyFans does not allow more than 20 per page.
|
|
54
54
|
#
|
|
55
55
|
# @param offset [Integer] Number of fans to skip. Must be at least 0.
|
|
56
56
|
#
|
|
@@ -62,39 +62,81 @@ module Onlyfans
|
|
|
62
62
|
|
|
63
63
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
64
64
|
# @!attribute duration
|
|
65
|
-
# Filter by minimum subscription duration in months. Must
|
|
65
|
+
# Filter by minimum subscription duration in months. Must use bracket syntax:
|
|
66
|
+
# filter[duration]=1 — the dot form (filter.duration=1) is rejected with a 422,
|
|
67
|
+
# because PHP rewrites it to `filter_duration` and the filter could not be
|
|
68
|
+
# applied. Must be at least 0.
|
|
66
69
|
#
|
|
67
70
|
# @return [Integer, nil]
|
|
68
71
|
optional :duration, Integer
|
|
69
72
|
|
|
73
|
+
# @!attribute max_total_spent
|
|
74
|
+
# Filter by **maximum** amount total spent by a fan — use
|
|
75
|
+
# `filter[max_total_spent]=0` to isolate fans who have never spent. Combine with
|
|
76
|
+
# `filter[total_spent]` for a range. Must use bracket syntax:
|
|
77
|
+
# filter[max_total_spent]=0 — the dot form is rejected with a 422, because PHP
|
|
78
|
+
# rewrites it to `filter_max_total_spent` and the filter could not be applied.
|
|
79
|
+
#
|
|
80
|
+
# OnlyFans itself has no maximum-spend filter, so this one is resolved against
|
|
81
|
+
# OnlyFansAPI's own fan index instead of being proxied. The fan objects in
|
|
82
|
+
# `data.list` are still fetched live from OnlyFans and are re-checked against your
|
|
83
|
+
# filters before being returned, but only fans we have already indexed for this
|
|
84
|
+
# account can appear. Each response reports its own coverage under `data._source`;
|
|
85
|
+
# when `data._source.is_complete` is `false` a full-base backfill is queued
|
|
86
|
+
# automatically, so retry later for a complete answer.
|
|
87
|
+
#
|
|
88
|
+
# `data._source.omitted_from_page` counts fans that matched your filters but which
|
|
89
|
+
# OnlyFans returned no usable data for on that page (a deleted account, or a
|
|
90
|
+
# partial response). They are left out of `data.list` and not revisited later in
|
|
91
|
+
# the same walk, so a non-zero value means that page was short — start a fresh
|
|
92
|
+
# walk to retry them. Cannot be combined with `filter[online]`. Must be at
|
|
93
|
+
# least 0.
|
|
94
|
+
#
|
|
95
|
+
# @return [Float, nil]
|
|
96
|
+
optional :max_total_spent, Float
|
|
97
|
+
|
|
70
98
|
# @!attribute online
|
|
71
|
-
# Filter by online status (`1` for online fans).
|
|
99
|
+
# Filter by online status (`1` for online fans). Must use bracket syntax:
|
|
100
|
+
# filter[online]=1 — the dot form (filter.online=1) is rejected with a 422,
|
|
101
|
+
# because PHP rewrites it to `filter_online` and the filter could not be applied.
|
|
72
102
|
#
|
|
73
103
|
# @return [Integer, Onlyfans::Models::FanListExpiredParams::Filter::Online, nil]
|
|
74
104
|
optional :online, enum: -> { Onlyfans::FanListExpiredParams::Filter::Online }, nil?: true
|
|
75
105
|
|
|
76
106
|
# @!attribute tips
|
|
77
|
-
# Filter by minimum tips. Must
|
|
107
|
+
# Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
108
|
+
# (filter.tips=100) is rejected with a 422, because PHP rewrites it to
|
|
109
|
+
# `filter_tips` and the filter could not be applied. Must be at least 0.
|
|
78
110
|
#
|
|
79
111
|
# @return [Integer, nil]
|
|
80
112
|
optional :tips, Integer
|
|
81
113
|
|
|
82
114
|
# @!attribute total_spent
|
|
83
|
-
# Filter by minimum amount total spent by a fan. Must
|
|
115
|
+
# Filter by minimum amount total spent by a fan. Must use bracket syntax:
|
|
116
|
+
# filter[total_spent]=100 — the dot form (filter.total_spent=100) is rejected with
|
|
117
|
+
# a 422, because PHP rewrites it to `filter_total_spent` and the filter could not
|
|
118
|
+
# be applied. Must be at least 0.
|
|
84
119
|
#
|
|
85
120
|
# @return [Integer, nil]
|
|
86
121
|
optional :total_spent, Integer
|
|
87
122
|
|
|
88
|
-
# @!method initialize(duration: nil, online: nil, tips: nil, total_spent: nil)
|
|
89
|
-
#
|
|
123
|
+
# @!method initialize(duration: nil, max_total_spent: nil, online: nil, tips: nil, total_spent: nil)
|
|
124
|
+
# Some parameter documentations has been truncated, see
|
|
125
|
+
# {Onlyfans::Models::FanListExpiredParams::Filter} for more details.
|
|
126
|
+
#
|
|
127
|
+
# @param duration [Integer] Filter by minimum subscription duration in months. Must use bracket syntax: filt
|
|
128
|
+
#
|
|
129
|
+
# @param max_total_spent [Float] Filter by **maximum** amount total spent by a fan — use `filter[max_total_spent]
|
|
90
130
|
#
|
|
91
|
-
# @param online [Integer, Onlyfans::Models::FanListExpiredParams::Filter::Online, nil] Filter by online status (`1` for online fans).
|
|
131
|
+
# @param online [Integer, Onlyfans::Models::FanListExpiredParams::Filter::Online, nil] Filter by online status (`1` for online fans). Must use bracket syntax: filter[o
|
|
92
132
|
#
|
|
93
|
-
# @param tips [Integer] Filter by minimum tips. Must
|
|
133
|
+
# @param tips [Integer] Filter by minimum tips. Must use bracket syntax: filter[tips]=100 — the dot form
|
|
94
134
|
#
|
|
95
|
-
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must
|
|
135
|
+
# @param total_spent [Integer] Filter by minimum amount total spent by a fan. Must use bracket syntax: filter[t
|
|
96
136
|
|
|
97
|
-
# Filter by online status (`1` for online fans).
|
|
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.
|
|
98
140
|
#
|
|
99
141
|
# @see Onlyfans::Models::FanListExpiredParams::Filter#online
|
|
100
142
|
module Online
|
|
@@ -13,15 +13,15 @@ module Onlyfans
|
|
|
13
13
|
required :account, String
|
|
14
14
|
|
|
15
15
|
# @!attribute end_date
|
|
16
|
-
# End date for filtering (required with start_date).
|
|
17
|
-
#
|
|
16
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
17
|
+
# not be greater than 255 characters.
|
|
18
18
|
#
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :end_date, String, nil?: true
|
|
21
21
|
|
|
22
22
|
# @!attribute limit
|
|
23
23
|
# Number of fans to return (1-50). Must be at least 1. Must not be greater
|
|
24
|
-
# than
|
|
24
|
+
# than 50.
|
|
25
25
|
#
|
|
26
26
|
# @return [Integer, nil]
|
|
27
27
|
optional :limit, Integer
|
|
@@ -33,8 +33,8 @@ module Onlyfans
|
|
|
33
33
|
optional :offset, Integer
|
|
34
34
|
|
|
35
35
|
# @!attribute start_date
|
|
36
|
-
# Start date for filtering (required with end_date).
|
|
37
|
-
#
|
|
36
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
37
|
+
# not be greater than 255 characters.
|
|
38
38
|
#
|
|
39
39
|
# @return [String, nil]
|
|
40
40
|
optional :start_date, String, nil?: true
|
|
@@ -51,13 +51,13 @@ module Onlyfans
|
|
|
51
51
|
#
|
|
52
52
|
# @param account [String]
|
|
53
53
|
#
|
|
54
|
-
# @param end_date [String, nil] End date for filtering (required with start_date).
|
|
54
|
+
# @param end_date [String, nil] End date for filtering (required with start_date). Must be a valid date. Must no
|
|
55
55
|
#
|
|
56
|
-
# @param limit [Integer] Number of fans to return (1-50). Must be at least 1. Must not be greater than
|
|
56
|
+
# @param limit [Integer] Number of fans to return (1-50). Must be at least 1. Must not be greater than 50
|
|
57
57
|
#
|
|
58
58
|
# @param offset [Integer] Number of fans to skip. Must be at least 0.
|
|
59
59
|
#
|
|
60
|
-
# @param start_date [String, nil] Start date for filtering (required with end_date).
|
|
60
|
+
# @param start_date [String, nil] Start date for filtering (required with end_date). Must be a valid date. Must no
|
|
61
61
|
#
|
|
62
62
|
# @param type [Symbol, Onlyfans::Models::FanListLatestParams::Type, nil] Filter by type: total, renew, or new.
|
|
63
63
|
#
|
|
@@ -19,15 +19,15 @@ module Onlyfans
|
|
|
19
19
|
optional :by, enum: -> { Onlyfans::FanListTopParams::By }, nil?: true
|
|
20
20
|
|
|
21
21
|
# @!attribute end_date
|
|
22
|
-
# End date for filtering (required with start_date).
|
|
23
|
-
#
|
|
22
|
+
# End date for filtering (required with start_date). Must be a valid date. Must
|
|
23
|
+
# not be greater than 255 characters.
|
|
24
24
|
#
|
|
25
25
|
# @return [String, nil]
|
|
26
26
|
optional :end_date, String, nil?: true
|
|
27
27
|
|
|
28
28
|
# @!attribute start_date
|
|
29
|
-
# Start date for filtering (required with end_date).
|
|
30
|
-
#
|
|
29
|
+
# Start date for filtering (required with end_date). Must be a valid date. Must
|
|
30
|
+
# not be greater than 255 characters.
|
|
31
31
|
#
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
optional :start_date, String, nil?: true
|
|
@@ -40,9 +40,9 @@ module Onlyfans
|
|
|
40
40
|
#
|
|
41
41
|
# @param by [Symbol, Onlyfans::Models::FanListTopParams::By, nil] Sort by: total (default), subscribes, tips, messages, post, streams.
|
|
42
42
|
#
|
|
43
|
-
# @param end_date [String, nil] End date for filtering (required with start_date).
|
|
43
|
+
# @param end_date [String, nil] End date for filtering (required with start_date). Must be a valid date. Must no
|
|
44
44
|
#
|
|
45
|
-
# @param start_date [String, nil] Start date for filtering (required with end_date).
|
|
45
|
+
# @param start_date [String, nil] Start date for filtering (required with end_date). Must be a valid date. Must no
|
|
46
46
|
#
|
|
47
47
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
48
48
|
|
|
@@ -10,6 +10,12 @@ module Onlyfans
|
|
|
10
10
|
# @return [Integer, nil]
|
|
11
11
|
optional :analyzed_message_count, Integer
|
|
12
12
|
|
|
13
|
+
# @!attribute custom_fields
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField>, nil]
|
|
16
|
+
optional :custom_fields,
|
|
17
|
+
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField] }
|
|
18
|
+
|
|
13
19
|
# @!attribute error_message
|
|
14
20
|
#
|
|
15
21
|
# @return [String, nil]
|
|
@@ -20,6 +26,11 @@ module Onlyfans
|
|
|
20
26
|
# @return [String, nil]
|
|
21
27
|
optional :last_analyzed_at, String
|
|
22
28
|
|
|
29
|
+
# @!attribute last_buy_date
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :last_buy_date, String
|
|
33
|
+
|
|
23
34
|
# @!attribute status
|
|
24
35
|
#
|
|
25
36
|
# @return [String, nil]
|
|
@@ -30,20 +41,48 @@ module Onlyfans
|
|
|
30
41
|
# @return [Onlyfans::Models::Fans::SummaryGetSummaryResponse::SummaryData, nil]
|
|
31
42
|
optional :summary_data, -> { Onlyfans::Models::Fans::SummaryGetSummaryResponse::SummaryData }
|
|
32
43
|
|
|
33
|
-
# @!method initialize(analyzed_message_count: nil, error_message: nil, last_analyzed_at: nil, status: nil, summary_data: nil)
|
|
44
|
+
# @!method initialize(analyzed_message_count: nil, custom_fields: nil, error_message: nil, last_analyzed_at: nil, last_buy_date: nil, status: nil, summary_data: nil)
|
|
34
45
|
# @param analyzed_message_count [Integer]
|
|
46
|
+
# @param custom_fields [Array<Onlyfans::Models::Fans::SummaryGetSummaryResponse::CustomField>]
|
|
35
47
|
# @param error_message [String, nil]
|
|
36
48
|
# @param last_analyzed_at [String]
|
|
49
|
+
# @param last_buy_date [String]
|
|
37
50
|
# @param status [String]
|
|
38
51
|
# @param summary_data [Onlyfans::Models::Fans::SummaryGetSummaryResponse::SummaryData]
|
|
39
52
|
|
|
53
|
+
class CustomField < Onlyfans::Internal::Type::BaseModel
|
|
54
|
+
# @!attribute key
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :key, String
|
|
58
|
+
|
|
59
|
+
# @!attribute label
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :label, String
|
|
63
|
+
|
|
64
|
+
# @!method initialize(key: nil, label: nil)
|
|
65
|
+
# @param key [String]
|
|
66
|
+
# @param label [String]
|
|
67
|
+
end
|
|
68
|
+
|
|
40
69
|
# @see Onlyfans::Models::Fans::SummaryGetSummaryResponse#summary_data
|
|
41
70
|
class SummaryData < Onlyfans::Internal::Type::BaseModel
|
|
71
|
+
# @!attribute content_dislikes
|
|
72
|
+
#
|
|
73
|
+
# @return [String, nil]
|
|
74
|
+
optional :content_dislikes, String
|
|
75
|
+
|
|
42
76
|
# @!attribute content_preferences
|
|
43
77
|
#
|
|
44
78
|
# @return [String, nil]
|
|
45
79
|
optional :content_preferences, String
|
|
46
80
|
|
|
81
|
+
# @!attribute dos_and_donts
|
|
82
|
+
#
|
|
83
|
+
# @return [String, nil]
|
|
84
|
+
optional :dos_and_donts, String
|
|
85
|
+
|
|
47
86
|
# @!attribute family_pets
|
|
48
87
|
#
|
|
49
88
|
# @return [String, nil]
|
|
@@ -84,6 +123,11 @@ module Onlyfans
|
|
|
84
123
|
# @return [String, nil]
|
|
85
124
|
optional :requests, String
|
|
86
125
|
|
|
126
|
+
# @!attribute spend_cadence
|
|
127
|
+
#
|
|
128
|
+
# @return [String, nil]
|
|
129
|
+
optional :spend_cadence, String
|
|
130
|
+
|
|
87
131
|
# @!attribute themes
|
|
88
132
|
#
|
|
89
133
|
# @return [String, nil]
|
|
@@ -94,8 +138,10 @@ module Onlyfans
|
|
|
94
138
|
# @return [String, nil]
|
|
95
139
|
optional :travel_plans, String
|
|
96
140
|
|
|
97
|
-
# @!method initialize(content_preferences: nil, family_pets: nil, hobbies: nil, interests: nil, kinks: nil, name: nil, other_notes: nil, preferred_name: nil, requests: nil, themes: nil, travel_plans: nil)
|
|
141
|
+
# @!method initialize(content_dislikes: nil, content_preferences: nil, dos_and_donts: nil, family_pets: nil, hobbies: nil, interests: nil, kinks: nil, name: nil, other_notes: nil, preferred_name: nil, requests: nil, spend_cadence: nil, themes: nil, travel_plans: nil)
|
|
142
|
+
# @param content_dislikes [String]
|
|
98
143
|
# @param content_preferences [String]
|
|
144
|
+
# @param dos_and_donts [String]
|
|
99
145
|
# @param family_pets [String]
|
|
100
146
|
# @param hobbies [String]
|
|
101
147
|
# @param interests [String]
|
|
@@ -104,6 +150,7 @@ module Onlyfans
|
|
|
104
150
|
# @param other_notes [String]
|
|
105
151
|
# @param preferred_name [String]
|
|
106
152
|
# @param requests [String]
|
|
153
|
+
# @param spend_cadence [String]
|
|
107
154
|
# @param themes [String]
|
|
108
155
|
# @param travel_plans [String]
|
|
109
156
|
end
|