postboost 1.29.1 → 1.30.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 (333) hide show
  1. package/README.md +1 -1
  2. package/api/aIApi.ts +1 -1
  3. package/api/accountGroupsApi.ts +1 -1
  4. package/api/accountsApi.ts +1 -1
  5. package/api/activityApi.ts +1 -1
  6. package/api/agentsApi.ts +1 -1
  7. package/api/analyticsApi.ts +1 -1
  8. package/api/competitorsApi.ts +1 -1
  9. package/api/freeToolsApi.ts +208 -1
  10. package/api/hashtagGroupsApi.ts +1 -1
  11. package/api/inboxApi.ts +1 -1
  12. package/api/mediaApi.ts +1 -1
  13. package/api/mentionsApi.ts +1 -1
  14. package/api/postingScheduleApi.ts +1 -1
  15. package/api/postsApi.ts +1 -1
  16. package/api/receiptsApi.ts +1 -1
  17. package/api/subscriptionsApi.ts +1 -1
  18. package/api/tagsApi.ts +1 -1
  19. package/api/templatesApi.ts +1 -1
  20. package/api/usersApi.ts +1 -1
  21. package/api/webhooksApi.ts +1 -1
  22. package/api/workspacesApi.ts +1 -1
  23. package/model/aICredits.ts +1 -1
  24. package/model/aIUsage.ts +1 -1
  25. package/model/aIUsageText.ts +1 -1
  26. package/model/account.ts +1 -1
  27. package/model/accountAnalytics.ts +1 -1
  28. package/model/accountAnalyticsInitialSync.ts +1 -1
  29. package/model/accountConnectionHealth.ts +1 -1
  30. package/model/accountErrorsInner.ts +1 -1
  31. package/model/accountErrorsInnerOneOf.ts +1 -1
  32. package/model/accountGroup.ts +1 -1
  33. package/model/accountGroupInput.ts +1 -1
  34. package/model/accountHealth.ts +1 -1
  35. package/model/accountHealthDailyCap.ts +1 -1
  36. package/model/accountSchedule.ts +1 -1
  37. package/model/addCompetitor202Response.ts +1 -1
  38. package/model/addCompetitor409Response.ts +1 -1
  39. package/model/addGenericSubscriptionRequest.ts +1 -1
  40. package/model/addPostToQueueRequest.ts +1 -1
  41. package/model/agentPageMeta.ts +1 -1
  42. package/model/agentProposal.ts +1 -1
  43. package/model/agentProposalDecision.ts +1 -1
  44. package/model/agentRun.ts +1 -1
  45. package/model/analyticsPeriod.ts +1 -1
  46. package/model/analyticsSummary.ts +1 -1
  47. package/model/analyticsSummaryData.ts +1 -1
  48. package/model/apiActivity.ts +1 -1
  49. package/model/apiActivityOutcome.ts +1 -1
  50. package/model/apiKey.ts +1 -1
  51. package/model/apiKeyAbility.ts +1 -1
  52. package/model/apiKeyInput.ts +1 -1
  53. package/model/approveAgentProposal200Response.ts +1 -1
  54. package/model/approveAgentProposal409Response.ts +1 -1
  55. package/model/approveInboxReplyDraft403Response.ts +1 -1
  56. package/model/approvePostRequest.ts +1 -1
  57. package/model/bestPostingTimes.ts +1 -1
  58. package/model/bestPostingTimesTimesInner.ts +1 -1
  59. package/model/blogToSocial200Response.ts +1 -1
  60. package/model/blogToSocial429Response.ts +1 -1
  61. package/model/blogToSocialCaption.ts +1 -1
  62. package/model/blogToSocialInput.ts +1 -1
  63. package/model/blogToSocialMedia.ts +1 -1
  64. package/model/blogToSocialResponse.ts +1 -1
  65. package/model/brandVoice.ts +1 -1
  66. package/model/brandVoiceInput.ts +1 -1
  67. package/model/brandVoiceMeta.ts +1 -1
  68. package/model/cancelSubscription422Response.ts +1 -1
  69. package/model/cancelSubscription422ResponseErrors.ts +1 -1
  70. package/model/cancelSubscriptionRequest.ts +1 -1
  71. package/model/changeSubscriptionPlanRequest.ts +1 -1
  72. package/model/channelAccount.ts +1 -1
  73. package/model/checkoutSubscription200Response.ts +1 -1
  74. package/model/checkoutSubscriptionRequest.ts +1 -1
  75. package/model/codedError.ts +1 -1
  76. package/model/competitor.ts +1 -1
  77. package/model/competitorDetail.ts +1 -1
  78. package/model/competitorInput.ts +1 -1
  79. package/model/competitorMedia.ts +1 -1
  80. package/model/competitorSnapshot.ts +1 -1
  81. package/model/completeChunkedUploadRequest.ts +1 -1
  82. package/model/connectChannelInput.ts +1 -1
  83. package/model/connectLink.ts +1 -1
  84. package/model/createAccountGroup201Response.ts +1 -1
  85. package/model/createAgent201Response.ts +1 -1
  86. package/model/createApiKey201Response.ts +1 -1
  87. package/model/createApiKey201ResponseData.ts +1 -1
  88. package/model/createConnectLinkRequest.ts +1 -1
  89. package/model/createHashtagGroup201Response.ts +1 -1
  90. package/model/createInboxReplyDraft201Response.ts +1 -1
  91. package/model/createMediaFolderRequest.ts +1 -1
  92. package/model/createMention201Response.ts +1 -1
  93. package/model/createPost201Response.ts +1 -1
  94. package/model/createRecyclingRule201Response.ts +1 -1
  95. package/model/createReportExport201Response.ts +1 -1
  96. package/model/createResellerClient201Response.ts +1 -1
  97. package/model/createRssFeed201Response.ts +1 -1
  98. package/model/createTemplate201Response.ts +1 -1
  99. package/model/createWebhookSubscription201Response.ts +1 -1
  100. package/model/createWebhookSubscription201ResponseData.ts +1 -1
  101. package/model/deleteAgent200Response.ts +1 -1
  102. package/model/deleteMediaBulkRequest.ts +1 -1
  103. package/model/deleteMediaBulkRequestItemsInner.ts +1 -1
  104. package/model/deleteMediaFolderRequest.ts +1 -1
  105. package/model/deleteMode.ts +1 -1
  106. package/model/deletePostRequest.ts +1 -1
  107. package/model/deletePostsBulkRequest.ts +1 -1
  108. package/model/deleteReceiptsBulkRequest.ts +1 -1
  109. package/model/deleteResult.ts +1 -1
  110. package/model/deleteUser400Response.ts +1 -1
  111. package/model/deleteUsersBulkRequest.ts +1 -1
  112. package/model/deleteWorkspacesBulkRequest.ts +1 -1
  113. package/model/freeToolBuildUtmUrlRequest.ts +1 -1
  114. package/model/freeToolBuildUtmUrlResponse.ts +1 -1
  115. package/model/freeToolCalculateCropRequest.ts +94 -0
  116. package/model/freeToolCalculateCropResponse.ts +64 -0
  117. package/model/freeToolCalculateCropResponseCrop.ts +52 -0
  118. package/model/freeToolCalculateCropResponseImage.ts +52 -0
  119. package/model/freeToolCalculateCropResponseOutput.ts +40 -0
  120. package/model/freeToolCalculateEngagementRateRequest.ts +1 -1
  121. package/model/freeToolCalculateEngagementRateResponse.ts +1 -1
  122. package/model/freeToolCheckPostRequest.ts +1 -1
  123. package/model/freeToolCheckPostRequestMedia.ts +1 -1
  124. package/model/freeToolCheckPostResponse.ts +1 -1
  125. package/model/freeToolCheckPostResponseNetworksInner.ts +1 -1
  126. package/model/freeToolCheckPostResponseNetworksInnerErrorsInner.ts +1 -1
  127. package/model/freeToolCleanTextRequest.ts +1 -1
  128. package/model/freeToolCleanTextResponse.ts +1 -1
  129. package/model/freeToolCleanTextResponseChangesInner.ts +1 -1
  130. package/model/freeToolCleanTextResponseFlagsInner.ts +1 -1
  131. package/model/freeToolCountCharactersRequest.ts +1 -1
  132. package/model/freeToolCountCharactersResponse.ts +1 -1
  133. package/model/freeToolCountCharactersResponseNetworksInner.ts +1 -1
  134. package/model/freeToolError.ts +1 -1
  135. package/model/freeToolFormatLinkedInPostRequest.ts +1 -1
  136. package/model/freeToolFormatLinkedInPostResponse.ts +1 -1
  137. package/model/freeToolGenerateCaptionRequest.ts +1 -1
  138. package/model/freeToolGenerateCaptionResponse.ts +1 -1
  139. package/model/freeToolGenerateFancyTextRequest.ts +1 -1
  140. package/model/freeToolGenerateFancyTextResponse.ts +1 -1
  141. package/model/freeToolGenerateFancyTextResponseStylesInner.ts +1 -1
  142. package/model/freeToolGenerateHashtagsRequest.ts +1 -1
  143. package/model/freeToolGenerateHashtagsResponse.ts +1 -1
  144. package/model/freeToolGetBestTimesToPostResponse.ts +60 -0
  145. package/model/freeToolGetBestTimesToPostResponseNetworksInner.ts +58 -0
  146. package/model/freeToolGetImageSizesResponse.ts +51 -0
  147. package/model/freeToolGetImageSizesResponseSizesInner.ts +124 -0
  148. package/model/freeToolGetImageSizesResponseSourcesInner.ts +37 -0
  149. package/model/freeToolList.ts +1 -1
  150. package/model/freeToolListItem.ts +1 -1
  151. package/model/freeToolSplitThreadRequest.ts +1 -1
  152. package/model/freeToolSplitThreadResponse.ts +1 -1
  153. package/model/freeToolSplitThreadResponsePostsInner.ts +1 -1
  154. package/model/getAccountHealth200Response.ts +1 -1
  155. package/model/getBrandVoice200Response.ts +1 -1
  156. package/model/getCompetitor200Response.ts +1 -1
  157. package/model/getInboxConversation200Response.ts +1 -1
  158. package/model/getPostingSchedule200Response.ts +1 -1
  159. package/model/getRemoteUploadStatus200Response.ts +1 -1
  160. package/model/getReportBranding200Response.ts +1 -1
  161. package/model/getRepurposeRun200Response.ts +1 -1
  162. package/model/guardrailError.ts +1 -1
  163. package/model/hashtagGroup.ts +1 -1
  164. package/model/hashtagGroupInput.ts +1 -1
  165. package/model/imageAltText200Response.ts +1 -1
  166. package/model/imageAltTextInput.ts +1 -1
  167. package/model/imageAltTextResponse.ts +1 -1
  168. package/model/imageCreditBalance.ts +1 -1
  169. package/model/imageEditInput.ts +1 -1
  170. package/model/imageGenerate200Response.ts +1 -1
  171. package/model/imageGenerate429Response.ts +1 -1
  172. package/model/imageGenerateInput.ts +1 -1
  173. package/model/imageGenerationResponse.ts +1 -1
  174. package/model/imagePrompt200Response.ts +1 -1
  175. package/model/imagePrompt429Response.ts +1 -1
  176. package/model/imagePromptInput.ts +1 -1
  177. package/model/imagePromptResponse.ts +1 -1
  178. package/model/imageVariations200Response.ts +1 -1
  179. package/model/imageVariationsInput.ts +1 -1
  180. package/model/imageVariationsResponse.ts +1 -1
  181. package/model/inboxAuthor.ts +1 -1
  182. package/model/inboxConversation.ts +1 -1
  183. package/model/inboxConversationAccount.ts +1 -1
  184. package/model/inboxConversationUpdate.ts +1 -1
  185. package/model/inboxMessage.ts +1 -1
  186. package/model/inboxMessageAuthor.ts +1 -1
  187. package/model/inboxReplyDraft.ts +1 -1
  188. package/model/inboxReplyDraftApprove.ts +1 -1
  189. package/model/inboxReplyDraftEdit.ts +1 -1
  190. package/model/inboxReplyDraftInput.ts +1 -1
  191. package/model/initiateChunkedUpload201Response.ts +1 -1
  192. package/model/initiateChunkedUploadRequest.ts +1 -1
  193. package/model/initiateRemoteUpload201Response.ts +1 -1
  194. package/model/initiateRemoteUpload201ResponseOneOf.ts +1 -1
  195. package/model/initiateRemoteUploadRequest.ts +1 -1
  196. package/model/learnBrandVoiceInput.ts +1 -1
  197. package/model/learnBrandVoiceResponse.ts +1 -1
  198. package/model/learnBrandVoiceResponseMeta.ts +1 -1
  199. package/model/listAccountGroups200Response.ts +1 -1
  200. package/model/listAccounts200Response.ts +1 -1
  201. package/model/listAgentProposals200Response.ts +1 -1
  202. package/model/listAgentRuns200Response.ts +1 -1
  203. package/model/listAgents200Response.ts +1 -1
  204. package/model/listApiActivity200Response.ts +1 -1
  205. package/model/listApiKeys200Response.ts +1 -1
  206. package/model/listCompetitors200Response.ts +1 -1
  207. package/model/listHashtagGroups200Response.ts +1 -1
  208. package/model/listInboxConversations200Response.ts +1 -1
  209. package/model/listInboxReplyDrafts200Response.ts +1 -1
  210. package/model/listMedia200Response.ts +1 -1
  211. package/model/listMediaFolders200Response.ts +1 -1
  212. package/model/listMentions200Response.ts +1 -1
  213. package/model/listMyWorkspaces200Response.ts +1 -1
  214. package/model/listPosts200Response.ts +1 -1
  215. package/model/listReceipts200Response.ts +1 -1
  216. package/model/listRecyclingRules200Response.ts +1 -1
  217. package/model/listRecyclingRuns200Response.ts +1 -1
  218. package/model/listReportExports200Response.ts +1 -1
  219. package/model/listResellerClients200Response.ts +1 -1
  220. package/model/listRssFeeds200Response.ts +1 -1
  221. package/model/listTags200Response.ts +1 -1
  222. package/model/listTemplates200Response.ts +1 -1
  223. package/model/listUsers200Response.ts +1 -1
  224. package/model/listWebhookSubscriptions200Response.ts +1 -1
  225. package/model/listWorkspaces200Response.ts +1 -1
  226. package/model/media.ts +1 -1
  227. package/model/mediaBase64Input.ts +1 -1
  228. package/model/mediaFolder.ts +1 -1
  229. package/model/mediaFolderInput.ts +1 -1
  230. package/model/mediaFolderRef.ts +1 -1
  231. package/model/mention.ts +1 -1
  232. package/model/mentionIdentity.ts +1 -1
  233. package/model/mentionIdentityInput.ts +1 -1
  234. package/model/mentionInput.ts +1 -1
  235. package/model/messageOnly.ts +1 -1
  236. package/model/models.ts +31 -0
  237. package/model/paginationMeta.ts +1 -1
  238. package/model/paginationMetaLinks.ts +1 -1
  239. package/model/paginationMetaMeta.ts +1 -1
  240. package/model/pollRssFeed200Response.ts +1 -1
  241. package/model/post.ts +1 -1
  242. package/model/postAnalytics.ts +1 -1
  243. package/model/postContent.ts +1 -1
  244. package/model/postInput.ts +1 -1
  245. package/model/postOptionsInstagram.ts +1 -1
  246. package/model/postOptionsTikTok.ts +1 -1
  247. package/model/postOptionsYoutube.ts +1 -1
  248. package/model/postStatus.ts +1 -1
  249. package/model/postVersion.ts +1 -1
  250. package/model/postVersionOptions.ts +1 -1
  251. package/model/postWarning.ts +1 -1
  252. package/model/postWarnings.ts +1 -1
  253. package/model/postingSchedule.ts +1 -1
  254. package/model/postingScheduleDay.ts +1 -1
  255. package/model/postingScheduleDayTimesInner.ts +1 -1
  256. package/model/postingScheduleInput.ts +1 -1
  257. package/model/postingTimeSlot.ts +1 -1
  258. package/model/postingTimes.ts +1 -1
  259. package/model/postingTimesBestInner.ts +1 -1
  260. package/model/postingTimesDayIntervalsInnerInner.ts +1 -1
  261. package/model/postingTimesDaysInner.ts +1 -1
  262. package/model/preflightResult.ts +1 -1
  263. package/model/publicWorkspace.ts +1 -1
  264. package/model/publicWorkspacePivot.ts +1 -1
  265. package/model/publishProgress.ts +1 -1
  266. package/model/queueSlots.ts +1 -1
  267. package/model/receipt.ts +1 -1
  268. package/model/receiptInput.ts +1 -1
  269. package/model/receiptUpdateInput.ts +1 -1
  270. package/model/recommendedPostingTimes.ts +1 -1
  271. package/model/reconnectLink.ts +1 -1
  272. package/model/recyclingRule.ts +1 -1
  273. package/model/recyclingRuleInput.ts +1 -1
  274. package/model/recyclingRuleSettings.ts +1 -1
  275. package/model/recyclingRuleUpdate.ts +1 -1
  276. package/model/recyclingRun.ts +1 -1
  277. package/model/removeGenericSubscription422Response.ts +1 -1
  278. package/model/removeUserFromWorkspaceRequest.ts +1 -1
  279. package/model/reportBranding.ts +1 -1
  280. package/model/reportBrandingInput.ts +1 -1
  281. package/model/reportExport.ts +1 -1
  282. package/model/reportExportInput.ts +1 -1
  283. package/model/repurposeContent200Response.ts +1 -1
  284. package/model/repurposeContent202Response.ts +1 -1
  285. package/model/repurposeContent500Response.ts +1 -1
  286. package/model/repurposeInput.ts +1 -1
  287. package/model/repurposeInputTheme.ts +1 -1
  288. package/model/repurposeResult.ts +1 -1
  289. package/model/repurposeResultMedia.ts +1 -1
  290. package/model/repurposeResultSource.ts +1 -1
  291. package/model/repurposeRun.ts +1 -1
  292. package/model/repurposeRunAccepted.ts +1 -1
  293. package/model/repurposeSlide.ts +1 -1
  294. package/model/resellerClient.ts +1 -1
  295. package/model/resellerClientInput.ts +1 -1
  296. package/model/resellerClientUsage.ts +1 -1
  297. package/model/retryPostAccountResult.ts +1 -1
  298. package/model/rssFeed.ts +1 -1
  299. package/model/rssFeedInput.ts +1 -1
  300. package/model/rssFeedUpdate.ts +1 -1
  301. package/model/runAgent202Response.ts +1 -1
  302. package/model/schedulePostRequest.ts +1 -1
  303. package/model/scheduleResult.ts +1 -1
  304. package/model/subscription.ts +1 -1
  305. package/model/subscriptionInput.ts +1 -1
  306. package/model/subscriptionStatus.ts +1 -1
  307. package/model/subscriptionUpdateInput.ts +1 -1
  308. package/model/tag.ts +1 -1
  309. package/model/tagInput.ts +1 -1
  310. package/model/template.ts +1 -1
  311. package/model/templateContentItem.ts +1 -1
  312. package/model/templateInput.ts +1 -1
  313. package/model/templateInputContentInner.ts +1 -1
  314. package/model/updateMediaRequest.ts +1 -1
  315. package/model/updatePost200Response.ts +1 -1
  316. package/model/uploadChunk201Response.ts +1 -1
  317. package/model/user.ts +1 -1
  318. package/model/userInput.ts +1 -1
  319. package/model/userUpdateInput.ts +1 -1
  320. package/model/webhookEventName.ts +1 -1
  321. package/model/webhookEventPayload.ts +1 -1
  322. package/model/webhookSubscription.ts +1 -1
  323. package/model/webhookSubscriptionInput.ts +1 -1
  324. package/model/workspace.ts +1 -1
  325. package/model/workspaceAgent.ts +1 -1
  326. package/model/workspaceAgentInput.ts +1 -1
  327. package/model/workspaceAgentSettings.ts +1 -1
  328. package/model/workspaceAgentUpdate.ts +1 -1
  329. package/model/workspaceInput.ts +1 -1
  330. package/model/workspaceUserInput.ts +1 -1
  331. package/model/xUsage.ts +1 -1
  332. package/model/xUsageCounter.ts +1 -1
  333. package/package.json +1 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@ npm install postboost
13
13
  | **npm** | [npmjs.com/package/postboost](https://www.npmjs.com/package/postboost) |
14
14
  | **GitHub** | [postboost-co/postboost-node](https://github.com/postboost-co/postboost-node) |
15
15
  | **Docs** | [postboost.co/docs/api](https://postboost.co/docs/api) |
16
- | **Version** | v1.29.1 |
16
+ | **Version** | v1.30.0 |
17
17
 
18
18
  ## Quick start
19
19
 
package/api/aIApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/agentsApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,6 +17,8 @@ import http from 'http';
17
17
  /* tslint:disable:no-unused-locals */
18
18
  import { FreeToolBuildUtmUrlRequest } from '../model/freeToolBuildUtmUrlRequest';
19
19
  import { FreeToolBuildUtmUrlResponse } from '../model/freeToolBuildUtmUrlResponse';
20
+ import { FreeToolCalculateCropRequest } from '../model/freeToolCalculateCropRequest';
21
+ import { FreeToolCalculateCropResponse } from '../model/freeToolCalculateCropResponse';
20
22
  import { FreeToolCalculateEngagementRateRequest } from '../model/freeToolCalculateEngagementRateRequest';
21
23
  import { FreeToolCalculateEngagementRateResponse } from '../model/freeToolCalculateEngagementRateResponse';
22
24
  import { FreeToolCheckPostRequest } from '../model/freeToolCheckPostRequest';
@@ -34,6 +36,8 @@ import { FreeToolGenerateFancyTextRequest } from '../model/freeToolGenerateFancy
34
36
  import { FreeToolGenerateFancyTextResponse } from '../model/freeToolGenerateFancyTextResponse';
35
37
  import { FreeToolGenerateHashtagsRequest } from '../model/freeToolGenerateHashtagsRequest';
36
38
  import { FreeToolGenerateHashtagsResponse } from '../model/freeToolGenerateHashtagsResponse';
39
+ import { FreeToolGetBestTimesToPostResponse } from '../model/freeToolGetBestTimesToPostResponse';
40
+ import { FreeToolGetImageSizesResponse } from '../model/freeToolGetImageSizesResponse';
37
41
  import { FreeToolList } from '../model/freeToolList';
38
42
  import { FreeToolSplitThreadRequest } from '../model/freeToolSplitThreadRequest';
39
43
  import { FreeToolSplitThreadResponse } from '../model/freeToolSplitThreadResponse';
@@ -182,6 +186,75 @@ export class FreeToolsApi {
182
186
  });
183
187
  });
184
188
  }
189
+ /**
190
+ * Calculate the crop box that fits an image to a social media size. The same logic as the free web tool at https://postboost.co/tools/social-media-image-sizes. No account needed: call it without a token, or with any API token.
191
+ * @summary Calculate the crop box that fits an image to a social media size
192
+ * @param freeToolCalculateCropRequest
193
+ */
194
+ public async calculateCrop (freeToolCalculateCropRequest: FreeToolCalculateCropRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FreeToolCalculateCropResponse; }> {
195
+ const localVarPath = this.basePath + '/tools/social-media-image-sizes/crop';
196
+ let localVarQueryParameters: any = {};
197
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
198
+ const produces = ['application/json'];
199
+ // give precedence to 'application/json'
200
+ if (produces.indexOf('application/json') >= 0) {
201
+ localVarHeaderParams.Accept = 'application/json';
202
+ } else {
203
+ localVarHeaderParams.Accept = produces.join(',');
204
+ }
205
+ let localVarFormParams: any = {};
206
+
207
+ // verify required parameter 'freeToolCalculateCropRequest' is not null or undefined
208
+ if (freeToolCalculateCropRequest === null || freeToolCalculateCropRequest === undefined) {
209
+ throw new Error('Required parameter freeToolCalculateCropRequest was null or undefined when calling calculateCrop.');
210
+ }
211
+
212
+ (<any>Object).assign(localVarHeaderParams, options.headers);
213
+
214
+ let localVarUseFormData = false;
215
+
216
+ let localVarRequestOptions: localVarRequest.Options = {
217
+ method: 'POST',
218
+ qs: localVarQueryParameters,
219
+ headers: localVarHeaderParams,
220
+ uri: localVarPath,
221
+ useQuerystring: this._useQuerystring,
222
+ json: true,
223
+ body: ObjectSerializer.serialize(freeToolCalculateCropRequest, "FreeToolCalculateCropRequest")
224
+ };
225
+
226
+ let authenticationPromise = Promise.resolve();
227
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
228
+
229
+ let interceptorPromise = authenticationPromise;
230
+ for (const interceptor of this.interceptors) {
231
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
232
+ }
233
+
234
+ return interceptorPromise.then(() => {
235
+ if (Object.keys(localVarFormParams).length) {
236
+ if (localVarUseFormData) {
237
+ (<any>localVarRequestOptions).formData = localVarFormParams;
238
+ } else {
239
+ localVarRequestOptions.form = localVarFormParams;
240
+ }
241
+ }
242
+ return new Promise<{ response: http.IncomingMessage; body: FreeToolCalculateCropResponse; }>((resolve, reject) => {
243
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
244
+ if (error) {
245
+ reject(error);
246
+ } else {
247
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
248
+ body = ObjectSerializer.deserialize(body, "FreeToolCalculateCropResponse");
249
+ resolve({ response: response, body: body });
250
+ } else {
251
+ reject(new HttpError(response, body, response.statusCode));
252
+ }
253
+ }
254
+ });
255
+ });
256
+ });
257
+ }
185
258
  /**
186
259
  * Calculate an engagement rate. The same logic as the free web tool at https://postboost.co/tools/engagement-rate-calculator. No account needed: call it without a token, or with any API token.
187
260
  * @summary Calculate an engagement rate
@@ -740,6 +813,140 @@ export class FreeToolsApi {
740
813
  });
741
814
  });
742
815
  }
816
+ /**
817
+ * Get the best times to post per network from published studies, with sources. The same logic as the free web tool at https://postboost.co/tools/best-time-to-post. No account needed: call it without a token, or with any API token.
818
+ * @summary Get the best times to post per network from published studies, with sources
819
+ * @param network
820
+ */
821
+ public async getBestTimesToPost (network?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FreeToolGetBestTimesToPostResponse; }> {
822
+ const localVarPath = this.basePath + '/tools/best-time-to-post';
823
+ let localVarQueryParameters: any = {};
824
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
825
+ const produces = ['application/json'];
826
+ // give precedence to 'application/json'
827
+ if (produces.indexOf('application/json') >= 0) {
828
+ localVarHeaderParams.Accept = 'application/json';
829
+ } else {
830
+ localVarHeaderParams.Accept = produces.join(',');
831
+ }
832
+ let localVarFormParams: any = {};
833
+
834
+ if (network !== undefined) {
835
+ localVarQueryParameters['network'] = ObjectSerializer.serialize(network, "string");
836
+ }
837
+
838
+ (<any>Object).assign(localVarHeaderParams, options.headers);
839
+
840
+ let localVarUseFormData = false;
841
+
842
+ let localVarRequestOptions: localVarRequest.Options = {
843
+ method: 'GET',
844
+ qs: localVarQueryParameters,
845
+ headers: localVarHeaderParams,
846
+ uri: localVarPath,
847
+ useQuerystring: this._useQuerystring,
848
+ json: true,
849
+ };
850
+
851
+ let authenticationPromise = Promise.resolve();
852
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
853
+
854
+ let interceptorPromise = authenticationPromise;
855
+ for (const interceptor of this.interceptors) {
856
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
857
+ }
858
+
859
+ return interceptorPromise.then(() => {
860
+ if (Object.keys(localVarFormParams).length) {
861
+ if (localVarUseFormData) {
862
+ (<any>localVarRequestOptions).formData = localVarFormParams;
863
+ } else {
864
+ localVarRequestOptions.form = localVarFormParams;
865
+ }
866
+ }
867
+ return new Promise<{ response: http.IncomingMessage; body: FreeToolGetBestTimesToPostResponse; }>((resolve, reject) => {
868
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
869
+ if (error) {
870
+ reject(error);
871
+ } else {
872
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
873
+ body = ObjectSerializer.deserialize(body, "FreeToolGetBestTimesToPostResponse");
874
+ resolve({ response: response, body: body });
875
+ } else {
876
+ reject(new HttpError(response, body, response.statusCode));
877
+ }
878
+ }
879
+ });
880
+ });
881
+ });
882
+ }
883
+ /**
884
+ * Get social media image sizes per network, each with its source. The same logic as the free web tool at https://postboost.co/tools/social-media-image-sizes. No account needed: call it without a token, or with any API token.
885
+ * @summary Get social media image sizes per network, each with its source
886
+ * @param network
887
+ */
888
+ public async getImageSizes (network?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: FreeToolGetImageSizesResponse; }> {
889
+ const localVarPath = this.basePath + '/tools/social-media-image-sizes';
890
+ let localVarQueryParameters: any = {};
891
+ let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
892
+ const produces = ['application/json'];
893
+ // give precedence to 'application/json'
894
+ if (produces.indexOf('application/json') >= 0) {
895
+ localVarHeaderParams.Accept = 'application/json';
896
+ } else {
897
+ localVarHeaderParams.Accept = produces.join(',');
898
+ }
899
+ let localVarFormParams: any = {};
900
+
901
+ if (network !== undefined) {
902
+ localVarQueryParameters['network'] = ObjectSerializer.serialize(network, "string");
903
+ }
904
+
905
+ (<any>Object).assign(localVarHeaderParams, options.headers);
906
+
907
+ let localVarUseFormData = false;
908
+
909
+ let localVarRequestOptions: localVarRequest.Options = {
910
+ method: 'GET',
911
+ qs: localVarQueryParameters,
912
+ headers: localVarHeaderParams,
913
+ uri: localVarPath,
914
+ useQuerystring: this._useQuerystring,
915
+ json: true,
916
+ };
917
+
918
+ let authenticationPromise = Promise.resolve();
919
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
920
+
921
+ let interceptorPromise = authenticationPromise;
922
+ for (const interceptor of this.interceptors) {
923
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
924
+ }
925
+
926
+ return interceptorPromise.then(() => {
927
+ if (Object.keys(localVarFormParams).length) {
928
+ if (localVarUseFormData) {
929
+ (<any>localVarRequestOptions).formData = localVarFormParams;
930
+ } else {
931
+ localVarRequestOptions.form = localVarFormParams;
932
+ }
933
+ }
934
+ return new Promise<{ response: http.IncomingMessage; body: FreeToolGetImageSizesResponse; }>((resolve, reject) => {
935
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
936
+ if (error) {
937
+ reject(error);
938
+ } else {
939
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
940
+ body = ObjectSerializer.deserialize(body, "FreeToolGetImageSizesResponse");
941
+ resolve({ response: response, body: body });
942
+ } else {
943
+ reject(new HttpError(response, body, response.statusCode));
944
+ }
945
+ }
946
+ });
947
+ });
948
+ });
949
+ }
743
950
  /**
744
951
  * Every free tool the API serves, with its operationId and web page. No token needed.
745
952
  * @summary List the free tools
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/inboxApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/mediaApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/postsApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/tagsApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/usersApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/model/aIUsage.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/model/account.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace\'s plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request\'s `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account\'s daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
4
4
  *
5
- * The version of the OpenAPI document: 1.29.1
5
+ * The version of the OpenAPI document: 1.30.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).