onlyfans 0.2.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.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +315 -0
  3. data/README.md +9 -4
  4. data/lib/onlyfans/client.rb +11 -3
  5. data/lib/onlyfans/internal/transport/base_client.rb +4 -1
  6. data/lib/onlyfans/models/analytics/financial/profitability_get_history_response.rb +114 -36
  7. data/lib/onlyfans/models/analytics/financial/profitability_get_profitability_response.rb +112 -46
  8. data/lib/onlyfans/models/authenticate_start_params.rb +1 -0
  9. data/lib/onlyfans/models/chat_list_media_params.rb +6 -2
  10. data/lib/onlyfans/models/chat_list_params.rb +8 -3
  11. data/lib/onlyfans/models/chats/message_list_params.rb +6 -6
  12. data/lib/onlyfans/models/chats/message_send_params.rb +41 -6
  13. data/lib/onlyfans/models/client_session_create_params.rb +1 -0
  14. data/lib/onlyfans/models/data_export_create_params.rb +36 -21
  15. data/lib/onlyfans/models/data_export_list_params.rb +5 -0
  16. data/lib/onlyfans/models/data_export_list_response.rb +7 -1
  17. data/lib/onlyfans/models/data_export_retrieve_response.rb +7 -1
  18. data/lib/onlyfans/models/engagement/message_get_message_buyers_params.rb +2 -2
  19. data/lib/onlyfans/models/engagement/message_get_top_message_params.rb +3 -3
  20. data/lib/onlyfans/models/engagement/messages/direct_message_chart_params.rb +2 -2
  21. data/lib/onlyfans/models/engagement/messages/direct_message_list_params.rb +3 -3
  22. data/lib/onlyfans/models/engagement/messages/mass_message_chart_params.rb +2 -2
  23. data/lib/onlyfans/models/engagement/messages/mass_message_list_params.rb +3 -3
  24. data/lib/onlyfans/models/fan_list_active_params.rb +55 -13
  25. data/lib/onlyfans/models/fan_list_all_params.rb +55 -13
  26. data/lib/onlyfans/models/fan_list_expired_params.rb +55 -13
  27. data/lib/onlyfans/models/fan_list_latest_params.rb +8 -8
  28. data/lib/onlyfans/models/fan_list_top_params.rb +6 -6
  29. data/lib/onlyfans/models/fans/summary_get_summary_response.rb +49 -2
  30. data/lib/onlyfans/models/following_list_active_params.rb +79 -1
  31. data/lib/onlyfans/models/following_list_all_params.rb +79 -1
  32. data/lib/onlyfans/models/following_list_expired_params.rb +79 -1
  33. data/lib/onlyfans/models/link_tag_list_params.rb +4 -3
  34. data/lib/onlyfans/models/mass_messaging_retrieve_overview_params.rb +3 -3
  35. data/lib/onlyfans/models/mass_messaging_send_params.rb +44 -6
  36. data/lib/onlyfans/models/mass_messaging_update_params.rb +34 -6
  37. data/lib/onlyfans/models/media/upload_get_status_response.rb +54 -27
  38. data/lib/onlyfans/models/media/vault/list_list_params.rb +14 -1
  39. data/lib/onlyfans/models/media/vault/list_list_response.rb +420 -202
  40. data/lib/onlyfans/models/media/vault/list_update_params.rb +11 -1
  41. data/lib/onlyfans/models/media/vault_upload_params.rb +3 -1
  42. data/lib/onlyfans/models/media_upload_params.rb +3 -1
  43. data/lib/onlyfans/models/notification_list_params.rb +3 -3
  44. data/lib/onlyfans/models/post_create_params.rb +29 -1
  45. data/lib/onlyfans/models/post_update_params.rb +29 -1
  46. data/lib/onlyfans/models/queue_list_params.rb +36 -15
  47. data/lib/onlyfans/models/release_form_list_taggable_users_response.rb +8 -8
  48. data/lib/onlyfans/models/shared_tracking_link_list_params.rb +75 -10
  49. data/lib/onlyfans/models/shared_trial_link_list_params.rb +26 -10
  50. data/lib/onlyfans/models/smart_link_create_response.rb +2 -2
  51. data/lib/onlyfans/models/smart_link_list_clicks_response.rb +19 -1
  52. data/lib/onlyfans/models/smart_link_list_conversions_params.rb +1 -0
  53. data/lib/onlyfans/models/smart_link_list_conversions_response.rb +19 -1
  54. data/lib/onlyfans/models/smart_link_list_fans_params.rb +21 -1
  55. data/lib/onlyfans/models/smart_link_list_fans_response.rb +99 -3
  56. data/lib/onlyfans/models/smart_link_list_params.rb +27 -9
  57. data/lib/onlyfans/models/smart_link_postback_create_params.rb +66 -4
  58. data/lib/onlyfans/models/smart_link_postback_create_response.rb +48 -1
  59. data/lib/onlyfans/models/smart_link_postback_list_response.rb +48 -1
  60. data/lib/onlyfans/models/smart_link_postback_retrieve_response.rb +48 -1
  61. data/lib/onlyfans/models/smart_link_postback_update_params.rb +65 -1
  62. data/lib/onlyfans/models/smart_link_postback_update_response.rb +48 -1
  63. data/lib/onlyfans/models/statistic_calculate_total_transactions_params.rb +5 -5
  64. data/lib/onlyfans/models/statistic_get_subscriber_metrics_params.rb +25 -1
  65. data/lib/onlyfans/models/statistics/reach_get_profile_visitors_params.rb +2 -2
  66. data/lib/onlyfans/models/statistics/statement_get_earnings_params.rb +10 -10
  67. data/lib/onlyfans/models/stored_list_tracking_links_response.rb +7 -1
  68. data/lib/onlyfans/models/stored_list_trial_links_response.rb +7 -1
  69. data/lib/onlyfans/models/story_create_params.rb +293 -6
  70. data/lib/onlyfans/models/story_create_response.rb +330 -7
  71. data/lib/onlyfans/models/tracking_link_get_stats_response.rb +7 -1
  72. data/lib/onlyfans/models/tracking_link_list_params.rb +58 -30
  73. data/lib/onlyfans/models/tracking_link_list_response.rb +7 -1
  74. data/lib/onlyfans/models/tracking_link_list_spenders_response.rb +7 -1
  75. data/lib/onlyfans/models/tracking_link_retrieve_response.rb +7 -1
  76. data/lib/onlyfans/models/transaction_list_params.rb +2 -2
  77. data/lib/onlyfans/models/trial_link_list_params.rb +44 -27
  78. data/lib/onlyfans/models/trial_link_list_response.rb +7 -1
  79. data/lib/onlyfans/models/trial_link_list_spenders_response.rb +7 -1
  80. data/lib/onlyfans/models/trial_link_retrieve_response.rb +7 -1
  81. data/lib/onlyfans/models/trial_link_retrieve_stats_response.rb +7 -1
  82. data/lib/onlyfans/models/user_list_list_params.rb +21 -1
  83. data/lib/onlyfans/models/user_lists/user_add_params.rb +18 -1
  84. data/lib/onlyfans/models/user_lists/user_add_response.rb +246 -88
  85. data/lib/onlyfans/models/webhook_create_params.rb +11 -7
  86. data/lib/onlyfans/models/webhook_update_params.rb +11 -7
  87. data/lib/onlyfans/models.rb +0 -2
  88. data/lib/onlyfans/resources/analytics/financial/profitability.rb +4 -4
  89. data/lib/onlyfans/resources/chats/messages.rb +47 -8
  90. data/lib/onlyfans/resources/chats.rb +7 -4
  91. data/lib/onlyfans/resources/data_exports.rb +1 -1
  92. data/lib/onlyfans/resources/engagement/messages/direct_messages.rb +2 -2
  93. data/lib/onlyfans/resources/engagement/messages/mass_messages.rb +2 -2
  94. data/lib/onlyfans/resources/engagement/messages.rb +2 -2
  95. data/lib/onlyfans/resources/fans.rb +43 -10
  96. data/lib/onlyfans/resources/following.rb +58 -12
  97. data/lib/onlyfans/resources/link_tags.rb +4 -4
  98. data/lib/onlyfans/resources/mass_messaging.rb +18 -9
  99. data/lib/onlyfans/resources/media/uploads.rb +6 -1
  100. data/lib/onlyfans/resources/media/vault/lists.rb +30 -5
  101. data/lib/onlyfans/resources/media.rb +14 -8
  102. data/lib/onlyfans/resources/messages.rb +0 -39
  103. data/lib/onlyfans/resources/notifications.rb +1 -1
  104. data/lib/onlyfans/resources/posts.rb +6 -2
  105. data/lib/onlyfans/resources/queue.rb +9 -6
  106. data/lib/onlyfans/resources/release_forms.rb +2 -1
  107. data/lib/onlyfans/resources/shared_tracking_links.rb +12 -5
  108. data/lib/onlyfans/resources/shared_trial_links.rb +6 -5
  109. data/lib/onlyfans/resources/smart_link_postbacks.rb +18 -3
  110. data/lib/onlyfans/resources/smart_links.rb +13 -4
  111. data/lib/onlyfans/resources/statistics/reach.rb +1 -1
  112. data/lib/onlyfans/resources/statistics/statements.rb +3 -3
  113. data/lib/onlyfans/resources/statistics.rb +5 -3
  114. data/lib/onlyfans/resources/stories.rb +13 -6
  115. data/lib/onlyfans/resources/tracking_links/tags.rb +5 -1
  116. data/lib/onlyfans/resources/tracking_links.rb +21 -11
  117. data/lib/onlyfans/resources/transactions.rb +1 -1
  118. data/lib/onlyfans/resources/trial_links/tags.rb +5 -1
  119. data/lib/onlyfans/resources/trial_links.rb +22 -10
  120. data/lib/onlyfans/resources/user_lists/users.rb +7 -2
  121. data/lib/onlyfans/resources/user_lists.rb +5 -2
  122. data/lib/onlyfans/resources/users.rb +4 -1
  123. data/lib/onlyfans/resources/webhooks.rb +6 -4
  124. data/lib/onlyfans/version.rb +1 -1
  125. data/lib/onlyfans.rb +0 -3
  126. data/rbi/onlyfans/client.rbi +11 -3
  127. data/rbi/onlyfans/models/analytics/financial/profitability_get_history_response.rbi +203 -63
  128. data/rbi/onlyfans/models/analytics/financial/profitability_get_profitability_response.rbi +201 -79
  129. data/rbi/onlyfans/models/authenticate_start_params.rbi +5 -0
  130. data/rbi/onlyfans/models/chat_list_media_params.rbi +4 -2
  131. data/rbi/onlyfans/models/chat_list_params.rbi +6 -3
  132. data/rbi/onlyfans/models/chats/message_list_params.rbi +8 -8
  133. data/rbi/onlyfans/models/chats/message_send_params.rbi +88 -6
  134. data/rbi/onlyfans/models/client_session_create_params.rbi +5 -0
  135. data/rbi/onlyfans/models/data_export_create_params.rbi +69 -37
  136. data/rbi/onlyfans/models/data_export_list_params.rbi +18 -0
  137. data/rbi/onlyfans/models/data_export_list_response.rbi +9 -0
  138. data/rbi/onlyfans/models/data_export_retrieve_response.rbi +9 -0
  139. data/rbi/onlyfans/models/engagement/message_get_message_buyers_params.rbi +2 -2
  140. data/rbi/onlyfans/models/engagement/message_get_top_message_params.rbi +4 -4
  141. data/rbi/onlyfans/models/engagement/messages/direct_message_chart_params.rbi +2 -2
  142. data/rbi/onlyfans/models/engagement/messages/direct_message_list_params.rbi +4 -4
  143. data/rbi/onlyfans/models/engagement/messages/mass_message_chart_params.rbi +2 -2
  144. data/rbi/onlyfans/models/engagement/messages/mass_message_list_params.rbi +4 -4
  145. data/rbi/onlyfans/models/fan_list_active_params.rbi +84 -13
  146. data/rbi/onlyfans/models/fan_list_all_params.rbi +84 -13
  147. data/rbi/onlyfans/models/fan_list_expired_params.rbi +84 -13
  148. data/rbi/onlyfans/models/fan_list_latest_params.rbi +10 -10
  149. data/rbi/onlyfans/models/fan_list_top_params.rbi +8 -8
  150. data/rbi/onlyfans/models/fans/summary_get_summary_response.rbi +96 -0
  151. data/rbi/onlyfans/models/following_list_active_params.rbi +160 -0
  152. data/rbi/onlyfans/models/following_list_all_params.rbi +155 -0
  153. data/rbi/onlyfans/models/following_list_expired_params.rbi +160 -0
  154. data/rbi/onlyfans/models/link_tag_list_params.rbi +5 -3
  155. data/rbi/onlyfans/models/mass_messaging_retrieve_overview_params.rbi +4 -4
  156. data/rbi/onlyfans/models/mass_messaging_send_params.rbi +91 -6
  157. data/rbi/onlyfans/models/mass_messaging_update_params.rbi +76 -6
  158. data/rbi/onlyfans/models/media/upload_get_status_response.rbi +79 -33
  159. data/rbi/onlyfans/models/media/vault/list_list_params.rbi +15 -0
  160. data/rbi/onlyfans/models/media/vault/list_list_response.rbi +972 -428
  161. data/rbi/onlyfans/models/media/vault/list_update_params.rbi +13 -1
  162. data/rbi/onlyfans/models/media/vault_upload_params.rbi +6 -2
  163. data/rbi/onlyfans/models/media_upload_params.rbi +6 -2
  164. data/rbi/onlyfans/models/notification_list_params.rbi +3 -3
  165. data/rbi/onlyfans/models/post_create_params.rbi +66 -0
  166. data/rbi/onlyfans/models/post_update_params.rbi +66 -0
  167. data/rbi/onlyfans/models/queue_list_params.rbi +59 -16
  168. data/rbi/onlyfans/models/release_form_list_taggable_users_response.rbi +12 -12
  169. data/rbi/onlyfans/models/shared_tracking_link_list_params.rbi +198 -11
  170. data/rbi/onlyfans/models/shared_trial_link_list_params.rbi +64 -11
  171. data/rbi/onlyfans/models/smart_link_create_response.rbi +6 -3
  172. data/rbi/onlyfans/models/smart_link_list_clicks_response.rbi +21 -3
  173. data/rbi/onlyfans/models/smart_link_list_conversions_params.rbi +5 -0
  174. data/rbi/onlyfans/models/smart_link_list_conversions_response.rbi +21 -3
  175. data/rbi/onlyfans/models/smart_link_list_fans_params.rbi +24 -0
  176. data/rbi/onlyfans/models/smart_link_list_fans_response.rbi +205 -3
  177. data/rbi/onlyfans/models/smart_link_list_params.rbi +45 -8
  178. data/rbi/onlyfans/models/smart_link_postback_create_params.rbi +139 -4
  179. data/rbi/onlyfans/models/smart_link_postback_create_response.rbi +96 -0
  180. data/rbi/onlyfans/models/smart_link_postback_list_response.rbi +96 -0
  181. data/rbi/onlyfans/models/smart_link_postback_retrieve_response.rbi +96 -0
  182. data/rbi/onlyfans/models/smart_link_postback_update_params.rbi +133 -0
  183. data/rbi/onlyfans/models/smart_link_postback_update_response.rbi +96 -0
  184. data/rbi/onlyfans/models/statistic_calculate_total_transactions_params.rbi +12 -6
  185. data/rbi/onlyfans/models/statistic_get_subscriber_metrics_params.rbi +63 -0
  186. data/rbi/onlyfans/models/statistics/reach_get_profile_visitors_params.rbi +2 -2
  187. data/rbi/onlyfans/models/statistics/statement_get_earnings_params.rbi +10 -13
  188. data/rbi/onlyfans/models/stored_list_tracking_links_response.rbi +9 -0
  189. data/rbi/onlyfans/models/stored_list_trial_links_response.rbi +9 -0
  190. data/rbi/onlyfans/models/story_create_params.rbi +548 -4
  191. data/rbi/onlyfans/models/story_create_response.rbi +670 -8
  192. data/rbi/onlyfans/models/tracking_link_get_stats_response.rbi +9 -0
  193. data/rbi/onlyfans/models/tracking_link_list_params.rbi +144 -45
  194. data/rbi/onlyfans/models/tracking_link_list_response.rbi +9 -0
  195. data/rbi/onlyfans/models/tracking_link_list_spenders_response.rbi +17 -5
  196. data/rbi/onlyfans/models/tracking_link_retrieve_response.rbi +9 -0
  197. data/rbi/onlyfans/models/transaction_list_params.rbi +2 -2
  198. data/rbi/onlyfans/models/trial_link_list_params.rbi +66 -33
  199. data/rbi/onlyfans/models/trial_link_list_response.rbi +9 -0
  200. data/rbi/onlyfans/models/trial_link_list_spenders_response.rbi +17 -5
  201. data/rbi/onlyfans/models/trial_link_retrieve_response.rbi +9 -0
  202. data/rbi/onlyfans/models/trial_link_retrieve_stats_response.rbi +9 -0
  203. data/rbi/onlyfans/models/user_list_list_params.rbi +33 -0
  204. data/rbi/onlyfans/models/user_lists/user_add_params.rbi +23 -0
  205. data/rbi/onlyfans/models/user_lists/user_add_response.rbi +596 -181
  206. data/rbi/onlyfans/models/webhook_create_params.rbi +16 -10
  207. data/rbi/onlyfans/models/webhook_update_params.rbi +16 -10
  208. data/rbi/onlyfans/models.rbi +0 -2
  209. data/rbi/onlyfans/resources/analytics/financial/profitability.rbi +2 -6
  210. data/rbi/onlyfans/resources/chats/messages.rbi +53 -10
  211. data/rbi/onlyfans/resources/chats.rbi +6 -5
  212. data/rbi/onlyfans/resources/data_exports.rbi +26 -17
  213. data/rbi/onlyfans/resources/engagement/messages/direct_messages.rbi +3 -3
  214. data/rbi/onlyfans/resources/engagement/messages/mass_messages.rbi +3 -3
  215. data/rbi/onlyfans/resources/engagement/messages.rbi +3 -3
  216. data/rbi/onlyfans/resources/fans.rbi +50 -17
  217. data/rbi/onlyfans/resources/following.rbi +122 -4
  218. data/rbi/onlyfans/resources/link_tags.rbi +4 -4
  219. data/rbi/onlyfans/resources/mass_messaging.rbi +32 -10
  220. data/rbi/onlyfans/resources/media/uploads.rbi +5 -0
  221. data/rbi/onlyfans/resources/media/vault/lists.rbi +28 -3
  222. data/rbi/onlyfans/resources/media/vault.rbi +3 -1
  223. data/rbi/onlyfans/resources/media.rbi +16 -7
  224. data/rbi/onlyfans/resources/messages.rbi +0 -29
  225. data/rbi/onlyfans/resources/notifications.rbi +1 -1
  226. data/rbi/onlyfans/resources/posts.rbi +14 -0
  227. data/rbi/onlyfans/resources/queue.rbi +15 -8
  228. data/rbi/onlyfans/resources/release_forms.rbi +2 -1
  229. data/rbi/onlyfans/resources/shared_tracking_links.rbi +21 -5
  230. data/rbi/onlyfans/resources/shared_trial_links.rbi +8 -5
  231. data/rbi/onlyfans/resources/smart_link_postbacks.rbi +27 -2
  232. data/rbi/onlyfans/resources/smart_links.rbi +12 -3
  233. data/rbi/onlyfans/resources/statistics/reach.rbi +1 -1
  234. data/rbi/onlyfans/resources/statistics/statements.rbi +4 -4
  235. data/rbi/onlyfans/resources/statistics.rbi +9 -2
  236. data/rbi/onlyfans/resources/stories.rbi +16 -3
  237. data/rbi/onlyfans/resources/tracking_links/tags.rbi +5 -1
  238. data/rbi/onlyfans/resources/tracking_links.rbi +30 -19
  239. data/rbi/onlyfans/resources/transactions.rbi +1 -1
  240. data/rbi/onlyfans/resources/trial_links/tags.rbi +5 -1
  241. data/rbi/onlyfans/resources/trial_links.rbi +29 -14
  242. data/rbi/onlyfans/resources/user_lists/users.rbi +10 -1
  243. data/rbi/onlyfans/resources/user_lists.rbi +6 -1
  244. data/rbi/onlyfans/resources/users.rbi +2 -1
  245. data/rbi/onlyfans/resources/webhooks.rbi +16 -10
  246. data/sig/onlyfans/models/analytics/financial/profitability_get_history_response.rbs +129 -40
  247. data/sig/onlyfans/models/analytics/financial/profitability_get_profitability_response.rbs +125 -50
  248. data/sig/onlyfans/models/authenticate_start_params.rbs +2 -1
  249. data/sig/onlyfans/models/chats/message_send_params.rbs +34 -6
  250. data/sig/onlyfans/models/client_session_create_params.rbs +2 -1
  251. data/sig/onlyfans/models/data_export_create_params.rbs +4 -0
  252. data/sig/onlyfans/models/data_export_list_params.rbs +10 -0
  253. data/sig/onlyfans/models/data_export_list_response.rbs +7 -0
  254. data/sig/onlyfans/models/data_export_retrieve_response.rbs +7 -0
  255. data/sig/onlyfans/models/fan_list_active_params.rbs +7 -0
  256. data/sig/onlyfans/models/fan_list_all_params.rbs +7 -0
  257. data/sig/onlyfans/models/fan_list_expired_params.rbs +7 -0
  258. data/sig/onlyfans/models/fans/summary_get_summary_response.rbs +53 -0
  259. data/sig/onlyfans/models/following_list_active_params.rbs +35 -1
  260. data/sig/onlyfans/models/following_list_all_params.rbs +35 -1
  261. data/sig/onlyfans/models/following_list_expired_params.rbs +35 -1
  262. data/sig/onlyfans/models/link_tag_list_params.rbs +2 -1
  263. data/sig/onlyfans/models/mass_messaging_send_params.rbs +33 -5
  264. data/sig/onlyfans/models/mass_messaging_update_params.rbs +26 -5
  265. data/sig/onlyfans/models/media/upload_get_status_response.rbs +65 -39
  266. data/sig/onlyfans/models/media/vault/list_list_params.rbs +13 -1
  267. data/sig/onlyfans/models/media/vault/list_list_response.rbs +519 -235
  268. data/sig/onlyfans/models/media/vault/list_update_params.rbs +5 -1
  269. data/sig/onlyfans/models/post_create_params.rbs +21 -0
  270. data/sig/onlyfans/models/post_update_params.rbs +21 -0
  271. data/sig/onlyfans/models/queue_list_params.rbs +28 -6
  272. data/sig/onlyfans/models/release_form_list_taggable_users_response.rbs +7 -10
  273. data/sig/onlyfans/models/shared_tracking_link_list_params.rbs +78 -4
  274. data/sig/onlyfans/models/shared_trial_link_list_params.rbs +31 -4
  275. data/sig/onlyfans/models/smart_link_create_response.rbs +6 -4
  276. data/sig/onlyfans/models/smart_link_list_clicks_response.rbs +18 -3
  277. data/sig/onlyfans/models/smart_link_list_conversions_params.rbs +2 -0
  278. data/sig/onlyfans/models/smart_link_list_conversions_response.rbs +18 -3
  279. data/sig/onlyfans/models/smart_link_list_fans_params.rbs +15 -1
  280. data/sig/onlyfans/models/smart_link_list_fans_response.rbs +125 -3
  281. data/sig/onlyfans/models/smart_link_list_params.rbs +27 -6
  282. data/sig/onlyfans/models/smart_link_postback_create_params.rbs +48 -0
  283. data/sig/onlyfans/models/smart_link_postback_create_response.rbs +53 -0
  284. data/sig/onlyfans/models/smart_link_postback_list_response.rbs +53 -0
  285. data/sig/onlyfans/models/smart_link_postback_retrieve_response.rbs +53 -0
  286. data/sig/onlyfans/models/smart_link_postback_update_params.rbs +48 -0
  287. data/sig/onlyfans/models/smart_link_postback_update_response.rbs +53 -0
  288. data/sig/onlyfans/models/statistic_calculate_total_transactions_params.rbs +8 -4
  289. data/sig/onlyfans/models/statistic_get_subscriber_metrics_params.rbs +23 -1
  290. data/sig/onlyfans/models/statistics/statement_get_earnings_params.rbs +5 -7
  291. data/sig/onlyfans/models/stored_list_tracking_links_response.rbs +7 -0
  292. data/sig/onlyfans/models/stored_list_trial_links_response.rbs +7 -0
  293. data/sig/onlyfans/models/story_create_params.rbs +271 -1
  294. data/sig/onlyfans/models/story_create_response.rbs +419 -9
  295. data/sig/onlyfans/models/tracking_link_get_stats_response.rbs +7 -0
  296. data/sig/onlyfans/models/tracking_link_list_params.rbs +75 -26
  297. data/sig/onlyfans/models/tracking_link_list_response.rbs +7 -0
  298. data/sig/onlyfans/models/tracking_link_list_spenders_response.rbs +16 -3
  299. data/sig/onlyfans/models/tracking_link_retrieve_response.rbs +7 -0
  300. data/sig/onlyfans/models/trial_link_list_params.rbs +42 -18
  301. data/sig/onlyfans/models/trial_link_list_response.rbs +7 -0
  302. data/sig/onlyfans/models/trial_link_list_spenders_response.rbs +16 -3
  303. data/sig/onlyfans/models/trial_link_retrieve_response.rbs +7 -0
  304. data/sig/onlyfans/models/trial_link_retrieve_stats_response.rbs +7 -0
  305. data/sig/onlyfans/models/user_list_list_params.rbs +24 -1
  306. data/sig/onlyfans/models/user_lists/user_add_params.rbs +12 -1
  307. data/sig/onlyfans/models/user_lists/user_add_response.rbs +300 -101
  308. data/sig/onlyfans/models.rbs +0 -2
  309. data/sig/onlyfans/resources/analytics/financial/profitability.rbs +2 -2
  310. data/sig/onlyfans/resources/chats/messages.rbs +3 -1
  311. data/sig/onlyfans/resources/following.rbs +6 -0
  312. data/sig/onlyfans/resources/mass_messaging.rbs +5 -2
  313. data/sig/onlyfans/resources/media/vault/lists.rbs +3 -1
  314. data/sig/onlyfans/resources/media.rbs +1 -1
  315. data/sig/onlyfans/resources/messages.rbs +0 -9
  316. data/sig/onlyfans/resources/posts.rbs +2 -0
  317. data/sig/onlyfans/resources/queue.rbs +2 -1
  318. data/sig/onlyfans/resources/shared_tracking_links.rbs +5 -1
  319. data/sig/onlyfans/resources/shared_trial_links.rbs +2 -1
  320. data/sig/onlyfans/resources/smart_link_postbacks.rbs +6 -0
  321. data/sig/onlyfans/resources/smart_links.rbs +4 -1
  322. data/sig/onlyfans/resources/statistics/statements.rbs +1 -1
  323. data/sig/onlyfans/resources/statistics.rbs +3 -2
  324. data/sig/onlyfans/resources/stories.rbs +4 -0
  325. data/sig/onlyfans/resources/tracking_links.rbs +7 -6
  326. data/sig/onlyfans/resources/trial_links.rbs +7 -5
  327. data/sig/onlyfans/resources/user_lists/users.rbs +2 -1
  328. data/sig/onlyfans/resources/user_lists.rbs +1 -0
  329. metadata +9 -15
  330. data/lib/onlyfans/models/media_download_response.rb +0 -7
  331. data/lib/onlyfans/models/message_attach_tags_params.rb +0 -52
  332. data/lib/onlyfans/models/message_attach_tags_response.rb +0 -125
  333. data/rbi/onlyfans/models/media_download_response.rbi +0 -7
  334. data/rbi/onlyfans/models/message_attach_tags_params.rbi +0 -80
  335. data/rbi/onlyfans/models/message_attach_tags_response.rbi +0 -308
  336. data/sig/onlyfans/models/media_download_response.rbs +0 -5
  337. data/sig/onlyfans/models/message_attach_tags_params.rbs +0 -52
  338. data/sig/onlyfans/models/message_attach_tags_response.rbs +0 -164
@@ -17,19 +17,22 @@ module Onlyfans
17
17
  account: String,
18
18
  limit: Integer,
19
19
  offset: Integer,
20
- synchronous: T.nilable(T::Boolean),
20
+ pagination:
21
+ Onlyfans::SharedTrialLinkListParams::Pagination::OrInteger,
22
+ synchronous: T::Boolean,
21
23
  request_options: Onlyfans::RequestOptions::OrHash
22
24
  ).returns(Onlyfans::Models::SharedTrialLinkListResponse)
23
25
  end
24
26
  def list(
25
27
  # The Account ID
26
28
  account,
27
- # The number of shared trial links to return. Default `10`
29
+ # The number of shared trial links to return. Default `10`. Must be at least 1.
30
+ # Must not be greater than 100.
28
31
  limit: nil,
29
- # The offset used for pagination. Default `0`
32
+ # The offset used for pagination. Default `0`. Must be at least 0.
30
33
  offset: nil,
31
- # Wait for the database sync to finish, instead of running it in the background.
32
- # **Will result in longer response times, use with caution**. Default `false`
34
+ pagination: nil,
35
+ # Wait for the database sync instead of processing it in the background.
33
36
  synchronous: nil,
34
37
  request_options: {}
35
38
  )
@@ -11,6 +11,11 @@ module Onlyfans
11
11
  smart_link_scope:
12
12
  Onlyfans::SmartLinkPostbackCreateParams::SmartLinkScope::OrSymbol,
13
13
  url: String,
14
+ body: String,
15
+ headers:
16
+ T::Array[Onlyfans::SmartLinkPostbackCreateParams::Header::OrHash],
17
+ http_method:
18
+ Onlyfans::SmartLinkPostbackCreateParams::HTTPMethod::OrSymbol,
14
19
  smart_link_ids: T::Array[String],
15
20
  request_options: Onlyfans::RequestOptions::OrHash
16
21
  ).returns(Onlyfans::Models::SmartLinkPostbackCreateResponse)
@@ -21,9 +26,17 @@ module Onlyfans
21
26
  # `global` fires for all Smart Links. `campaign_specific` fires only for selected
22
27
  # Smart Links.
23
28
  smart_link_scope:,
24
- # The destination URL. Variables such as `{click_id}`, `{fbclid}`, `{gclid}`, and
25
- # `{ttclid}` are replaced when the postback is dispatched.
29
+ # The destination URL. Variables such as `{external_click_id}`, `{fbclid}`,
30
+ # `{gclid}`, `{gbraid}`, `{wbraid}`, `{ttclid}`, and `{sccid}` are replaced when
31
+ # the postback is dispatched.
26
32
  url:,
33
+ # Optional request body template for POST postbacks. Variables are replaced when
34
+ # the postback is dispatched.
35
+ body: nil,
36
+ # Optional request headers. Header values may include postback variables.
37
+ headers: nil,
38
+ # HTTP method used for the postback request. Defaults to `GET` when omitted.
39
+ http_method: nil,
27
40
  # Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`.
28
41
  smart_link_ids: nil,
29
42
  request_options: {}
@@ -52,6 +65,11 @@ module Onlyfans
52
65
  smart_link_scope:
53
66
  Onlyfans::SmartLinkPostbackUpdateParams::SmartLinkScope::OrSymbol,
54
67
  url: String,
68
+ body: String,
69
+ headers:
70
+ T::Array[Onlyfans::SmartLinkPostbackUpdateParams::Header::OrHash],
71
+ http_method:
72
+ Onlyfans::SmartLinkPostbackUpdateParams::HTTPMethod::OrSymbol,
55
73
  smart_link_ids: T::Array[String],
56
74
  request_options: Onlyfans::RequestOptions::OrHash
57
75
  ).returns(Onlyfans::Models::SmartLinkPostbackUpdateResponse)
@@ -65,6 +83,13 @@ module Onlyfans
65
83
  smart_link_scope:,
66
84
  # The destination URL.
67
85
  url:,
86
+ # Optional request body template for POST postbacks. Variables are replaced when
87
+ # the postback is dispatched.
88
+ body: nil,
89
+ # Optional request headers. Header values may include postback variables.
90
+ headers: nil,
91
+ # HTTP method used for the postback request. Existing value is kept when omitted.
92
+ http_method: nil,
68
93
  # Smart Link ULIDs. Required when `smart_link_scope` is `campaign_specific`.
69
94
  smart_link_ids: nil,
70
95
  request_options: {}
@@ -48,25 +48,27 @@ module Onlyfans
48
48
  sig do
49
49
  params(
50
50
  account_ids: T.nilable(String),
51
+ filter: Onlyfans::SmartLinkListParams::Filter::OrHash,
51
52
  limit: Integer,
52
- meta_pixel_ids: T.nilable(String),
53
53
  name: T.nilable(String),
54
54
  offset: Integer,
55
+ pixel_ids: T.nilable(String),
55
56
  request_options: Onlyfans::RequestOptions::OrHash
56
57
  ).returns(Onlyfans::Models::SmartLinkListResponse)
57
58
  end
58
59
  def list(
59
60
  # Comma-separated account prefixed IDs to include.
60
61
  account_ids: nil,
62
+ filter: nil,
61
63
  # The number of Smart Links to return. Default `50`. Must be at least 1. Must not
62
64
  # be greater than 1000.
63
65
  limit: nil,
64
- # Comma-separated Meta Pixel IDs to include.
65
- meta_pixel_ids: nil,
66
66
  # Filter Smart Links by name. Must not be greater than 255 characters.
67
67
  name: nil,
68
68
  # The offset used for pagination. Default `0`. Must be at least 0.
69
69
  offset: nil,
70
+ # Comma-separated ad platform Pixel IDs to include.
71
+ pixel_ids: nil,
70
72
  request_options: {}
71
73
  )
72
74
  end
@@ -168,7 +170,9 @@ module Onlyfans
168
170
  min_revenue_net: Float,
169
171
  min_tips_net: Float,
170
172
  offset: Integer,
173
+ previously_subscribed: T::Boolean,
171
174
  sort: Onlyfans::SmartLinkListFansParams::Sort::OrSymbol,
175
+ subscribed_using_promo: T::Boolean,
172
176
  request_options: Onlyfans::RequestOptions::OrHash
173
177
  ).returns(Onlyfans::Models::SmartLinkListFansResponse)
174
178
  end
@@ -187,8 +191,13 @@ module Onlyfans
187
191
  min_tips_net: nil,
188
192
  # Offset for pagination. Default `0`
189
193
  offset: nil,
194
+ # Optional - Filter to returning subscribers (fans previously subscribed before
195
+ # this subscription)
196
+ previously_subscribed: nil,
190
197
  # Optional sort field. Default `-revenue_net`
191
198
  sort: nil,
199
+ # Optional - Filter to fans who subscribed via a promotion/offer
200
+ subscribed_using_promo: nil,
192
201
  request_options: {}
193
202
  )
194
203
  end
@@ -29,7 +29,7 @@ module Onlyfans
29
29
  account,
30
30
  # The end date for the period.
31
31
  end_date:,
32
- # The start date for the period
32
+ # The start date for the period.
33
33
  start_date:,
34
34
  # Optionally, filter the results by `chart` or `topCountries`. See example
35
35
  # responses.
@@ -8,8 +8,8 @@ module Onlyfans
8
8
  sig do
9
9
  params(
10
10
  account: String,
11
- start_date: String,
12
11
  end_date: String,
12
+ start_date: String,
13
13
  type:
14
14
  Onlyfans::Statistics::StatementGetEarningsParams::Type::OrSymbol,
15
15
  request_options: Onlyfans::RequestOptions::OrHash
@@ -18,10 +18,10 @@ module Onlyfans
18
18
  def get_earnings(
19
19
  # The Account ID
20
20
  account,
21
- # The start date for the period
22
- start_date:,
23
21
  # The end date for the period.
24
- end_date: nil,
22
+ end_date:,
23
+ # The start date for the period.
24
+ start_date:,
25
25
  # Filter by All / Subscriptions / Tips / Posts / Messages / Streams
26
26
  type: nil,
27
27
  request_options: {}
@@ -22,9 +22,9 @@ module Onlyfans
22
22
  # The Account ID
23
23
  account,
24
24
  # The end date for the period. Keep empty to calculate everything.
25
- end_date:,
25
+ end_date: nil,
26
26
  # The start date for the period. Keep empty to calculate everything.
27
- start_date:,
27
+ start_date: nil,
28
28
  request_options: {}
29
29
  )
30
30
  end
@@ -62,6 +62,10 @@ module Onlyfans
62
62
  end_date: String,
63
63
  start_date: String,
64
64
  detailed: T.nilable(T::Boolean),
65
+ detailed_type:
66
+ T.nilable(
67
+ Onlyfans::StatisticGetSubscriberMetricsParams::DetailedType::OrSymbol
68
+ ),
65
69
  request_options: Onlyfans::RequestOptions::OrHash
66
70
  ).returns(Onlyfans::Models::StatisticGetSubscriberMetricsResponse)
67
71
  end
@@ -75,6 +79,9 @@ module Onlyfans
75
79
  # Include paid and free fan metrics. Will slow down the response time, and might
76
80
  # time out if timeframe is too large. Default = `false`
77
81
  detailed: nil,
82
+ # Use only with `detailed=true` - otherwise, it has no effect. Filter the
83
+ # subscriber statistics (default = total)
84
+ detailed_type: nil,
78
85
  request_options: {}
79
86
  )
80
87
  end
@@ -8,20 +8,33 @@ module Onlyfans
8
8
  sig { returns(Onlyfans::Resources::Stories::Highlights) }
9
9
  attr_reader :highlights
10
10
 
11
- # Post a new media or vault file to your story.
11
+ # Post a new media or vault file to your story, optionally with text overlays,
12
+ # @mentions, and a question sticker. Overlay elements are rendered by OnlyFans on
13
+ # top of your story media at view time.
12
14
  sig do
13
15
  params(
14
16
  account: String,
15
17
  media_files: T::Array[String],
18
+ canvas_height: Integer,
19
+ canvas_width: Integer,
20
+ question: Onlyfans::StoryCreateParams::Question::OrHash,
21
+ texts: T::Array[Onlyfans::StoryCreateParams::Text::OrHash],
16
22
  request_options: Onlyfans::RequestOptions::OrHash
17
23
  ).returns(Onlyfans::Models::StoryCreateResponse)
18
24
  end
19
25
  def create(
20
26
  # The Account ID
21
27
  account,
22
- # Array of media file upload prefixed_ids, or OF media IDs (required if price is
23
- # not 0).
28
+ # Array of media file upload prefixed_ids, or OF vault media IDs.
24
29
  media_files:,
30
+ # Canvas height overlay positions are relative to. Default `1920`.
31
+ canvas_height: nil,
32
+ # Canvas width overlay positions are relative to. Default `1080`.
33
+ canvas_width: nil,
34
+ # Interactive question sticker viewers can answer.
35
+ question: nil,
36
+ # Text and @mention overlays.
37
+ texts: nil,
25
38
  request_options: {}
26
39
  )
27
40
  end
@@ -3,7 +3,11 @@
3
3
  module Onlyfans
4
4
  module Resources
5
5
  class TrackingLinks
6
- # APIs for managing tracking links
6
+ # APIs for managing tracking links. Revenue totals are net earnings after refunds
7
+ # and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total` in stats)
8
+ # is the positive cached net amount already excluded from revenue; do not subtract
9
+ # it again. Spender responses include chargebacks across all attributed periods
10
+ # for each fan with positive net revenue.
7
11
  class Tags
8
12
  # Get tags for a specific tracking link. This is a free endpoint.
9
13
  sig do
@@ -2,9 +2,17 @@
2
2
 
3
3
  module Onlyfans
4
4
  module Resources
5
- # APIs for managing tracking links
5
+ # APIs for managing tracking links. Revenue totals are net earnings after refunds
6
+ # and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total` in stats)
7
+ # is the positive cached net amount already excluded from revenue; do not subtract
8
+ # it again. Spender responses include chargebacks across all attributed periods
9
+ # for each fan with positive net revenue.
6
10
  class TrackingLinks
7
- # APIs for managing tracking links
11
+ # APIs for managing tracking links. Revenue totals are net earnings after refunds
12
+ # and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total` in stats)
13
+ # is the positive cached net amount already excluded from revenue; do not subtract
14
+ # it again. Spender responses include chargebacks across all attributed periods
15
+ # for each fan with positive net revenue.
8
16
  sig { returns(Onlyfans::Resources::TrackingLinks::Tags) }
9
17
  attr_reader :tags
10
18
 
@@ -50,37 +58,40 @@ module Onlyfans
50
58
  params(
51
59
  account: String,
52
60
  end_date: T.nilable(String),
53
- limit: T.nilable(Integer),
54
- offset: T.nilable(Integer),
55
- sort: T.nilable(Onlyfans::TrackingLinkListParams::Sort::OrSymbol),
56
- sortby: T.nilable(Onlyfans::TrackingLinkListParams::Sortby::OrSymbol),
61
+ limit: Integer,
62
+ offset: Integer,
63
+ pagination: Onlyfans::TrackingLinkListParams::Pagination::OrInteger,
64
+ sort: Onlyfans::TrackingLinkListParams::Sort::OrSymbol,
65
+ sortby: Onlyfans::TrackingLinkListParams::Sortby::OrSymbol,
57
66
  start_date: T.nilable(String),
58
- synchronous: T.nilable(T::Boolean),
59
- with_deleted: T.nilable(T::Boolean),
67
+ synchronous: T::Boolean,
68
+ with_deleted:
69
+ Onlyfans::TrackingLinkListParams::WithDeleted::OrInteger,
60
70
  request_options: Onlyfans::RequestOptions::OrHash
61
71
  ).returns(Onlyfans::Models::TrackingLinkListResponse)
62
72
  end
63
73
  def list(
64
74
  # The Account ID
65
75
  account,
66
- # The end date for Tracking Links. Keep empty to get all.
76
+ # The end date for tracking links. Keep empty to get all. Must not be greater than
77
+ # 255 characters.
67
78
  end_date: nil,
68
- # The number of tracking links to return. Default `3`
79
+ # The number of tracking links to return. Default `10`. Must be at least 1. Must
80
+ # not be greater than 100.
69
81
  limit: nil,
70
- # The offset used for pagination. Default `0`
82
+ # The offset used for pagination. Default `0`. Must be at least 0.
71
83
  offset: nil,
72
- # Sort the results. Default `desc`
84
+ pagination: nil,
85
+ # Sort direction. Default `desc`.
73
86
  sort: nil,
74
- # Sort by subscriber count (claims), or creation date
87
+ # Sort by subscriber count (`claims`) or creation date (`created_date`).
75
88
  sortby: nil,
76
- # The start date for Tracking Links. Keep empty to get all.
89
+ # The start date for tracking links. Keep empty to get all. Must not be greater
90
+ # than 255 characters.
77
91
  start_date: nil,
78
- # Wait for the revenue data to finish processing, instead of processing in the
79
- # background. **Will result in longer response times, use with caution**. Default
80
- # `false`
92
+ # Wait for revenue calculation instead of processing it in the background.
81
93
  synchronous: nil,
82
- # Whether or not to include deleted tracking links in the response. Default
83
- # `false`
94
+ # Whether to include deleted tracking links. Default `true`.
84
95
  with_deleted: nil,
85
96
  request_options: {}
86
97
  )
@@ -24,7 +24,7 @@ module Onlyfans
24
24
  limit: nil,
25
25
  # The marker used for pagination. Default: `null`
26
26
  marker: nil,
27
- # The start date for transactions list. Default: `-30days`
27
+ # The start date for the transactions list. Defaults to 30 days ago.
28
28
  start_date: nil,
29
29
  # Filter tips by source. Only applies when `type=tips`. Options: `profile`,
30
30
  # `post_all`, `chat`, `stream`, `story`
@@ -3,7 +3,11 @@
3
3
  module Onlyfans
4
4
  module Resources
5
5
  class TrialLinks
6
- # APIs for managing Free Trial Links
6
+ # APIs for managing Free Trial Links. Revenue totals are net earnings after
7
+ # refunds and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total`
8
+ # in stats) is the positive cached net amount already excluded from revenue; do
9
+ # not subtract it again. Spender responses include chargebacks across all
10
+ # attributed periods for each fan with positive net revenue.
7
11
  class Tags
8
12
  # Get tags for a specific free trial link. This is a free endpoint.
9
13
  sig do
@@ -2,9 +2,17 @@
2
2
 
3
3
  module Onlyfans
4
4
  module Resources
5
- # APIs for managing Free Trial Links
5
+ # APIs for managing Free Trial Links. Revenue totals are net earnings after
6
+ # refunds and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total`
7
+ # in stats) is the positive cached net amount already excluded from revenue; do
8
+ # not subtract it again. Spender responses include chargebacks across all
9
+ # attributed periods for each fan with positive net revenue.
6
10
  class TrialLinks
7
- # APIs for managing Free Trial Links
11
+ # APIs for managing Free Trial Links. Revenue totals are net earnings after
12
+ # refunds and chargebacks. `revenue.chargebacks` (or `summary.chargebacks_total`
13
+ # in stats) is the positive cached net amount already excluded from revenue; do
14
+ # not subtract it again. Spender responses include chargebacks across all
15
+ # attributed periods for each fan with positive net revenue.
8
16
  sig { returns(Onlyfans::Resources::TrialLinks::Tags) }
9
17
  attr_reader :tags
10
18
 
@@ -61,28 +69,35 @@ module Onlyfans
61
69
  sig do
62
70
  params(
63
71
  account: String,
72
+ end_date: T.nilable(String),
73
+ field: Onlyfans::TrialLinkListParams::Field::OrSymbol,
64
74
  limit: Integer,
65
75
  offset: Integer,
66
- field: T.nilable(Onlyfans::TrialLinkListParams::Field::OrSymbol),
67
- sort: T.nilable(Onlyfans::TrialLinkListParams::Sort::OrSymbol),
68
- synchronous: T.nilable(T::Boolean),
76
+ sort: Onlyfans::TrialLinkListParams::Sort::OrSymbol,
77
+ start_date: T.nilable(String),
78
+ synchronous: T::Boolean,
69
79
  request_options: Onlyfans::RequestOptions::OrHash
70
80
  ).returns(Onlyfans::Models::TrialLinkListResponse)
71
81
  end
72
82
  def list(
73
83
  # The Account ID
74
84
  account,
75
- # The number of trial links to return. Default `10`
76
- limit:,
77
- # The offset used for pagination. Default `0`
78
- offset:,
79
- # Sort the results by a field. Default `create_date`
85
+ # The end date for trial links. Keep empty to get all. Must not be greater than
86
+ # 255 characters.
87
+ end_date: nil,
88
+ # Field to sort by. Default `create_date`.
80
89
  field: nil,
81
- # Sort the results. Default `desc`
90
+ # The number of trial links to return. Default `10`. Must be at least 1. Must not
91
+ # be greater than 100.
92
+ limit: nil,
93
+ # The offset used for pagination. Default `0`. Must be at least 0.
94
+ offset: nil,
95
+ # Sort direction. Default `desc`.
82
96
  sort: nil,
83
- # Wait for the revenue data to finish processing, instead of processing in the
84
- # background. **Will result in longer response times, use with caution**. Default
85
- # `false`
97
+ # The start date for trial links. Keep empty to get all. Must not be greater than
98
+ # 255 characters.
99
+ start_date: nil,
100
+ # Wait for revenue calculation instead of processing it in the background.
86
101
  synchronous: nil,
87
102
  request_options: {}
88
103
  )
@@ -33,8 +33,9 @@ module Onlyfans
33
33
  user_list_id: String,
34
34
  account: String,
35
35
  ids: T::Array[String],
36
+ skip_invalid: T::Boolean,
36
37
  request_options: Onlyfans::RequestOptions::OrHash
37
- ).returns(Onlyfans::Models::UserLists::UserAddResponse)
38
+ ).returns(Onlyfans::Models::UserLists::UserAddResponse::Variants)
38
39
  end
39
40
  def add(
40
41
  # Path param: OnlyFans User List ID, or a default list name like `tagged`
@@ -43,6 +44,14 @@ module Onlyfans
43
44
  account:,
44
45
  # Body param: Array of OnlyFans User IDs to be added into the list
45
46
  ids:,
47
+ # Body param: Set to `true` to skip the User IDs OnlyFans refuses instead of
48
+ # failing the whole batch. We drop the rejected IDs and retry the remainder for
49
+ # you (up to 5 OnlyFans attempts, each costing 1 credit), then respond `200` with
50
+ # `data.added` (the IDs that made it in) and `data.failed` (an object mapping each
51
+ # rejected User ID to the reason OnlyFans gave). Note this changes the shape of
52
+ # `data` — see the example responses. Failures that are not about individual users
53
+ # (e.g. an invalid or inaccessible list ID) still return the regular `400`.
54
+ skip_invalid: nil,
46
55
  request_options: {}
47
56
  )
48
57
  end
@@ -64,12 +64,14 @@ module Onlyfans
64
64
  )
65
65
  end
66
66
 
67
- # Get a list of OnlyFans Collections - User Lists
67
+ # Get a list of OnlyFans Collections - User Lists. If you only want to get User
68
+ # Lists available for sending a Mass-Message, use `?view=queue`
68
69
  sig do
69
70
  params(
70
71
  account: String,
71
72
  limit: T.nilable(Integer),
72
73
  offset: T.nilable(Integer),
74
+ view: Onlyfans::UserListListParams::View::OrSymbol,
73
75
  request_options: Onlyfans::RequestOptions::OrHash
74
76
  ).returns(Onlyfans::Models::UserListListResponse)
75
77
  end
@@ -81,6 +83,9 @@ module Onlyfans
81
83
  limit: nil,
82
84
  # Must be at least 0.
83
85
  offset: nil,
86
+ # How to return the results. `queue` returns the user lists that are available for
87
+ # Mass-Messaging.
88
+ view: nil,
84
89
  request_options: {}
85
90
  )
86
91
  end
@@ -27,7 +27,8 @@ module Onlyfans
27
27
  ).returns(Onlyfans::Models::UserRetrieveResponse)
28
28
  end
29
29
  def retrieve(
30
- # The OnlyFans username of the user to retrieve details for.
30
+ # The OnlyFans username or numeric user ID to retrieve details for. Display names
31
+ # and profile URLs are not accepted.
31
32
  username,
32
33
  # The Account ID
33
34
  account:,
@@ -15,16 +15,19 @@ module Onlyfans
15
15
  ).returns(Onlyfans::Models::WebhookCreateResponse)
16
16
  end
17
17
  def create(
18
- # The account scope for the webhook. Use "global" for all accounts, "inclusive"
19
- # for only selected accounts, or "exclusive" for all except selected accounts.
18
+ # The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use
19
+ # "global" for all accounts, "inclusive" for only selected accounts, or
20
+ # "exclusive" for all except selected accounts.
20
21
  account_scope:,
21
22
  # The URL of your webhook endpoint.
22
23
  endpoint_url:,
23
24
  # An array of webhook events to subscribe to. For all options, refer to our **List
24
- # Available Events** endpoint.
25
+ # Available Events** endpoint. A webhook is single-platform: subscribe to either
26
+ # OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook.
25
27
  events:,
26
- # An array of account IDs to apply the scope to. Required unless account_scope is
27
- # "global".
28
+ # An array of account IDs to apply the scope to. Use OnlyFans account IDs
29
+ # (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`)
30
+ # for Fansly webhooks. Required unless account_scope is "global".
28
31
  account_ids: nil,
29
32
  # Optionally, add a signing secret to protect your webhook.
30
33
  signing_secret: nil,
@@ -61,16 +64,19 @@ module Onlyfans
61
64
  def update(
62
65
  # The ID of the webhook
63
66
  webhook_id,
64
- # The account scope for the webhook. Use "global" for all accounts, "inclusive"
65
- # for only selected accounts, or "exclusive" for all except selected accounts.
67
+ # The account scope for the webhook (OnlyFans and Fansly webhooks alike). Use
68
+ # "global" for all accounts, "inclusive" for only selected accounts, or
69
+ # "exclusive" for all except selected accounts.
66
70
  account_scope:,
67
71
  # The URL of your webhook endpoint.
68
72
  endpoint_url:,
69
73
  # An array of webhook events to subscribe to. For all options, refer to our **List
70
- # Available Events** endpoint.
74
+ # Available Events** endpoint. A webhook is single-platform: subscribe to either
75
+ # OnlyFans events or Fansly (`fansly.*`) events, never both in one webhook.
71
76
  events:,
72
- # An array of account IDs to apply the scope to. Required unless account_scope is
73
- # "global".
77
+ # An array of account IDs to apply the scope to. Use OnlyFans account IDs
78
+ # (`acct_...`) for OnlyFans webhooks and Fansly account IDs (`fansly_acct_...`)
79
+ # for Fansly webhooks. Required unless account_scope is "global".
74
80
  account_ids: nil,
75
81
  # Optionally, enabled/disable the webhook. This will stop/resume the sending of
76
82
  # events, without having to delete the webhook.