postboost 1.0.0 → 1.8.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 (364) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +119 -0
  3. data/docs/AIApi.md +439 -0
  4. data/docs/AICredits.md +22 -0
  5. data/docs/Account.md +14 -8
  6. data/docs/AccountAnalytics.md +28 -0
  7. data/docs/AccountAnalyticsInitialSync.md +20 -0
  8. data/docs/AccountSchedule.md +22 -0
  9. data/docs/AccountsApi.md +15 -5
  10. data/docs/AddPostToQueueRequest.md +18 -0
  11. data/docs/AnalyticsApi.md +401 -0
  12. data/docs/AnalyticsPeriod.md +24 -0
  13. data/docs/AnalyticsSummary.md +20 -0
  14. data/docs/AnalyticsSummaryData.md +38 -0
  15. data/docs/ApprovePostRequest.md +24 -0
  16. data/docs/BestPostingTimes.md +20 -0
  17. data/docs/BestPostingTimesTimesInner.md +24 -0
  18. data/docs/BlogToSocial200Response.md +18 -0
  19. data/docs/BlogToSocial429Response.md +18 -0
  20. data/docs/BlogToSocialCaption.md +28 -0
  21. data/docs/BlogToSocialInput.md +42 -0
  22. data/docs/BlogToSocialMedia.md +20 -0
  23. data/docs/BlogToSocialResponse.md +30 -0
  24. data/docs/CancelSubscription422Response.md +20 -0
  25. data/docs/CancelSubscription422ResponseErrors.md +18 -0
  26. data/docs/CancelSubscriptionRequest.md +18 -0
  27. data/docs/CompleteChunkedUploadRequest.md +20 -0
  28. data/docs/CreateMediaFolderRequest.md +20 -0
  29. data/docs/CreateMention201Response.md +18 -0
  30. data/docs/DeleteMediaBulkRequest.md +1 -1
  31. data/docs/DeleteMediaBulkRequestItemsInner.md +49 -0
  32. data/docs/DeleteMediaFolderRequest.md +18 -0
  33. data/docs/DeleteResult.md +3 -3
  34. data/docs/ImageAltText200Response.md +18 -0
  35. data/docs/ImageAltTextInput.md +18 -0
  36. data/docs/ImageAltTextResponse.md +24 -0
  37. data/docs/ImageEditInput.md +28 -0
  38. data/docs/ImageGenerate200Response.md +18 -0
  39. data/docs/ImageGenerate429Response.md +18 -0
  40. data/docs/ImageGenerateInput.md +36 -0
  41. data/docs/ImageGenerationResponse.md +30 -0
  42. data/docs/ImagePrompt200Response.md +18 -0
  43. data/docs/ImagePrompt429Response.md +18 -0
  44. data/docs/ImagePromptInput.md +28 -0
  45. data/docs/ImagePromptResponse.md +18 -0
  46. data/docs/ImageVariations200Response.md +18 -0
  47. data/docs/ImageVariationsInput.md +24 -0
  48. data/docs/ImageVariationsResponse.md +26 -0
  49. data/docs/{InitiateChunkedUpload200Response.md → InitiateChunkedUpload201Response.md} +2 -2
  50. data/docs/{InitiateRemoteUpload200Response.md → InitiateRemoteUpload201Response.md} +7 -7
  51. data/docs/{InitiateRemoteUpload200ResponseOneOf.md → InitiateRemoteUpload201ResponseOneOf.md} +2 -2
  52. data/docs/InitiateRemoteUploadRequest.md +3 -1
  53. data/docs/ListMediaFolders200Response.md +18 -0
  54. data/docs/ListMentions200Response.md +22 -0
  55. data/docs/ListMyWorkspaces200Response.md +18 -0
  56. data/docs/Media.md +22 -8
  57. data/docs/MediaApi.md +340 -26
  58. data/docs/MediaFolder.md +24 -0
  59. data/docs/MediaFolderInput.md +20 -0
  60. data/docs/MediaFolderRef.md +20 -0
  61. data/docs/Mention.md +28 -0
  62. data/docs/MentionIdentity.md +24 -0
  63. data/docs/MentionIdentityInput.md +26 -0
  64. data/docs/MentionInput.md +22 -0
  65. data/docs/MentionsApi.md +375 -0
  66. data/docs/Post.md +10 -8
  67. data/docs/PostAnalytics.md +22 -0
  68. data/docs/PostInput.md +3 -1
  69. data/docs/PostVersion.md +2 -0
  70. data/docs/PostingTimeSlot.md +22 -0
  71. data/docs/PostingTimes.md +32 -0
  72. data/docs/PostingTimesBestInner.md +24 -0
  73. data/docs/PostingTimesDayIntervalsInnerInner.md +28 -0
  74. data/docs/PostingTimesDaysInner.md +24 -0
  75. data/docs/PostsApi.md +174 -14
  76. data/docs/PublicWorkspace.md +24 -0
  77. data/docs/PublicWorkspacePivot.md +22 -0
  78. data/docs/PublishProgress.md +22 -0
  79. data/docs/Receipt.md +8 -8
  80. data/docs/ReceiptsApi.md +15 -1
  81. data/docs/RemoveGenericSubscription422Response.md +18 -0
  82. data/docs/RetryPostAccountResult.md +22 -0
  83. data/docs/SchedulePostRequest.md +9 -1
  84. data/docs/ScheduleResult.md +4 -2
  85. data/docs/Subscription.md +5 -5
  86. data/docs/SubscriptionsApi.md +27 -5
  87. data/docs/Tag.md +4 -4
  88. data/docs/TagsApi.md +10 -0
  89. data/docs/UpdateMediaRequest.md +6 -2
  90. data/docs/{UploadChunk200Response.md → UploadChunk201Response.md} +2 -2
  91. data/docs/User.md +7 -5
  92. data/docs/UsersApi.md +15 -1
  93. data/docs/Workspace.md +8 -6
  94. data/docs/WorkspaceInput.md +1 -1
  95. data/docs/WorkspacesApi.md +156 -3
  96. data/lib/postboost/api/accounts_api.rb +16 -4
  97. data/lib/postboost/api/ai_api.rb +466 -0
  98. data/lib/postboost/api/analytics_api.rb +425 -0
  99. data/lib/postboost/api/media_api.rb +365 -22
  100. data/lib/postboost/api/mentions_api.rb +386 -0
  101. data/lib/postboost/api/posts_api.rb +176 -12
  102. data/lib/postboost/api/receipts_api.rb +17 -2
  103. data/lib/postboost/api/subscriptions_api.rb +28 -3
  104. data/lib/postboost/api/tags_api.rb +12 -2
  105. data/lib/postboost/api/users_api.rb +17 -2
  106. data/lib/postboost/api/workspaces_api.rb +139 -2
  107. data/lib/postboost/api_client.rb +2 -2
  108. data/lib/postboost/api_error.rb +2 -2
  109. data/lib/postboost/configuration.rb +2 -2
  110. data/lib/postboost/models/account.rb +120 -3
  111. data/lib/postboost/models/account_analytics.rb +308 -0
  112. data/lib/postboost/models/account_analytics_initial_sync.rb +231 -0
  113. data/lib/postboost/models/account_schedule.rb +255 -0
  114. data/lib/postboost/models/add_generic_subscription_request.rb +2 -2
  115. data/lib/postboost/models/add_post_to_queue_request.rb +215 -0
  116. data/lib/postboost/models/ai_credits.rb +256 -0
  117. data/lib/postboost/models/analytics_period.rb +270 -0
  118. data/lib/postboost/models/analytics_summary.rb +237 -0
  119. data/lib/postboost/models/analytics_summary_data.rb +327 -0
  120. data/lib/postboost/models/approve_post_request.rb +247 -0
  121. data/lib/postboost/models/best_posting_times.rb +240 -0
  122. data/lib/postboost/models/best_posting_times_times_inner.rb +269 -0
  123. data/lib/postboost/models/blog_to_social200_response.rb +214 -0
  124. data/lib/postboost/models/blog_to_social429_response.rb +214 -0
  125. data/lib/postboost/models/blog_to_social_caption.rb +265 -0
  126. data/lib/postboost/models/blog_to_social_input.rb +536 -0
  127. data/lib/postboost/models/blog_to_social_media.rb +226 -0
  128. data/lib/postboost/models/blog_to_social_response.rb +276 -0
  129. data/lib/postboost/models/cancel_subscription422_response.rb +223 -0
  130. data/lib/postboost/models/cancel_subscription422_response_errors.rb +216 -0
  131. data/lib/postboost/models/cancel_subscription_request.rb +217 -0
  132. data/lib/postboost/models/change_subscription_plan_request.rb +2 -2
  133. data/lib/postboost/models/checkout_subscription200_response.rb +2 -2
  134. data/lib/postboost/models/checkout_subscription_request.rb +2 -2
  135. data/lib/postboost/models/complete_chunked_upload_request.rb +243 -0
  136. data/lib/postboost/models/create_media_folder_request.rb +258 -0
  137. data/lib/postboost/models/create_mention201_response.rb +214 -0
  138. data/lib/postboost/models/delete_media_bulk_request.rb +23 -4
  139. data/lib/postboost/models/{initiate_remote_upload200_response.rb → delete_media_bulk_request_items_inner.rb} +5 -5
  140. data/lib/postboost/models/delete_media_folder_request.rb +216 -0
  141. data/lib/postboost/models/delete_mode.rb +2 -2
  142. data/lib/postboost/models/delete_post_request.rb +2 -2
  143. data/lib/postboost/models/delete_posts_bulk_request.rb +2 -2
  144. data/lib/postboost/models/delete_receipts_bulk_request.rb +2 -2
  145. data/lib/postboost/models/delete_result.rb +23 -2
  146. data/lib/postboost/models/delete_user400_response.rb +2 -2
  147. data/lib/postboost/models/delete_users_bulk_request.rb +2 -2
  148. data/lib/postboost/models/delete_workspaces_bulk_request.rb +2 -2
  149. data/lib/postboost/models/get_remote_upload_status200_response.rb +2 -2
  150. data/lib/postboost/models/image_alt_text200_response.rb +221 -0
  151. data/lib/postboost/models/image_alt_text_input.rb +221 -0
  152. data/lib/postboost/models/image_alt_text_response.rb +262 -0
  153. data/lib/postboost/models/image_edit_input.rb +375 -0
  154. data/lib/postboost/models/image_generate200_response.rb +221 -0
  155. data/lib/postboost/models/image_generate429_response.rb +214 -0
  156. data/lib/postboost/models/image_generate_input.rb +447 -0
  157. data/lib/postboost/models/image_generation_response.rb +305 -0
  158. data/lib/postboost/models/image_prompt200_response.rb +221 -0
  159. data/lib/postboost/models/image_prompt429_response.rb +214 -0
  160. data/lib/postboost/models/image_prompt_input.rb +345 -0
  161. data/lib/postboost/models/image_prompt_response.rb +221 -0
  162. data/lib/postboost/models/image_variations200_response.rb +221 -0
  163. data/lib/postboost/models/image_variations_input.rb +328 -0
  164. data/lib/postboost/models/image_variations_response.rb +280 -0
  165. data/lib/postboost/models/{initiate_chunked_upload200_response.rb → initiate_chunked_upload201_response.rb} +5 -5
  166. data/lib/postboost/models/initiate_chunked_upload_request.rb +2 -2
  167. data/lib/postboost/models/initiate_remote_upload201_response.rb +105 -0
  168. data/lib/postboost/models/{initiate_remote_upload200_response_one_of.rb → initiate_remote_upload201_response_one_of.rb} +5 -5
  169. data/lib/postboost/models/initiate_remote_upload_request.rb +16 -6
  170. data/lib/postboost/models/list_accounts200_response.rb +2 -2
  171. data/lib/postboost/models/list_media200_response.rb +2 -2
  172. data/lib/postboost/models/list_media_folders200_response.rb +216 -0
  173. data/lib/postboost/models/list_mentions200_response.rb +241 -0
  174. data/lib/postboost/models/list_my_workspaces200_response.rb +216 -0
  175. data/lib/postboost/models/list_posts200_response.rb +2 -2
  176. data/lib/postboost/models/list_receipts200_response.rb +2 -2
  177. data/lib/postboost/models/list_tags200_response.rb +2 -2
  178. data/lib/postboost/models/list_users200_response.rb +2 -2
  179. data/lib/postboost/models/list_workspaces200_response.rb +2 -2
  180. data/lib/postboost/models/media.rb +128 -3
  181. data/lib/postboost/models/media_folder.rb +271 -0
  182. data/lib/postboost/models/media_folder_input.rb +244 -0
  183. data/lib/postboost/models/media_folder_ref.rb +237 -0
  184. data/lib/postboost/models/mention.rb +290 -0
  185. data/lib/postboost/models/mention_identity.rb +257 -0
  186. data/lib/postboost/models/mention_identity_input.rb +325 -0
  187. data/lib/postboost/models/mention_input.rb +279 -0
  188. data/lib/postboost/models/pagination_meta.rb +2 -2
  189. data/lib/postboost/models/pagination_meta_links.rb +2 -2
  190. data/lib/postboost/models/pagination_meta_meta.rb +2 -2
  191. data/lib/postboost/models/post.rb +69 -3
  192. data/lib/postboost/models/post_analytics.rb +252 -0
  193. data/lib/postboost/models/post_content.rb +2 -2
  194. data/lib/postboost/models/post_input.rb +16 -3
  195. data/lib/postboost/models/post_status.rb +6 -3
  196. data/lib/postboost/models/post_version.rb +32 -3
  197. data/lib/postboost/models/posting_time_slot.rb +315 -0
  198. data/lib/postboost/models/posting_times.rb +362 -0
  199. data/lib/postboost/models/posting_times_best_inner.rb +269 -0
  200. data/lib/postboost/models/posting_times_day_intervals_inner_inner.rb +370 -0
  201. data/lib/postboost/models/posting_times_days_inner.rb +366 -0
  202. data/lib/postboost/models/public_workspace.rb +262 -0
  203. data/lib/postboost/models/public_workspace_pivot.rb +267 -0
  204. data/lib/postboost/models/publish_progress.rb +254 -0
  205. data/lib/postboost/models/receipt.rb +58 -2
  206. data/lib/postboost/models/receipt_input.rb +2 -2
  207. data/lib/postboost/models/receipt_update_input.rb +2 -2
  208. data/lib/postboost/models/remove_generic_subscription422_response.rb +214 -0
  209. data/lib/postboost/models/remove_user_from_workspace_request.rb +2 -2
  210. data/lib/postboost/models/retry_post_account_result.rb +275 -0
  211. data/lib/postboost/models/schedule_post_request.rb +48 -6
  212. data/lib/postboost/models/schedule_result.rb +23 -6
  213. data/lib/postboost/models/subscription.rb +37 -2
  214. data/lib/postboost/models/subscription_input.rb +2 -2
  215. data/lib/postboost/models/subscription_status.rb +2 -2
  216. data/lib/postboost/models/subscription_update_input.rb +2 -2
  217. data/lib/postboost/models/tag.rb +30 -2
  218. data/lib/postboost/models/tag_input.rb +2 -2
  219. data/lib/postboost/models/update_media_request.rb +61 -11
  220. data/lib/postboost/models/{upload_chunk200_response.rb → upload_chunk201_response.rb} +5 -5
  221. data/lib/postboost/models/user.rb +48 -3
  222. data/lib/postboost/models/user_input.rb +2 -2
  223. data/lib/postboost/models/user_update_input.rb +2 -2
  224. data/lib/postboost/models/workspace.rb +42 -3
  225. data/lib/postboost/models/workspace_input.rb +3 -9
  226. data/lib/postboost/models/workspace_user_input.rb +2 -2
  227. data/lib/postboost/version.rb +3 -3
  228. data/lib/postboost.rb +70 -6
  229. data/postboost.gemspec +3 -3
  230. data/spec/api/accounts_api_spec.rb +7 -3
  231. data/spec/api/ai_api_spec.rb +113 -0
  232. data/spec/api/analytics_api_spec.rb +113 -0
  233. data/spec/api/media_api_spec.rb +73 -10
  234. data/spec/api/mentions_api_spec.rb +103 -0
  235. data/spec/api/posts_api_spec.rb +38 -6
  236. data/spec/api/receipts_api_spec.rb +9 -2
  237. data/spec/api/subscriptions_api_spec.rb +12 -2
  238. data/spec/api/tags_api_spec.rb +7 -2
  239. data/spec/api/users_api_spec.rb +9 -2
  240. data/spec/api/workspaces_api_spec.rb +33 -2
  241. data/spec/models/account_analytics_initial_sync_spec.rb +42 -0
  242. data/spec/models/account_analytics_spec.rb +66 -0
  243. data/spec/models/account_schedule_spec.rb +48 -0
  244. data/spec/models/account_spec.rb +24 -2
  245. data/spec/models/add_generic_subscription_request_spec.rb +2 -2
  246. data/spec/models/add_post_to_queue_request_spec.rb +36 -0
  247. data/spec/models/ai_credits_spec.rb +48 -0
  248. data/spec/models/analytics_period_spec.rb +54 -0
  249. data/spec/models/analytics_summary_data_spec.rb +96 -0
  250. data/spec/models/analytics_summary_spec.rb +42 -0
  251. data/spec/models/approve_post_request_spec.rb +54 -0
  252. data/spec/models/best_posting_times_spec.rb +42 -0
  253. data/spec/models/best_posting_times_times_inner_spec.rb +54 -0
  254. data/spec/models/blog_to_social200_response_spec.rb +36 -0
  255. data/spec/models/blog_to_social429_response_spec.rb +36 -0
  256. data/spec/models/blog_to_social_caption_spec.rb +66 -0
  257. data/spec/models/blog_to_social_input_spec.rb +128 -0
  258. data/spec/models/blog_to_social_media_spec.rb +42 -0
  259. data/spec/models/blog_to_social_response_spec.rb +72 -0
  260. data/spec/models/cancel_subscription422_response_errors_spec.rb +36 -0
  261. data/spec/models/cancel_subscription422_response_spec.rb +42 -0
  262. data/spec/models/cancel_subscription_request_spec.rb +36 -0
  263. data/spec/models/change_subscription_plan_request_spec.rb +2 -2
  264. data/spec/models/checkout_subscription200_response_spec.rb +2 -2
  265. data/spec/models/checkout_subscription_request_spec.rb +2 -2
  266. data/spec/models/complete_chunked_upload_request_spec.rb +42 -0
  267. data/spec/models/create_media_folder_request_spec.rb +42 -0
  268. data/spec/models/create_mention201_response_spec.rb +36 -0
  269. data/spec/models/delete_media_bulk_request_items_inner_spec.rb +32 -0
  270. data/spec/models/delete_media_bulk_request_spec.rb +2 -2
  271. data/spec/models/delete_media_folder_request_spec.rb +36 -0
  272. data/spec/models/delete_mode_spec.rb +2 -2
  273. data/spec/models/delete_post_request_spec.rb +2 -2
  274. data/spec/models/delete_posts_bulk_request_spec.rb +2 -2
  275. data/spec/models/delete_receipts_bulk_request_spec.rb +2 -2
  276. data/spec/models/delete_result_spec.rb +2 -2
  277. data/spec/models/delete_user400_response_spec.rb +2 -2
  278. data/spec/models/delete_users_bulk_request_spec.rb +2 -2
  279. data/spec/models/delete_workspaces_bulk_request_spec.rb +2 -2
  280. data/spec/models/get_remote_upload_status200_response_spec.rb +2 -2
  281. data/spec/models/image_alt_text200_response_spec.rb +36 -0
  282. data/spec/models/image_alt_text_input_spec.rb +36 -0
  283. data/spec/models/image_alt_text_response_spec.rb +54 -0
  284. data/spec/models/image_edit_input_spec.rb +74 -0
  285. data/spec/models/image_generate200_response_spec.rb +36 -0
  286. data/spec/models/image_generate429_response_spec.rb +36 -0
  287. data/spec/models/image_generate_input_spec.rb +102 -0
  288. data/spec/models/image_generation_response_spec.rb +72 -0
  289. data/spec/models/image_prompt200_response_spec.rb +36 -0
  290. data/spec/models/image_prompt429_response_spec.rb +36 -0
  291. data/spec/models/image_prompt_input_spec.rb +70 -0
  292. data/spec/models/image_prompt_response_spec.rb +36 -0
  293. data/spec/models/image_variations200_response_spec.rb +36 -0
  294. data/spec/models/image_variations_input_spec.rb +62 -0
  295. data/spec/models/image_variations_response_spec.rb +60 -0
  296. data/spec/models/initiate_chunked_upload201_response_spec.rb +48 -0
  297. data/spec/models/initiate_chunked_upload_request_spec.rb +2 -2
  298. data/spec/models/initiate_remote_upload201_response_one_of_spec.rb +36 -0
  299. data/spec/models/initiate_remote_upload201_response_spec.rb +32 -0
  300. data/spec/models/initiate_remote_upload_request_spec.rb +8 -2
  301. data/spec/models/list_accounts200_response_spec.rb +2 -2
  302. data/spec/models/list_media200_response_spec.rb +2 -2
  303. data/spec/models/list_media_folders200_response_spec.rb +36 -0
  304. data/spec/models/list_mentions200_response_spec.rb +48 -0
  305. data/spec/models/list_my_workspaces200_response_spec.rb +36 -0
  306. data/spec/models/list_posts200_response_spec.rb +2 -2
  307. data/spec/models/list_receipts200_response_spec.rb +2 -2
  308. data/spec/models/list_tags200_response_spec.rb +2 -2
  309. data/spec/models/list_users200_response_spec.rb +2 -2
  310. data/spec/models/list_workspaces200_response_spec.rb +2 -2
  311. data/spec/models/media_folder_input_spec.rb +42 -0
  312. data/spec/models/media_folder_ref_spec.rb +42 -0
  313. data/spec/models/media_folder_spec.rb +54 -0
  314. data/spec/models/media_spec.rb +44 -2
  315. data/spec/models/mention_identity_input_spec.rb +60 -0
  316. data/spec/models/mention_identity_spec.rb +54 -0
  317. data/spec/models/mention_input_spec.rb +48 -0
  318. data/spec/models/mention_spec.rb +66 -0
  319. data/spec/models/pagination_meta_links_spec.rb +2 -2
  320. data/spec/models/pagination_meta_meta_spec.rb +2 -2
  321. data/spec/models/pagination_meta_spec.rb +2 -2
  322. data/spec/models/post_analytics_spec.rb +48 -0
  323. data/spec/models/post_content_spec.rb +2 -2
  324. data/spec/models/post_input_spec.rb +8 -2
  325. data/spec/models/post_spec.rb +8 -2
  326. data/spec/models/post_status_spec.rb +2 -2
  327. data/spec/models/post_version_spec.rb +8 -2
  328. data/spec/models/posting_time_slot_spec.rb +52 -0
  329. data/spec/models/posting_times_best_inner_spec.rb +54 -0
  330. data/spec/models/posting_times_day_intervals_inner_inner_spec.rb +70 -0
  331. data/spec/models/posting_times_days_inner_spec.rb +58 -0
  332. data/spec/models/posting_times_spec.rb +78 -0
  333. data/spec/models/public_workspace_pivot_spec.rb +52 -0
  334. data/spec/models/public_workspace_spec.rb +54 -0
  335. data/spec/models/publish_progress_spec.rb +48 -0
  336. data/spec/models/receipt_input_spec.rb +2 -2
  337. data/spec/models/receipt_spec.rb +2 -2
  338. data/spec/models/receipt_update_input_spec.rb +2 -2
  339. data/spec/models/remove_generic_subscription422_response_spec.rb +36 -0
  340. data/spec/models/remove_user_from_workspace_request_spec.rb +2 -2
  341. data/spec/models/retry_post_account_result_spec.rb +48 -0
  342. data/spec/models/schedule_post_request_spec.rb +26 -2
  343. data/spec/models/schedule_result_spec.rb +8 -2
  344. data/spec/models/subscription_input_spec.rb +2 -2
  345. data/spec/models/subscription_spec.rb +2 -2
  346. data/spec/models/subscription_status_spec.rb +2 -2
  347. data/spec/models/subscription_update_input_spec.rb +2 -2
  348. data/spec/models/tag_input_spec.rb +2 -2
  349. data/spec/models/tag_spec.rb +2 -2
  350. data/spec/models/update_media_request_spec.rb +14 -2
  351. data/spec/models/upload_chunk201_response_spec.rb +36 -0
  352. data/spec/models/user_input_spec.rb +2 -2
  353. data/spec/models/user_spec.rb +8 -2
  354. data/spec/models/user_update_input_spec.rb +2 -2
  355. data/spec/models/workspace_input_spec.rb +2 -2
  356. data/spec/models/workspace_spec.rb +8 -2
  357. data/spec/models/workspace_user_input_spec.rb +2 -2
  358. data/spec/spec_helper.rb +2 -2
  359. metadata +331 -75
  360. data/git_push.sh +0 -57
  361. data/spec/models/initiate_chunked_upload200_response_spec.rb +0 -48
  362. data/spec/models/initiate_remote_upload200_response_one_of_spec.rb +0 -36
  363. data/spec/models/initiate_remote_upload200_response_spec.rb +0 -32
  364. data/spec/models/upload_chunk200_response_spec.rb +0 -36
data/docs/PostsApi.md CHANGED
@@ -10,18 +10,20 @@ All URIs are relative to *https://postboost.co/app/api*
10
10
  | [**delete_post**](PostsApi.md#delete_post) | **DELETE** /{workspaceUuid}/posts/{postUuid} | Delete post |
11
11
  | [**delete_posts_bulk**](PostsApi.md#delete_posts_bulk) | **DELETE** /{workspaceUuid}/posts | Delete posts (bulk) |
12
12
  | [**get_post**](PostsApi.md#get_post) | **GET** /{workspaceUuid}/posts/{postUuid} | Get post |
13
+ | [**get_post_analytics**](PostsApi.md#get_post_analytics) | **GET** /{workspaceUuid}/posts/{postUuid}/analytics | Get post analytics |
13
14
  | [**list_posts**](PostsApi.md#list_posts) | **GET** /{workspaceUuid}/posts | List posts |
15
+ | [**retry_post_account**](PostsApi.md#retry_post_account) | **POST** /{workspaceUuid}/posts/retry/{postUuid}/{accountUuid} | Retry publishing to one account |
14
16
  | [**schedule_post**](PostsApi.md#schedule_post) | **POST** /{workspaceUuid}/posts/schedule/{postUuid} | Schedule post |
15
17
  | [**update_post**](PostsApi.md#update_post) | **PUT** /{workspaceUuid}/posts/{postUuid} | Update post |
16
18
 
17
19
 
18
20
  ## add_post_to_queue
19
21
 
20
- > <ScheduleResult> add_post_to_queue(workspace_uuid, post_uuid)
22
+ > <ScheduleResult> add_post_to_queue(workspace_uuid, post_uuid, opts)
21
23
 
22
24
  Add post to queue
23
25
 
24
- Add an existing post to the smart publishing queue.
26
+ Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met.
25
27
 
26
28
  ### Examples
27
29
 
@@ -37,10 +39,13 @@ end
37
39
  api_instance = PostBoost::PostsApi.new
38
40
  workspace_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the workspace.
39
41
  post_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the post.
42
+ opts = {
43
+ add_post_to_queue_request: PostBoost::AddPostToQueueRequest.new # AddPostToQueueRequest |
44
+ }
40
45
 
41
46
  begin
42
47
  # Add post to queue
43
- result = api_instance.add_post_to_queue(workspace_uuid, post_uuid)
48
+ result = api_instance.add_post_to_queue(workspace_uuid, post_uuid, opts)
44
49
  p result
45
50
  rescue PostBoost::ApiError => e
46
51
  puts "Error when calling PostsApi->add_post_to_queue: #{e}"
@@ -51,12 +56,12 @@ end
51
56
 
52
57
  This returns an Array which contains the response data, status code and headers.
53
58
 
54
- > <Array(<ScheduleResult>, Integer, Hash)> add_post_to_queue_with_http_info(workspace_uuid, post_uuid)
59
+ > <Array(<ScheduleResult>, Integer, Hash)> add_post_to_queue_with_http_info(workspace_uuid, post_uuid, opts)
55
60
 
56
61
  ```ruby
57
62
  begin
58
63
  # Add post to queue
59
- data, status_code, headers = api_instance.add_post_to_queue_with_http_info(workspace_uuid, post_uuid)
64
+ data, status_code, headers = api_instance.add_post_to_queue_with_http_info(workspace_uuid, post_uuid, opts)
60
65
  p status_code # => 2xx
61
66
  p headers # => { ... }
62
67
  p data # => <ScheduleResult>
@@ -71,6 +76,7 @@ end
71
76
  | ---- | ---- | ----------- | ----- |
72
77
  | **workspace_uuid** | **String** | UUID of the workspace. | |
73
78
  | **post_uuid** | **String** | UUID of the post. | |
79
+ | **add_post_to_queue_request** | [**AddPostToQueueRequest**](AddPostToQueueRequest.md) | | [optional] |
74
80
 
75
81
  ### Return type
76
82
 
@@ -82,17 +88,17 @@ end
82
88
 
83
89
  ### HTTP request headers
84
90
 
85
- - **Content-Type**: Not defined
91
+ - **Content-Type**: application/json
86
92
  - **Accept**: application/json
87
93
 
88
94
 
89
95
  ## approve_post
90
96
 
91
- > <ScheduleResult> approve_post(workspace_uuid, post_uuid)
97
+ > <ScheduleResult> approve_post(workspace_uuid, post_uuid, opts)
92
98
 
93
99
  Approve post
94
100
 
95
- Approve a post that is pending review.
101
+ Approve a post that is pending review. The approver may move the post with `date`/`time` (read in `timezone`) and set per-account times with `accounts_schedule`; without them the post keeps the time it was submitted with. Provider requirements are validated and reported as `422`.
96
102
 
97
103
  ### Examples
98
104
 
@@ -108,10 +114,13 @@ end
108
114
  api_instance = PostBoost::PostsApi.new
109
115
  workspace_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the workspace.
110
116
  post_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the post.
117
+ opts = {
118
+ approve_post_request: PostBoost::ApprovePostRequest.new # ApprovePostRequest |
119
+ }
111
120
 
112
121
  begin
113
122
  # Approve post
114
- result = api_instance.approve_post(workspace_uuid, post_uuid)
123
+ result = api_instance.approve_post(workspace_uuid, post_uuid, opts)
115
124
  p result
116
125
  rescue PostBoost::ApiError => e
117
126
  puts "Error when calling PostsApi->approve_post: #{e}"
@@ -122,12 +131,12 @@ end
122
131
 
123
132
  This returns an Array which contains the response data, status code and headers.
124
133
 
125
- > <Array(<ScheduleResult>, Integer, Hash)> approve_post_with_http_info(workspace_uuid, post_uuid)
134
+ > <Array(<ScheduleResult>, Integer, Hash)> approve_post_with_http_info(workspace_uuid, post_uuid, opts)
126
135
 
127
136
  ```ruby
128
137
  begin
129
138
  # Approve post
130
- data, status_code, headers = api_instance.approve_post_with_http_info(workspace_uuid, post_uuid)
139
+ data, status_code, headers = api_instance.approve_post_with_http_info(workspace_uuid, post_uuid, opts)
131
140
  p status_code # => 2xx
132
141
  p headers # => { ... }
133
142
  p data # => <ScheduleResult>
@@ -142,6 +151,7 @@ end
142
151
  | ---- | ---- | ----------- | ----- |
143
152
  | **workspace_uuid** | **String** | UUID of the workspace. | |
144
153
  | **post_uuid** | **String** | UUID of the post. | |
154
+ | **approve_post_request** | [**ApprovePostRequest**](ApprovePostRequest.md) | | [optional] |
145
155
 
146
156
  ### Return type
147
157
 
@@ -153,7 +163,7 @@ end
153
163
 
154
164
  ### HTTP request headers
155
165
 
156
- - **Content-Type**: Not defined
166
+ - **Content-Type**: application/json
157
167
  - **Accept**: application/json
158
168
 
159
169
 
@@ -163,7 +173,7 @@ end
163
173
 
164
174
  Create post
165
175
 
166
- Create a new post. Use `schedule: true` with `date` and `time` to schedule, `schedule_now: true` to publish immediately, or `queue: true` to add to the smart publishing queue.
176
+ Create a new post. Use `schedule: true` with `date` and `time` to schedule, `schedule_now: true` to publish immediately, or `queue: true` to add to the smart publishing queue (each account gets its own queue slot). `date`, `time` and `accounts_schedule` are read in `timezone` when given, otherwise in the workspace timezone. Use `accounts_schedule` to give individual accounts their own departure time. Post bodies may reference mentions with `{{mention:<reference>}}` (see the Mentions endpoints). When the post is scheduled, provider requirements (for example a network that requires media) are validated up front and reported as `422`.
167
177
 
168
178
  ### Examples
169
179
 
@@ -234,6 +244,8 @@ end
234
244
 
235
245
  Delete post
236
246
 
247
+ Deletes a post. Use `delete_mode` to control whether to also remove the published content from social platforms.
248
+
237
249
  ### Examples
238
250
 
239
251
  ```ruby
@@ -378,6 +390,8 @@ end
378
390
 
379
391
  Get post
380
392
 
393
+ Returns a single post with all its versions and associated accounts.
394
+
381
395
  ### Examples
382
396
 
383
397
  ```ruby
@@ -441,6 +455,77 @@ end
441
455
  - **Accept**: application/json
442
456
 
443
457
 
458
+ ## get_post_analytics
459
+
460
+ > <PostAnalytics> get_post_analytics(workspace_uuid, post_uuid)
461
+
462
+ Get post analytics
463
+
464
+ Engagement metrics for a published post across its accounts (also works for trashed posts), with totals, trends and the best-performing account.
465
+
466
+ ### Examples
467
+
468
+ ```ruby
469
+ require 'time'
470
+ require 'postboost'
471
+ # setup authorization
472
+ PostBoost.configure do |config|
473
+ # Configure Bearer authorization: bearerAuth
474
+ config.access_token = 'YOUR_BEARER_TOKEN'
475
+ end
476
+
477
+ api_instance = PostBoost::PostsApi.new
478
+ workspace_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the workspace.
479
+ post_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the post.
480
+
481
+ begin
482
+ # Get post analytics
483
+ result = api_instance.get_post_analytics(workspace_uuid, post_uuid)
484
+ p result
485
+ rescue PostBoost::ApiError => e
486
+ puts "Error when calling PostsApi->get_post_analytics: #{e}"
487
+ end
488
+ ```
489
+
490
+ #### Using the get_post_analytics_with_http_info variant
491
+
492
+ This returns an Array which contains the response data, status code and headers.
493
+
494
+ > <Array(<PostAnalytics>, Integer, Hash)> get_post_analytics_with_http_info(workspace_uuid, post_uuid)
495
+
496
+ ```ruby
497
+ begin
498
+ # Get post analytics
499
+ data, status_code, headers = api_instance.get_post_analytics_with_http_info(workspace_uuid, post_uuid)
500
+ p status_code # => 2xx
501
+ p headers # => { ... }
502
+ p data # => <PostAnalytics>
503
+ rescue PostBoost::ApiError => e
504
+ puts "Error when calling PostsApi->get_post_analytics_with_http_info: #{e}"
505
+ end
506
+ ```
507
+
508
+ ### Parameters
509
+
510
+ | Name | Type | Description | Notes |
511
+ | ---- | ---- | ----------- | ----- |
512
+ | **workspace_uuid** | **String** | UUID of the workspace. | |
513
+ | **post_uuid** | **String** | UUID of the post. | |
514
+
515
+ ### Return type
516
+
517
+ [**PostAnalytics**](PostAnalytics.md)
518
+
519
+ ### Authorization
520
+
521
+ [bearerAuth](../README.md#bearerAuth)
522
+
523
+ ### HTTP request headers
524
+
525
+ - **Content-Type**: Not defined
526
+ - **Accept**: application/json
527
+
528
+
444
529
  ## list_posts
445
530
 
446
531
  > <ListPosts200Response> list_posts(workspace_uuid, opts)
@@ -514,13 +599,86 @@ end
514
599
  - **Accept**: application/json
515
600
 
516
601
 
602
+ ## retry_post_account
603
+
604
+ > <RetryPostAccountResult> retry_post_account(workspace_uuid, post_uuid, account_uuid)
605
+
606
+ Retry publishing to one account
607
+
608
+ Re-publishes a post to a single account whose publishing failed. Returns `422` when the account is not on the post, the post is still publishing, or the account did not fail.
609
+
610
+ ### Examples
611
+
612
+ ```ruby
613
+ require 'time'
614
+ require 'postboost'
615
+ # setup authorization
616
+ PostBoost.configure do |config|
617
+ # Configure Bearer authorization: bearerAuth
618
+ config.access_token = 'YOUR_BEARER_TOKEN'
619
+ end
620
+
621
+ api_instance = PostBoost::PostsApi.new
622
+ workspace_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the workspace.
623
+ post_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the post.
624
+ account_uuid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | UUID of the social media account.
625
+
626
+ begin
627
+ # Retry publishing to one account
628
+ result = api_instance.retry_post_account(workspace_uuid, post_uuid, account_uuid)
629
+ p result
630
+ rescue PostBoost::ApiError => e
631
+ puts "Error when calling PostsApi->retry_post_account: #{e}"
632
+ end
633
+ ```
634
+
635
+ #### Using the retry_post_account_with_http_info variant
636
+
637
+ This returns an Array which contains the response data, status code and headers.
638
+
639
+ > <Array(<RetryPostAccountResult>, Integer, Hash)> retry_post_account_with_http_info(workspace_uuid, post_uuid, account_uuid)
640
+
641
+ ```ruby
642
+ begin
643
+ # Retry publishing to one account
644
+ data, status_code, headers = api_instance.retry_post_account_with_http_info(workspace_uuid, post_uuid, account_uuid)
645
+ p status_code # => 2xx
646
+ p headers # => { ... }
647
+ p data # => <RetryPostAccountResult>
648
+ rescue PostBoost::ApiError => e
649
+ puts "Error when calling PostsApi->retry_post_account_with_http_info: #{e}"
650
+ end
651
+ ```
652
+
653
+ ### Parameters
654
+
655
+ | Name | Type | Description | Notes |
656
+ | ---- | ---- | ----------- | ----- |
657
+ | **workspace_uuid** | **String** | UUID of the workspace. | |
658
+ | **post_uuid** | **String** | UUID of the post. | |
659
+ | **account_uuid** | **String** | UUID of the social media account. | |
660
+
661
+ ### Return type
662
+
663
+ [**RetryPostAccountResult**](RetryPostAccountResult.md)
664
+
665
+ ### Authorization
666
+
667
+ [bearerAuth](../README.md#bearerAuth)
668
+
669
+ ### HTTP request headers
670
+
671
+ - **Content-Type**: Not defined
672
+ - **Accept**: application/json
673
+
674
+
517
675
  ## schedule_post
518
676
 
519
677
  > <ScheduleResult> schedule_post(workspace_uuid, post_uuid, schedule_post_request)
520
678
 
521
679
  Schedule post
522
680
 
523
- Schedule an existing post. Set `postNow: true` to publish immediately.
681
+ Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`.
524
682
 
525
683
  ### Examples
526
684
 
@@ -593,6 +751,8 @@ end
593
751
 
594
752
  Update post
595
753
 
754
+ Replaces a post's versions, accounts, tags, and scheduling options. The post must not be in a published state. `timezone` is honoured: `date`, `time` and `accounts_schedule` are read in it. When the post stays scheduled, provider requirements are validated and reported as `422`.
755
+
596
756
  ### Examples
597
757
 
598
758
  ```ruby
@@ -0,0 +1,24 @@
1
+ # PostBoost::PublicWorkspace
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | |
8
+ | **uuid** | **String** | | |
9
+ | **name** | **String** | | |
10
+ | **pivot** | [**PublicWorkspacePivot**](PublicWorkspacePivot.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'postboost'
16
+
17
+ instance = PostBoost::PublicWorkspace.new(
18
+ id: null,
19
+ uuid: null,
20
+ name: Acme Marketing,
21
+ pivot: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # PostBoost::PublicWorkspacePivot
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **role** | **String** | | [optional] |
8
+ | **can_approve** | **Boolean** | | [optional] |
9
+ | **joined_at** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'postboost'
15
+
16
+ instance = PostBoost::PublicWorkspacePivot.new(
17
+ role: null,
18
+ can_approve: null,
19
+ joined_at: 2026-05-01 09:30:00
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # PostBoost::PublishProgress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total** | **Integer** | Number of accounts the post goes to. | |
8
+ | **published** | **Integer** | | |
9
+ | **failed** | **Integer** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'postboost'
15
+
16
+ instance = PostBoost::PublishProgress.new(
17
+ total: null,
18
+ published: null,
19
+ failed: null
20
+ )
21
+ ```
22
+
data/docs/Receipt.md CHANGED
@@ -4,16 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **uuid** | **String** | | [optional] |
8
- | **transaction_id** | **String** | | [optional] |
9
- | **invoice_number** | **String** | | [optional] |
10
- | **amount** | **Float** | | [optional] |
11
- | **tax** | **Float** | | [optional] |
12
- | **currency** | **String** | | [optional] |
7
+ | **uuid** | **String** | | |
8
+ | **transaction_id** | **String** | | |
9
+ | **invoice_number** | **String** | | |
10
+ | **amount** | **Float** | | |
11
+ | **tax** | **Float** | | |
12
+ | **currency** | **String** | | |
13
13
  | **receipt_url** | **String** | | [optional] |
14
14
  | **description** | **String** | | [optional] |
15
- | **paid_at** | **Time** | | [optional] |
16
- | **created_at** | **Time** | | [optional] |
15
+ | **paid_at** | **Time** | | |
16
+ | **created_at** | **Time** | | |
17
17
 
18
18
  ## Example
19
19
 
data/docs/ReceiptsApi.md CHANGED
@@ -18,6 +18,8 @@ All URIs are relative to *https://postboost.co/app/api*
18
18
 
19
19
  Create receipt
20
20
 
21
+ Creates a billing receipt record for a workspace. Admin only.
22
+
21
23
  ### Examples
22
24
 
23
25
  ```ruby
@@ -85,6 +87,8 @@ end
85
87
 
86
88
  Delete receipt
87
89
 
90
+ Permanently deletes a single receipt. Admin only.
91
+
88
92
  ### Examples
89
93
 
90
94
  ```ruby
@@ -152,6 +156,8 @@ end
152
156
 
153
157
  Delete receipts (bulk)
154
158
 
159
+ Permanently deletes one or more receipt records. Admin only.
160
+
155
161
  ### Examples
156
162
 
157
163
  ```ruby
@@ -219,6 +225,8 @@ end
219
225
 
220
226
  Get receipt
221
227
 
228
+ Returns a single receipt by UUID. Admin only.
229
+
222
230
  ### Examples
223
231
 
224
232
  ```ruby
@@ -286,6 +294,8 @@ end
286
294
 
287
295
  List receipts
288
296
 
297
+ Returns a paginated list of billing receipts. Filter by workspace UUID or invoice number. Admin only.
298
+
289
299
  ### Examples
290
300
 
291
301
  ```ruby
@@ -300,7 +310,8 @@ end
300
310
  api_instance = PostBoost::ReceiptsApi.new
301
311
  opts = {
302
312
  workspace_uuid: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String |
303
- invoice_number: 'invoice_number_example' # String |
313
+ invoice_number: 'invoice_number_example', # String |
314
+ page: 56 # Integer | Page number (15 items per page).
304
315
  }
305
316
 
306
317
  begin
@@ -336,6 +347,7 @@ end
336
347
  | ---- | ---- | ----------- | ----- |
337
348
  | **workspace_uuid** | **String** | | [optional] |
338
349
  | **invoice_number** | **String** | | [optional] |
350
+ | **page** | **Integer** | Page number (15 items per page). | [optional][default to 1] |
339
351
 
340
352
  ### Return type
341
353
 
@@ -357,6 +369,8 @@ end
357
369
 
358
370
  Update receipt
359
371
 
372
+ Updates a receipt's transaction details, amount, or payment date. Admin only.
373
+
360
374
  ### Examples
361
375
 
362
376
  ```ruby
@@ -0,0 +1,18 @@
1
+ # PostBoost::RemoveGenericSubscription422Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'postboost'
13
+
14
+ instance = PostBoost::RemoveGenericSubscription422Response.new(
15
+ message: The workspace has no generic subscription.
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # PostBoost::RetryPostAccountResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | |
8
+ | **status** | [**PostStatus**](PostStatus.md) | | |
9
+ | **publish_progress** | [**PublishProgress**](PublishProgress.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'postboost'
15
+
16
+ instance = PostBoost::RetryPostAccountResult.new(
17
+ success: null,
18
+ status: null,
19
+ publish_progress: null
20
+ )
21
+ ```
22
+
@@ -5,6 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **post_now** | **Boolean** | | |
8
+ | **date** | **Date** | New date for the post (Y-m-d). Use together with &#x60;time&#x60;. | [optional] |
9
+ | **time** | **String** | New time for the post (H:i). | [optional] |
10
+ | **timezone** | **String** | Timezone &#x60;date&#x60;, &#x60;time&#x60; and &#x60;accounts_schedule&#x60; are read in. Defaults to the workspace timezone. | [optional] |
11
+ | **accounts_schedule** | [**Array&lt;AccountSchedule&gt;**](AccountSchedule.md) | Per-account departure times. When omitted, accounts keep their offsets from the post time. | [optional] |
8
12
 
9
13
  ## Example
10
14
 
@@ -12,7 +16,11 @@
12
16
  require 'postboost'
13
17
 
14
18
  instance = PostBoost::SchedulePostRequest.new(
15
- post_now: null
19
+ post_now: null,
20
+ date: 2026-11-01,
21
+ time: 10:00,
22
+ timezone: America/New_York,
23
+ accounts_schedule: null
16
24
  )
17
25
  ```
18
26
 
@@ -4,8 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **success** | **Boolean** | | [optional] |
7
+ | **success** | **Boolean** | | |
8
8
  | **scheduled_at** | **Time** | | [optional] |
9
+ | **needs_approval** | **Boolean** | True when the post now waits for approval instead of being scheduled (not returned by approve). | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'postboost'
14
15
 
15
16
  instance = PostBoost::ScheduleResult.new(
16
17
  success: null,
17
- scheduled_at: 2025-06-01T10:00:00Z
18
+ scheduled_at: 2025-06-01T10:00:00Z,
19
+ needs_approval: null
18
20
  )
19
21
  ```
20
22
 
data/docs/Subscription.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | [optional] |
8
- | **platform_subscription_id** | **String** | | [optional] |
9
- | **platform_plan_id** | **String** | | [optional] |
10
- | **status** | [**SubscriptionStatus**](SubscriptionStatus.md) | | [optional] |
11
- | **recurring** | **Boolean** | | [optional] |
7
+ | **name** | **String** | | |
8
+ | **platform_subscription_id** | **String** | | |
9
+ | **platform_plan_id** | **String** | | |
10
+ | **status** | [**SubscriptionStatus**](SubscriptionStatus.md) | | |
11
+ | **recurring** | **Boolean** | | |
12
12
  | **trial_ends_at** | **Time** | | [optional] |
13
13
  | **paused_from** | **Time** | | [optional] |
14
14
  | **ends_at** | **Time** | | [optional] |