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
|
@@ -36,7 +36,38 @@ module Onlyfans
|
|
|
36
36
|
# @return [String, nil]
|
|
37
37
|
optional :query, String, nil?: true
|
|
38
38
|
|
|
39
|
-
# @!
|
|
39
|
+
# @!attribute sort
|
|
40
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
41
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
42
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
43
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
44
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
45
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
46
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
47
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
48
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
49
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
50
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
51
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
52
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
53
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
54
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
55
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
56
|
+
# present.
|
|
57
|
+
#
|
|
58
|
+
# @return [Symbol, Onlyfans::Models::FollowingListActiveParams::Sort, nil]
|
|
59
|
+
optional :sort, enum: -> { Onlyfans::FollowingListActiveParams::Sort }, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute sort_direction
|
|
62
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
63
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
64
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
65
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
66
|
+
#
|
|
67
|
+
# @return [Symbol, Onlyfans::Models::FollowingListActiveParams::SortDirection, nil]
|
|
68
|
+
optional :sort_direction, enum: -> { Onlyfans::FollowingListActiveParams::SortDirection }, nil?: true
|
|
69
|
+
|
|
70
|
+
# @!method initialize(account:, filter: nil, limit: nil, offset: nil, query: nil, sort: nil, sort_direction: nil, request_options: {})
|
|
40
71
|
# Some parameter documentations has been truncated, see
|
|
41
72
|
# {Onlyfans::Models::FollowingListActiveParams} for more details.
|
|
42
73
|
#
|
|
@@ -50,6 +81,10 @@ module Onlyfans
|
|
|
50
81
|
#
|
|
51
82
|
# @param query [String, nil] Search within following name/username.
|
|
52
83
|
#
|
|
84
|
+
# @param sort [Symbol, Onlyfans::Models::FollowingListActiveParams::Sort, nil] Order the list by `last_activity` (the followed creator's last activity), `expir
|
|
85
|
+
#
|
|
86
|
+
# @param sort_direction [Symbol, Onlyfans::Models::FollowingListActiveParams::SortDirection, nil] Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exce
|
|
87
|
+
#
|
|
53
88
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
54
89
|
|
|
55
90
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
@@ -96,6 +131,49 @@ module Onlyfans
|
|
|
96
131
|
# @return [Array<Integer>]
|
|
97
132
|
end
|
|
98
133
|
end
|
|
134
|
+
|
|
135
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
136
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
137
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
138
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
139
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
140
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
141
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
142
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
143
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
144
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
145
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
146
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
147
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
148
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
149
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
150
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
151
|
+
# present.
|
|
152
|
+
module Sort
|
|
153
|
+
extend Onlyfans::Internal::Type::Enum
|
|
154
|
+
|
|
155
|
+
LAST_ACTIVITY = :last_activity
|
|
156
|
+
EXPIRE_DATE = :expire_date
|
|
157
|
+
SUBSCRIBE_DATE = :subscribe_date
|
|
158
|
+
IS_EXPIRED = :is_expired
|
|
159
|
+
|
|
160
|
+
# @!method self.values
|
|
161
|
+
# @return [Array<Symbol>]
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
165
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
166
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
167
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
168
|
+
module SortDirection
|
|
169
|
+
extend Onlyfans::Internal::Type::Enum
|
|
170
|
+
|
|
171
|
+
ASC = :asc
|
|
172
|
+
DESC = :desc
|
|
173
|
+
|
|
174
|
+
# @!method self.values
|
|
175
|
+
# @return [Array<Symbol>]
|
|
176
|
+
end
|
|
99
177
|
end
|
|
100
178
|
end
|
|
101
179
|
end
|
|
@@ -36,7 +36,38 @@ module Onlyfans
|
|
|
36
36
|
# @return [String, nil]
|
|
37
37
|
optional :query, String, nil?: true
|
|
38
38
|
|
|
39
|
-
# @!
|
|
39
|
+
# @!attribute sort
|
|
40
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
41
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
42
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
43
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
44
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
45
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
46
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
47
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
48
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
49
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
50
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
51
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
52
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
53
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
54
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
55
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
56
|
+
# present.
|
|
57
|
+
#
|
|
58
|
+
# @return [Symbol, Onlyfans::Models::FollowingListAllParams::Sort, nil]
|
|
59
|
+
optional :sort, enum: -> { Onlyfans::FollowingListAllParams::Sort }, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute sort_direction
|
|
62
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
63
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
64
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
65
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
66
|
+
#
|
|
67
|
+
# @return [Symbol, Onlyfans::Models::FollowingListAllParams::SortDirection, nil]
|
|
68
|
+
optional :sort_direction, enum: -> { Onlyfans::FollowingListAllParams::SortDirection }, nil?: true
|
|
69
|
+
|
|
70
|
+
# @!method initialize(account:, filter: nil, limit: nil, offset: nil, query: nil, sort: nil, sort_direction: nil, request_options: {})
|
|
40
71
|
# Some parameter documentations has been truncated, see
|
|
41
72
|
# {Onlyfans::Models::FollowingListAllParams} for more details.
|
|
42
73
|
#
|
|
@@ -50,6 +81,10 @@ module Onlyfans
|
|
|
50
81
|
#
|
|
51
82
|
# @param query [String, nil] Search within following name/username.
|
|
52
83
|
#
|
|
84
|
+
# @param sort [Symbol, Onlyfans::Models::FollowingListAllParams::Sort, nil] Order the list by `last_activity` (the followed creator's last activity), `expir
|
|
85
|
+
#
|
|
86
|
+
# @param sort_direction [Symbol, Onlyfans::Models::FollowingListAllParams::SortDirection, nil] Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exce
|
|
87
|
+
#
|
|
53
88
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
54
89
|
|
|
55
90
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
@@ -96,6 +131,49 @@ module Onlyfans
|
|
|
96
131
|
# @return [Array<Integer>]
|
|
97
132
|
end
|
|
98
133
|
end
|
|
134
|
+
|
|
135
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
136
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
137
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
138
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
139
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
140
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
141
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
142
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
143
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
144
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
145
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
146
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
147
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
148
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
149
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
150
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
151
|
+
# present.
|
|
152
|
+
module Sort
|
|
153
|
+
extend Onlyfans::Internal::Type::Enum
|
|
154
|
+
|
|
155
|
+
LAST_ACTIVITY = :last_activity
|
|
156
|
+
EXPIRE_DATE = :expire_date
|
|
157
|
+
SUBSCRIBE_DATE = :subscribe_date
|
|
158
|
+
IS_EXPIRED = :is_expired
|
|
159
|
+
|
|
160
|
+
# @!method self.values
|
|
161
|
+
# @return [Array<Symbol>]
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
165
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
166
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
167
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
168
|
+
module SortDirection
|
|
169
|
+
extend Onlyfans::Internal::Type::Enum
|
|
170
|
+
|
|
171
|
+
ASC = :asc
|
|
172
|
+
DESC = :desc
|
|
173
|
+
|
|
174
|
+
# @!method self.values
|
|
175
|
+
# @return [Array<Symbol>]
|
|
176
|
+
end
|
|
99
177
|
end
|
|
100
178
|
end
|
|
101
179
|
end
|
|
@@ -36,7 +36,38 @@ module Onlyfans
|
|
|
36
36
|
# @return [String, nil]
|
|
37
37
|
optional :query, String, nil?: true
|
|
38
38
|
|
|
39
|
-
# @!
|
|
39
|
+
# @!attribute sort
|
|
40
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
41
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
42
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
43
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
44
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
45
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
46
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
47
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
48
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
49
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
50
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
51
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
52
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
53
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
54
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
55
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
56
|
+
# present.
|
|
57
|
+
#
|
|
58
|
+
# @return [Symbol, Onlyfans::Models::FollowingListExpiredParams::Sort, nil]
|
|
59
|
+
optional :sort, enum: -> { Onlyfans::FollowingListExpiredParams::Sort }, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute sort_direction
|
|
62
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
63
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
64
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
65
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
66
|
+
#
|
|
67
|
+
# @return [Symbol, Onlyfans::Models::FollowingListExpiredParams::SortDirection, nil]
|
|
68
|
+
optional :sort_direction, enum: -> { Onlyfans::FollowingListExpiredParams::SortDirection }, nil?: true
|
|
69
|
+
|
|
70
|
+
# @!method initialize(account:, filter: nil, limit: nil, offset: nil, query: nil, sort: nil, sort_direction: nil, request_options: {})
|
|
40
71
|
# Some parameter documentations has been truncated, see
|
|
41
72
|
# {Onlyfans::Models::FollowingListExpiredParams} for more details.
|
|
42
73
|
#
|
|
@@ -50,6 +81,10 @@ module Onlyfans
|
|
|
50
81
|
#
|
|
51
82
|
# @param query [String, nil] Search within following name/username.
|
|
52
83
|
#
|
|
84
|
+
# @param sort [Symbol, Onlyfans::Models::FollowingListExpiredParams::Sort, nil] Order the list by `last_activity` (the followed creator's last activity), `expir
|
|
85
|
+
#
|
|
86
|
+
# @param sort_direction [Symbol, Onlyfans::Models::FollowingListExpiredParams::SortDirection, nil] Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set. Exce
|
|
87
|
+
#
|
|
53
88
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
54
89
|
|
|
55
90
|
class Filter < Onlyfans::Internal::Type::BaseModel
|
|
@@ -96,6 +131,49 @@ module Onlyfans
|
|
|
96
131
|
# @return [Array<Integer>]
|
|
97
132
|
end
|
|
98
133
|
end
|
|
134
|
+
|
|
135
|
+
# Order the list by `last_activity` (the followed creator's last activity),
|
|
136
|
+
# `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
|
|
137
|
+
# `is_expired` (expired first — OnlyFans only offers this one on the expired
|
|
138
|
+
# list). Omit it to keep whichever order is currently stored for the account.
|
|
139
|
+
# **Note:** OnlyFans persists this order account-wide, so it also applies to later
|
|
140
|
+
# requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
|
|
141
|
+
# changed again. **Expired list:** OnlyFans applies `offset` to the whole
|
|
142
|
+
# following collection and only then filters it down to expired subscriptions, so
|
|
143
|
+
# ordering by expiry descending puts the still-active subscriptions first and
|
|
144
|
+
# moves the expired rows to the tail of the collection — the first several hundred
|
|
145
|
+
# offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
|
|
146
|
+
# get expired-first results. For that reason `sort=expire_date` on the expired
|
|
147
|
+
# list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
|
|
148
|
+
# Whatever order you pick, an empty page is **not** the end of the list: keep
|
|
149
|
+
# following `_pagination.next_page` until it is `null` rather than stopping at the
|
|
150
|
+
# first empty page. This field is required when <code>sortDirection</code> is
|
|
151
|
+
# present.
|
|
152
|
+
module Sort
|
|
153
|
+
extend Onlyfans::Internal::Type::Enum
|
|
154
|
+
|
|
155
|
+
LAST_ACTIVITY = :last_activity
|
|
156
|
+
EXPIRE_DATE = :expire_date
|
|
157
|
+
SUBSCRIBE_DATE = :subscribe_date
|
|
158
|
+
IS_EXPIRED = :is_expired
|
|
159
|
+
|
|
160
|
+
# @!method self.values
|
|
161
|
+
# @return [Array<Symbol>]
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
|
|
165
|
+
# Exception: `sort=expire_date` on the expired list defaults to `asc`, because
|
|
166
|
+
# `desc` moves the expired rows to the tail of the underlying collection and
|
|
167
|
+
# leaves the early pages empty. Passing `sortDirection` explicitly always wins.
|
|
168
|
+
module SortDirection
|
|
169
|
+
extend Onlyfans::Internal::Type::Enum
|
|
170
|
+
|
|
171
|
+
ASC = :asc
|
|
172
|
+
DESC = :desc
|
|
173
|
+
|
|
174
|
+
# @!method self.values
|
|
175
|
+
# @return [Array<Symbol>]
|
|
176
|
+
end
|
|
99
177
|
end
|
|
100
178
|
end
|
|
101
179
|
end
|
|
@@ -8,22 +8,23 @@ module Onlyfans
|
|
|
8
8
|
include Onlyfans::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute type
|
|
11
|
-
# Filter by link type. If not provided, returns tags for
|
|
11
|
+
# Filter by link type. If not provided, returns tags for all types.
|
|
12
12
|
#
|
|
13
13
|
# @return [Symbol, Onlyfans::Models::LinkTagListParams::Type, nil]
|
|
14
14
|
optional :type, enum: -> { Onlyfans::LinkTagListParams::Type }
|
|
15
15
|
|
|
16
16
|
# @!method initialize(type: nil, request_options: {})
|
|
17
|
-
# @param type [Symbol, Onlyfans::Models::LinkTagListParams::Type] Filter by link type. If not provided, returns tags for
|
|
17
|
+
# @param type [Symbol, Onlyfans::Models::LinkTagListParams::Type] Filter by link type. If not provided, returns tags for all types.
|
|
18
18
|
#
|
|
19
19
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
20
20
|
|
|
21
|
-
# Filter by link type. If not provided, returns tags for
|
|
21
|
+
# Filter by link type. If not provided, returns tags for all types.
|
|
22
22
|
module Type
|
|
23
23
|
extend Onlyfans::Internal::Type::Enum
|
|
24
24
|
|
|
25
25
|
TRIAL_LINKS = :trial_links
|
|
26
26
|
TRACKING_LINKS = :tracking_links
|
|
27
|
+
SMART_LINKS = :smart_links
|
|
27
28
|
|
|
28
29
|
# @!method self.values
|
|
29
30
|
# @return [Array<Symbol>]
|
|
@@ -13,8 +13,8 @@ module Onlyfans
|
|
|
13
13
|
required :account, String
|
|
14
14
|
|
|
15
15
|
# @!attribute end_date
|
|
16
|
-
# The latest mass message to retrieve. Keep empty to get all.
|
|
17
|
-
# `startDate
|
|
16
|
+
# The latest mass message to retrieve. Keep empty to get all. It must be after
|
|
17
|
+
# `startDate` and is also used for pagination.
|
|
18
18
|
#
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :end_date, String
|
|
@@ -43,7 +43,7 @@ module Onlyfans
|
|
|
43
43
|
#
|
|
44
44
|
# @param account [String]
|
|
45
45
|
#
|
|
46
|
-
# @param end_date [String] The latest mass message to retrieve. Keep empty to get all.
|
|
46
|
+
# @param end_date [String] The latest mass message to retrieve. Keep empty to get all. It must be after `st
|
|
47
47
|
#
|
|
48
48
|
# @param limit [Integer] Number of mass messages to return (default = 10)
|
|
49
49
|
#
|
|
@@ -18,6 +18,17 @@ module Onlyfans
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
required :text, String
|
|
20
20
|
|
|
21
|
+
# @!attribute block_banned_words
|
|
22
|
+
# Screen `text` for OnlyFans banned words and block the send if any are found
|
|
23
|
+
# (returns a 422 listing the offending words). `strict_ban` blocks all tiers,
|
|
24
|
+
# `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften
|
|
25
|
+
# only. Omit to disable screening.
|
|
26
|
+
#
|
|
27
|
+
# @return [Symbol, Onlyfans::Models::MassMessagingSendParams::BlockBannedWords, nil]
|
|
28
|
+
optional :block_banned_words,
|
|
29
|
+
enum: -> { Onlyfans::MassMessagingSendParams::BlockBannedWords },
|
|
30
|
+
api_name: :blockBannedWords
|
|
31
|
+
|
|
21
32
|
# @!attribute excluded_lists
|
|
22
33
|
# Array of user list IDs that the mass message will NOT be sent to.
|
|
23
34
|
#
|
|
@@ -55,11 +66,11 @@ module Onlyfans
|
|
|
55
66
|
optional :previews, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]
|
|
56
67
|
|
|
57
68
|
# @!attribute price
|
|
58
|
-
# Price for paid content (0 or between 3-200). In case this is not zero,
|
|
69
|
+
# Price for paid content in USD (0 or between 3-200). In case this is not zero,
|
|
59
70
|
# **mediaFiles** is required
|
|
60
71
|
#
|
|
61
|
-
# @return [
|
|
62
|
-
optional :price,
|
|
72
|
+
# @return [Float, nil]
|
|
73
|
+
optional :price, Float
|
|
63
74
|
|
|
64
75
|
# @!attribute rf_guest
|
|
65
76
|
# Array of OnlyFans Release Form Guest IDs to tag in your mass message
|
|
@@ -91,6 +102,14 @@ module Onlyfans
|
|
|
91
102
|
# @return [String, nil]
|
|
92
103
|
optional :scheduled_date, String, api_name: :scheduledDate
|
|
93
104
|
|
|
105
|
+
# @!attribute subscribed_within_last_days
|
|
106
|
+
# Only send to fans who subscribed within the last N calendar days (1-30,
|
|
107
|
+
# including today). Can be combined with `userLists` and `userIds`. Cannot be
|
|
108
|
+
# combined with `scheduledDate` or `saveForLater`.
|
|
109
|
+
#
|
|
110
|
+
# @return [Integer, nil]
|
|
111
|
+
optional :subscribed_within_last_days, Integer, api_name: :subscribedWithinLastDays
|
|
112
|
+
|
|
94
113
|
# @!attribute user_ids
|
|
95
114
|
# Array of user IDs that the mass message will be sent to.
|
|
96
115
|
#
|
|
@@ -103,7 +122,7 @@ module Onlyfans
|
|
|
103
122
|
# @return [Array<String>, nil]
|
|
104
123
|
optional :user_lists, Onlyfans::Internal::Type::ArrayOf[String], api_name: :userLists
|
|
105
124
|
|
|
106
|
-
# @!method initialize(account:, text:, excluded_lists: nil, giphy_id: nil, locked_text: nil, media_files: nil, previews: nil, price: nil, rf_guest: nil, rf_partner: nil, rf_tag: nil, save_for_later: nil, scheduled_date: nil, user_ids: nil, user_lists: nil, request_options: {})
|
|
125
|
+
# @!method initialize(account:, text:, block_banned_words: nil, excluded_lists: nil, giphy_id: nil, locked_text: nil, media_files: nil, previews: nil, price: nil, rf_guest: nil, rf_partner: nil, rf_tag: nil, save_for_later: nil, scheduled_date: nil, subscribed_within_last_days: nil, user_ids: nil, user_lists: nil, request_options: {})
|
|
107
126
|
# Some parameter documentations has been truncated, see
|
|
108
127
|
# {Onlyfans::Models::MassMessagingSendParams} for more details.
|
|
109
128
|
#
|
|
@@ -111,6 +130,8 @@ module Onlyfans
|
|
|
111
130
|
#
|
|
112
131
|
# @param text [String] The message text content
|
|
113
132
|
#
|
|
133
|
+
# @param block_banned_words [Symbol, Onlyfans::Models::MassMessagingSendParams::BlockBannedWords] Screen `text` for OnlyFans banned words and block the send if any are found (ret
|
|
134
|
+
#
|
|
114
135
|
# @param excluded_lists [Array<String>] Array of user list IDs that the mass message will NOT be sent to.
|
|
115
136
|
#
|
|
116
137
|
# @param giphy_id [String] The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing
|
|
@@ -121,8 +142,8 @@ module Onlyfans
|
|
|
121
142
|
#
|
|
122
143
|
# @param previews [Array<Object>] Direct file uploads, OFAPI `ofapi_media_` IDs, OF vault IDs, or integer indices
|
|
123
144
|
#
|
|
124
|
-
# @param price [
|
|
125
|
-
# \*\*
|
|
145
|
+
# @param price [Float] Price for paid content in USD (0 or between 3-200). In case this is not zero,
|
|
146
|
+
# \*\*
|
|
126
147
|
#
|
|
127
148
|
# @param rf_guest [String] Array of OnlyFans Release Form Guest IDs to tag in your mass message
|
|
128
149
|
#
|
|
@@ -134,11 +155,28 @@ module Onlyfans
|
|
|
134
155
|
#
|
|
135
156
|
# @param scheduled_date [String] Schedule the chat message in the future (UTC timezone).
|
|
136
157
|
#
|
|
158
|
+
# @param subscribed_within_last_days [Integer] Only send to fans who subscribed within the last N calendar days (1-30, includin
|
|
159
|
+
#
|
|
137
160
|
# @param user_ids [Array<String>] Array of user IDs that the mass message will be sent to.
|
|
138
161
|
#
|
|
139
162
|
# @param user_lists [Array<String>] Array of user list IDs that the mass message will be sent to.
|
|
140
163
|
#
|
|
141
164
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
165
|
+
|
|
166
|
+
# Screen `text` for OnlyFans banned words and block the send if any are found
|
|
167
|
+
# (returns a 422 listing the offending words). `strict_ban` blocks all tiers,
|
|
168
|
+
# `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften
|
|
169
|
+
# only. Omit to disable screening.
|
|
170
|
+
module BlockBannedWords
|
|
171
|
+
extend Onlyfans::Internal::Type::Enum
|
|
172
|
+
|
|
173
|
+
STRICT_BAN = :strict_ban
|
|
174
|
+
RISKY = :risky
|
|
175
|
+
REPLACE_SOFTEN = :replace_soften
|
|
176
|
+
|
|
177
|
+
# @!method self.values
|
|
178
|
+
# @return [Array<Symbol>]
|
|
179
|
+
end
|
|
142
180
|
end
|
|
143
181
|
end
|
|
144
182
|
end
|
|
@@ -23,6 +23,17 @@ module Onlyfans
|
|
|
23
23
|
# @return [String]
|
|
24
24
|
required :text, String
|
|
25
25
|
|
|
26
|
+
# @!attribute block_banned_words
|
|
27
|
+
# Screen `text` for OnlyFans banned words and block the update if any are found
|
|
28
|
+
# (returns a 422 listing the offending words). `strict_ban` blocks all tiers,
|
|
29
|
+
# `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften
|
|
30
|
+
# only. Omit to disable screening.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Onlyfans::Models::MassMessagingUpdateParams::BlockBannedWords, nil]
|
|
33
|
+
optional :block_banned_words,
|
|
34
|
+
enum: -> { Onlyfans::MassMessagingUpdateParams::BlockBannedWords },
|
|
35
|
+
api_name: :blockBannedWords
|
|
36
|
+
|
|
26
37
|
# @!attribute giphy_id
|
|
27
38
|
# The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing
|
|
28
39
|
# endpoints (`/giphy/trending`, `/giphy/search`).
|
|
@@ -52,11 +63,11 @@ module Onlyfans
|
|
|
52
63
|
optional :previews, Onlyfans::Internal::Type::ArrayOf[String]
|
|
53
64
|
|
|
54
65
|
# @!attribute price
|
|
55
|
-
# Price for paid content (0 or between 3-200). In case this is not zero,
|
|
66
|
+
# Price for paid content in USD (0 or between 3-200). In case this is not zero,
|
|
56
67
|
# **mediaFiles** is required
|
|
57
68
|
#
|
|
58
|
-
# @return [
|
|
59
|
-
optional :price,
|
|
69
|
+
# @return [Float, nil]
|
|
70
|
+
optional :price, Float
|
|
60
71
|
|
|
61
72
|
# @!attribute scheduled_date
|
|
62
73
|
# Schedule the chat message in the future (UTC timezone).
|
|
@@ -76,7 +87,7 @@ module Onlyfans
|
|
|
76
87
|
# @return [Array<String>, nil]
|
|
77
88
|
optional :user_lists, Onlyfans::Internal::Type::ArrayOf[String], api_name: :userLists
|
|
78
89
|
|
|
79
|
-
# @!method initialize(account:, id:, text:, giphy_id: nil, locked_text: nil, media_files: nil, previews: nil, price: nil, scheduled_date: nil, user_ids: nil, user_lists: nil, request_options: {})
|
|
90
|
+
# @!method initialize(account:, id:, text:, block_banned_words: nil, giphy_id: nil, locked_text: nil, media_files: nil, previews: nil, price: nil, scheduled_date: nil, user_ids: nil, user_lists: nil, request_options: {})
|
|
80
91
|
# Some parameter documentations has been truncated, see
|
|
81
92
|
# {Onlyfans::Models::MassMessagingUpdateParams} for more details.
|
|
82
93
|
#
|
|
@@ -86,6 +97,8 @@ module Onlyfans
|
|
|
86
97
|
#
|
|
87
98
|
# @param text [String] The message text content
|
|
88
99
|
#
|
|
100
|
+
# @param block_banned_words [Symbol, Onlyfans::Models::MassMessagingUpdateParams::BlockBannedWords] Screen `text` for OnlyFans banned words and block the update if any are found (r
|
|
101
|
+
#
|
|
89
102
|
# @param giphy_id [String] The ID of the Giphy GIF to attach to the message. Get IDs from the Giphy listing
|
|
90
103
|
#
|
|
91
104
|
# @param locked_text [Boolean] Whether the text should be shown or hidden
|
|
@@ -94,8 +107,8 @@ module Onlyfans
|
|
|
94
107
|
#
|
|
95
108
|
# @param previews [Array<String>] Array of media file upload prefixed_ids, or OF media IDs (required if price is n
|
|
96
109
|
#
|
|
97
|
-
# @param price [
|
|
98
|
-
# \*\*
|
|
110
|
+
# @param price [Float] Price for paid content in USD (0 or between 3-200). In case this is not zero,
|
|
111
|
+
# \*\*
|
|
99
112
|
#
|
|
100
113
|
# @param scheduled_date [String] Schedule the chat message in the future (UTC timezone).
|
|
101
114
|
#
|
|
@@ -104,6 +117,21 @@ module Onlyfans
|
|
|
104
117
|
# @param user_lists [Array<String>] Array of user list IDs that the mass message will be sent to.
|
|
105
118
|
#
|
|
106
119
|
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
|
|
120
|
+
|
|
121
|
+
# Screen `text` for OnlyFans banned words and block the update if any are found
|
|
122
|
+
# (returns a 422 listing the offending words). `strict_ban` blocks all tiers,
|
|
123
|
+
# `risky` blocks Risky + Replace/soften, `replace_soften` blocks Replace/soften
|
|
124
|
+
# only. Omit to disable screening.
|
|
125
|
+
module BlockBannedWords
|
|
126
|
+
extend Onlyfans::Internal::Type::Enum
|
|
127
|
+
|
|
128
|
+
STRICT_BAN = :strict_ban
|
|
129
|
+
RISKY = :risky
|
|
130
|
+
REPLACE_SOFTEN = :replace_soften
|
|
131
|
+
|
|
132
|
+
# @!method self.values
|
|
133
|
+
# @return [Array<Symbol>]
|
|
134
|
+
end
|
|
107
135
|
end
|
|
108
136
|
end
|
|
109
137
|
end
|