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
@@ -44,6 +44,41 @@ module Onlyfans
44
44
  sig { returns(T.nilable(String)) }
45
45
  attr_accessor :query
46
46
 
47
+ # Order the list by `last_activity` (the followed creator's last activity),
48
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
49
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
50
+ # list). Omit it to keep whichever order is currently stored for the account.
51
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
52
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
53
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
54
+ # following collection and only then filters it down to expired subscriptions, so
55
+ # ordering by expiry descending puts the still-active subscriptions first and
56
+ # moves the expired rows to the tail of the collection — the first several hundred
57
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
58
+ # get expired-first results. For that reason `sort=expire_date` on the expired
59
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
60
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
61
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
62
+ # first empty page. This field is required when <code>sortDirection</code> is
63
+ # present.
64
+ sig do
65
+ returns(T.nilable(Onlyfans::FollowingListActiveParams::Sort::OrSymbol))
66
+ end
67
+ attr_accessor :sort
68
+
69
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
70
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
71
+ # `desc` moves the expired rows to the tail of the underlying collection and
72
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
73
+ sig do
74
+ returns(
75
+ T.nilable(
76
+ Onlyfans::FollowingListActiveParams::SortDirection::OrSymbol
77
+ )
78
+ )
79
+ end
80
+ attr_accessor :sort_direction
81
+
47
82
  sig do
48
83
  params(
49
84
  account: String,
@@ -51,6 +86,11 @@ module Onlyfans
51
86
  limit: Integer,
52
87
  offset: Integer,
53
88
  query: T.nilable(String),
89
+ sort: T.nilable(Onlyfans::FollowingListActiveParams::Sort::OrSymbol),
90
+ sort_direction:
91
+ T.nilable(
92
+ Onlyfans::FollowingListActiveParams::SortDirection::OrSymbol
93
+ ),
54
94
  request_options: Onlyfans::RequestOptions::OrHash
55
95
  ).returns(T.attached_class)
56
96
  end
@@ -64,6 +104,29 @@ module Onlyfans
64
104
  offset: nil,
65
105
  # Search within following name/username.
66
106
  query: nil,
107
+ # Order the list by `last_activity` (the followed creator's last activity),
108
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
109
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
110
+ # list). Omit it to keep whichever order is currently stored for the account.
111
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
112
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
113
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
114
+ # following collection and only then filters it down to expired subscriptions, so
115
+ # ordering by expiry descending puts the still-active subscriptions first and
116
+ # moves the expired rows to the tail of the collection — the first several hundred
117
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
118
+ # get expired-first results. For that reason `sort=expire_date` on the expired
119
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
120
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
121
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
122
+ # first empty page. This field is required when <code>sortDirection</code> is
123
+ # present.
124
+ sort: nil,
125
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
126
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
127
+ # `desc` moves the expired rows to the tail of the underlying collection and
128
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
129
+ sort_direction: nil,
67
130
  request_options: {}
68
131
  )
69
132
  end
@@ -76,6 +139,12 @@ module Onlyfans
76
139
  limit: Integer,
77
140
  offset: Integer,
78
141
  query: T.nilable(String),
142
+ sort:
143
+ T.nilable(Onlyfans::FollowingListActiveParams::Sort::OrSymbol),
144
+ sort_direction:
145
+ T.nilable(
146
+ Onlyfans::FollowingListActiveParams::SortDirection::OrSymbol
147
+ ),
79
148
  request_options: Onlyfans::RequestOptions
80
149
  }
81
150
  )
@@ -216,6 +285,97 @@ module Onlyfans
216
285
  end
217
286
  end
218
287
  end
288
+
289
+ # Order the list by `last_activity` (the followed creator's last activity),
290
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
291
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
292
+ # list). Omit it to keep whichever order is currently stored for the account.
293
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
294
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
295
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
296
+ # following collection and only then filters it down to expired subscriptions, so
297
+ # ordering by expiry descending puts the still-active subscriptions first and
298
+ # moves the expired rows to the tail of the collection — the first several hundred
299
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
300
+ # get expired-first results. For that reason `sort=expire_date` on the expired
301
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
302
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
303
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
304
+ # first empty page. This field is required when <code>sortDirection</code> is
305
+ # present.
306
+ module Sort
307
+ extend Onlyfans::Internal::Type::Enum
308
+
309
+ TaggedSymbol =
310
+ T.type_alias do
311
+ T.all(Symbol, Onlyfans::FollowingListActiveParams::Sort)
312
+ end
313
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
314
+
315
+ LAST_ACTIVITY =
316
+ T.let(
317
+ :last_activity,
318
+ Onlyfans::FollowingListActiveParams::Sort::TaggedSymbol
319
+ )
320
+ EXPIRE_DATE =
321
+ T.let(
322
+ :expire_date,
323
+ Onlyfans::FollowingListActiveParams::Sort::TaggedSymbol
324
+ )
325
+ SUBSCRIBE_DATE =
326
+ T.let(
327
+ :subscribe_date,
328
+ Onlyfans::FollowingListActiveParams::Sort::TaggedSymbol
329
+ )
330
+ IS_EXPIRED =
331
+ T.let(
332
+ :is_expired,
333
+ Onlyfans::FollowingListActiveParams::Sort::TaggedSymbol
334
+ )
335
+
336
+ sig do
337
+ override.returns(
338
+ T::Array[Onlyfans::FollowingListActiveParams::Sort::TaggedSymbol]
339
+ )
340
+ end
341
+ def self.values
342
+ end
343
+ end
344
+
345
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
346
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
347
+ # `desc` moves the expired rows to the tail of the underlying collection and
348
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
349
+ module SortDirection
350
+ extend Onlyfans::Internal::Type::Enum
351
+
352
+ TaggedSymbol =
353
+ T.type_alias do
354
+ T.all(Symbol, Onlyfans::FollowingListActiveParams::SortDirection)
355
+ end
356
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
357
+
358
+ ASC =
359
+ T.let(
360
+ :asc,
361
+ Onlyfans::FollowingListActiveParams::SortDirection::TaggedSymbol
362
+ )
363
+ DESC =
364
+ T.let(
365
+ :desc,
366
+ Onlyfans::FollowingListActiveParams::SortDirection::TaggedSymbol
367
+ )
368
+
369
+ sig do
370
+ override.returns(
371
+ T::Array[
372
+ Onlyfans::FollowingListActiveParams::SortDirection::TaggedSymbol
373
+ ]
374
+ )
375
+ end
376
+ def self.values
377
+ end
378
+ end
219
379
  end
220
380
  end
221
381
  end
@@ -41,6 +41,39 @@ module Onlyfans
41
41
  sig { returns(T.nilable(String)) }
42
42
  attr_accessor :query
43
43
 
44
+ # Order the list by `last_activity` (the followed creator's last activity),
45
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
46
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
47
+ # list). Omit it to keep whichever order is currently stored for the account.
48
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
49
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
50
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
51
+ # following collection and only then filters it down to expired subscriptions, so
52
+ # ordering by expiry descending puts the still-active subscriptions first and
53
+ # moves the expired rows to the tail of the collection — the first several hundred
54
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
55
+ # get expired-first results. For that reason `sort=expire_date` on the expired
56
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
57
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
58
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
59
+ # first empty page. This field is required when <code>sortDirection</code> is
60
+ # present.
61
+ sig do
62
+ returns(T.nilable(Onlyfans::FollowingListAllParams::Sort::OrSymbol))
63
+ end
64
+ attr_accessor :sort
65
+
66
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
67
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
68
+ # `desc` moves the expired rows to the tail of the underlying collection and
69
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
70
+ sig do
71
+ returns(
72
+ T.nilable(Onlyfans::FollowingListAllParams::SortDirection::OrSymbol)
73
+ )
74
+ end
75
+ attr_accessor :sort_direction
76
+
44
77
  sig do
45
78
  params(
46
79
  account: String,
@@ -48,6 +81,11 @@ module Onlyfans
48
81
  limit: Integer,
49
82
  offset: Integer,
50
83
  query: T.nilable(String),
84
+ sort: T.nilable(Onlyfans::FollowingListAllParams::Sort::OrSymbol),
85
+ sort_direction:
86
+ T.nilable(
87
+ Onlyfans::FollowingListAllParams::SortDirection::OrSymbol
88
+ ),
51
89
  request_options: Onlyfans::RequestOptions::OrHash
52
90
  ).returns(T.attached_class)
53
91
  end
@@ -61,6 +99,29 @@ module Onlyfans
61
99
  offset: nil,
62
100
  # Search within following name/username.
63
101
  query: nil,
102
+ # Order the list by `last_activity` (the followed creator's last activity),
103
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
104
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
105
+ # list). Omit it to keep whichever order is currently stored for the account.
106
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
107
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
108
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
109
+ # following collection and only then filters it down to expired subscriptions, so
110
+ # ordering by expiry descending puts the still-active subscriptions first and
111
+ # moves the expired rows to the tail of the collection — the first several hundred
112
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
113
+ # get expired-first results. For that reason `sort=expire_date` on the expired
114
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
115
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
116
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
117
+ # first empty page. This field is required when <code>sortDirection</code> is
118
+ # present.
119
+ sort: nil,
120
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
121
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
122
+ # `desc` moves the expired rows to the tail of the underlying collection and
123
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
124
+ sort_direction: nil,
64
125
  request_options: {}
65
126
  )
66
127
  end
@@ -73,6 +134,11 @@ module Onlyfans
73
134
  limit: Integer,
74
135
  offset: Integer,
75
136
  query: T.nilable(String),
137
+ sort: T.nilable(Onlyfans::FollowingListAllParams::Sort::OrSymbol),
138
+ sort_direction:
139
+ T.nilable(
140
+ Onlyfans::FollowingListAllParams::SortDirection::OrSymbol
141
+ ),
76
142
  request_options: Onlyfans::RequestOptions
77
143
  }
78
144
  )
@@ -208,6 +274,95 @@ module Onlyfans
208
274
  end
209
275
  end
210
276
  end
277
+
278
+ # Order the list by `last_activity` (the followed creator's last activity),
279
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
280
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
281
+ # list). Omit it to keep whichever order is currently stored for the account.
282
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
283
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
284
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
285
+ # following collection and only then filters it down to expired subscriptions, so
286
+ # ordering by expiry descending puts the still-active subscriptions first and
287
+ # moves the expired rows to the tail of the collection — the first several hundred
288
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
289
+ # get expired-first results. For that reason `sort=expire_date` on the expired
290
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
291
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
292
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
293
+ # first empty page. This field is required when <code>sortDirection</code> is
294
+ # present.
295
+ module Sort
296
+ extend Onlyfans::Internal::Type::Enum
297
+
298
+ TaggedSymbol =
299
+ T.type_alias { T.all(Symbol, Onlyfans::FollowingListAllParams::Sort) }
300
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
301
+
302
+ LAST_ACTIVITY =
303
+ T.let(
304
+ :last_activity,
305
+ Onlyfans::FollowingListAllParams::Sort::TaggedSymbol
306
+ )
307
+ EXPIRE_DATE =
308
+ T.let(
309
+ :expire_date,
310
+ Onlyfans::FollowingListAllParams::Sort::TaggedSymbol
311
+ )
312
+ SUBSCRIBE_DATE =
313
+ T.let(
314
+ :subscribe_date,
315
+ Onlyfans::FollowingListAllParams::Sort::TaggedSymbol
316
+ )
317
+ IS_EXPIRED =
318
+ T.let(
319
+ :is_expired,
320
+ Onlyfans::FollowingListAllParams::Sort::TaggedSymbol
321
+ )
322
+
323
+ sig do
324
+ override.returns(
325
+ T::Array[Onlyfans::FollowingListAllParams::Sort::TaggedSymbol]
326
+ )
327
+ end
328
+ def self.values
329
+ end
330
+ end
331
+
332
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
333
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
334
+ # `desc` moves the expired rows to the tail of the underlying collection and
335
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
336
+ module SortDirection
337
+ extend Onlyfans::Internal::Type::Enum
338
+
339
+ TaggedSymbol =
340
+ T.type_alias do
341
+ T.all(Symbol, Onlyfans::FollowingListAllParams::SortDirection)
342
+ end
343
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
344
+
345
+ ASC =
346
+ T.let(
347
+ :asc,
348
+ Onlyfans::FollowingListAllParams::SortDirection::TaggedSymbol
349
+ )
350
+ DESC =
351
+ T.let(
352
+ :desc,
353
+ Onlyfans::FollowingListAllParams::SortDirection::TaggedSymbol
354
+ )
355
+
356
+ sig do
357
+ override.returns(
358
+ T::Array[
359
+ Onlyfans::FollowingListAllParams::SortDirection::TaggedSymbol
360
+ ]
361
+ )
362
+ end
363
+ def self.values
364
+ end
365
+ end
211
366
  end
212
367
  end
213
368
  end
@@ -46,6 +46,41 @@ module Onlyfans
46
46
  sig { returns(T.nilable(String)) }
47
47
  attr_accessor :query
48
48
 
49
+ # Order the list by `last_activity` (the followed creator's last activity),
50
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
51
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
52
+ # list). Omit it to keep whichever order is currently stored for the account.
53
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
54
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
55
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
56
+ # following collection and only then filters it down to expired subscriptions, so
57
+ # ordering by expiry descending puts the still-active subscriptions first and
58
+ # moves the expired rows to the tail of the collection — the first several hundred
59
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
60
+ # get expired-first results. For that reason `sort=expire_date` on the expired
61
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
62
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
63
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
64
+ # first empty page. This field is required when <code>sortDirection</code> is
65
+ # present.
66
+ sig do
67
+ returns(T.nilable(Onlyfans::FollowingListExpiredParams::Sort::OrSymbol))
68
+ end
69
+ attr_accessor :sort
70
+
71
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
72
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
73
+ # `desc` moves the expired rows to the tail of the underlying collection and
74
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
75
+ sig do
76
+ returns(
77
+ T.nilable(
78
+ Onlyfans::FollowingListExpiredParams::SortDirection::OrSymbol
79
+ )
80
+ )
81
+ end
82
+ attr_accessor :sort_direction
83
+
49
84
  sig do
50
85
  params(
51
86
  account: String,
@@ -53,6 +88,11 @@ module Onlyfans
53
88
  limit: Integer,
54
89
  offset: Integer,
55
90
  query: T.nilable(String),
91
+ sort: T.nilable(Onlyfans::FollowingListExpiredParams::Sort::OrSymbol),
92
+ sort_direction:
93
+ T.nilable(
94
+ Onlyfans::FollowingListExpiredParams::SortDirection::OrSymbol
95
+ ),
56
96
  request_options: Onlyfans::RequestOptions::OrHash
57
97
  ).returns(T.attached_class)
58
98
  end
@@ -66,6 +106,29 @@ module Onlyfans
66
106
  offset: nil,
67
107
  # Search within following name/username.
68
108
  query: nil,
109
+ # Order the list by `last_activity` (the followed creator's last activity),
110
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
111
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
112
+ # list). Omit it to keep whichever order is currently stored for the account.
113
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
114
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
115
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
116
+ # following collection and only then filters it down to expired subscriptions, so
117
+ # ordering by expiry descending puts the still-active subscriptions first and
118
+ # moves the expired rows to the tail of the collection — the first several hundred
119
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
120
+ # get expired-first results. For that reason `sort=expire_date` on the expired
121
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
122
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
123
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
124
+ # first empty page. This field is required when <code>sortDirection</code> is
125
+ # present.
126
+ sort: nil,
127
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
128
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
129
+ # `desc` moves the expired rows to the tail of the underlying collection and
130
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
131
+ sort_direction: nil,
69
132
  request_options: {}
70
133
  )
71
134
  end
@@ -78,6 +141,12 @@ module Onlyfans
78
141
  limit: Integer,
79
142
  offset: Integer,
80
143
  query: T.nilable(String),
144
+ sort:
145
+ T.nilable(Onlyfans::FollowingListExpiredParams::Sort::OrSymbol),
146
+ sort_direction:
147
+ T.nilable(
148
+ Onlyfans::FollowingListExpiredParams::SortDirection::OrSymbol
149
+ ),
81
150
  request_options: Onlyfans::RequestOptions
82
151
  }
83
152
  )
@@ -218,6 +287,97 @@ module Onlyfans
218
287
  end
219
288
  end
220
289
  end
290
+
291
+ # Order the list by `last_activity` (the followed creator's last activity),
292
+ # `expire_date` (subscription expiry), `subscribe_date` (subscription start) or
293
+ # `is_expired` (expired first — OnlyFans only offers this one on the expired
294
+ # list). Omit it to keep whichever order is currently stored for the account.
295
+ # **Note:** OnlyFans persists this order account-wide, so it also applies to later
296
+ # requests that omit `sort` and to the creator's own onlyfans.com UI, until it is
297
+ # changed again. **Expired list:** OnlyFans applies `offset` to the whole
298
+ # following collection and only then filters it down to expired subscriptions, so
299
+ # ordering by expiry descending puts the still-active subscriptions first and
300
+ # moves the expired rows to the tail of the collection — the first several hundred
301
+ # offsets then come back empty. Use `sortDirection=asc` or `sort=is_expired` to
302
+ # get expired-first results. For that reason `sort=expire_date` on the expired
303
+ # list defaults to `asc` instead of `desc` when you do not pass `sortDirection`.
304
+ # Whatever order you pick, an empty page is **not** the end of the list: keep
305
+ # following `_pagination.next_page` until it is `null` rather than stopping at the
306
+ # first empty page. This field is required when <code>sortDirection</code> is
307
+ # present.
308
+ module Sort
309
+ extend Onlyfans::Internal::Type::Enum
310
+
311
+ TaggedSymbol =
312
+ T.type_alias do
313
+ T.all(Symbol, Onlyfans::FollowingListExpiredParams::Sort)
314
+ end
315
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
316
+
317
+ LAST_ACTIVITY =
318
+ T.let(
319
+ :last_activity,
320
+ Onlyfans::FollowingListExpiredParams::Sort::TaggedSymbol
321
+ )
322
+ EXPIRE_DATE =
323
+ T.let(
324
+ :expire_date,
325
+ Onlyfans::FollowingListExpiredParams::Sort::TaggedSymbol
326
+ )
327
+ SUBSCRIBE_DATE =
328
+ T.let(
329
+ :subscribe_date,
330
+ Onlyfans::FollowingListExpiredParams::Sort::TaggedSymbol
331
+ )
332
+ IS_EXPIRED =
333
+ T.let(
334
+ :is_expired,
335
+ Onlyfans::FollowingListExpiredParams::Sort::TaggedSymbol
336
+ )
337
+
338
+ sig do
339
+ override.returns(
340
+ T::Array[Onlyfans::FollowingListExpiredParams::Sort::TaggedSymbol]
341
+ )
342
+ end
343
+ def self.values
344
+ end
345
+ end
346
+
347
+ # Direction for `sort`: `desc` (default) or `asc`. Requires `sort` to be set.
348
+ # Exception: `sort=expire_date` on the expired list defaults to `asc`, because
349
+ # `desc` moves the expired rows to the tail of the underlying collection and
350
+ # leaves the early pages empty. Passing `sortDirection` explicitly always wins.
351
+ module SortDirection
352
+ extend Onlyfans::Internal::Type::Enum
353
+
354
+ TaggedSymbol =
355
+ T.type_alias do
356
+ T.all(Symbol, Onlyfans::FollowingListExpiredParams::SortDirection)
357
+ end
358
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
359
+
360
+ ASC =
361
+ T.let(
362
+ :asc,
363
+ Onlyfans::FollowingListExpiredParams::SortDirection::TaggedSymbol
364
+ )
365
+ DESC =
366
+ T.let(
367
+ :desc,
368
+ Onlyfans::FollowingListExpiredParams::SortDirection::TaggedSymbol
369
+ )
370
+
371
+ sig do
372
+ override.returns(
373
+ T::Array[
374
+ Onlyfans::FollowingListExpiredParams::SortDirection::TaggedSymbol
375
+ ]
376
+ )
377
+ end
378
+ def self.values
379
+ end
380
+ end
221
381
  end
222
382
  end
223
383
  end
@@ -11,7 +11,7 @@ module Onlyfans
11
11
  T.any(Onlyfans::LinkTagListParams, Onlyfans::Internal::AnyHash)
12
12
  end
13
13
 
14
- # Filter by link type. If not provided, returns tags for both types.
14
+ # Filter by link type. If not provided, returns tags for all types.
15
15
  sig { returns(T.nilable(Onlyfans::LinkTagListParams::Type::OrSymbol)) }
16
16
  attr_reader :type
17
17
 
@@ -25,7 +25,7 @@ module Onlyfans
25
25
  ).returns(T.attached_class)
26
26
  end
27
27
  def self.new(
28
- # Filter by link type. If not provided, returns tags for both types.
28
+ # Filter by link type. If not provided, returns tags for all types.
29
29
  type: nil,
30
30
  request_options: {}
31
31
  )
@@ -42,7 +42,7 @@ module Onlyfans
42
42
  def to_hash
43
43
  end
44
44
 
45
- # Filter by link type. If not provided, returns tags for both types.
45
+ # Filter by link type. If not provided, returns tags for all types.
46
46
  module Type
47
47
  extend Onlyfans::Internal::Type::Enum
48
48
 
@@ -57,6 +57,8 @@ module Onlyfans
57
57
  :tracking_links,
58
58
  Onlyfans::LinkTagListParams::Type::TaggedSymbol
59
59
  )
60
+ SMART_LINKS =
61
+ T.let(:smart_links, Onlyfans::LinkTagListParams::Type::TaggedSymbol)
60
62
 
61
63
  sig do
62
64
  override.returns(
@@ -17,8 +17,8 @@ module Onlyfans
17
17
  sig { returns(String) }
18
18
  attr_accessor :account
19
19
 
20
- # The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER
21
- # `startDate`. This is also used for pagination.
20
+ # The latest mass message to retrieve. Keep empty to get all. It must be after
21
+ # `startDate` and is also used for pagination.
22
22
  sig { returns(T.nilable(String)) }
23
23
  attr_reader :end_date
24
24
 
@@ -58,8 +58,8 @@ module Onlyfans
58
58
  end
59
59
  def self.new(
60
60
  account:,
61
- # The latest mass message to retrieve. Keep empty to get all. MUST BE DATE AFTER
62
- # `startDate`. This is also used for pagination.
61
+ # The latest mass message to retrieve. Keep empty to get all. It must be after
62
+ # `startDate` and is also used for pagination.
63
63
  end_date: nil,
64
64
  # Number of mass messages to return (default = 10)
65
65
  limit: nil,