postboost 1.21.0 → 1.22.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 (309) 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/apis.ts +3 -1
  9. package/api/competitorsApi.ts +1 -1
  10. package/api/freeToolsApi.ts +584 -0
  11. package/api/hashtagGroupsApi.ts +1 -1
  12. package/api/inboxApi.ts +1 -1
  13. package/api/mediaApi.ts +1 -1
  14. package/api/mentionsApi.ts +1 -1
  15. package/api/postingScheduleApi.ts +1 -1
  16. package/api/postsApi.ts +1 -1
  17. package/api/receiptsApi.ts +1 -1
  18. package/api/subscriptionsApi.ts +1 -1
  19. package/api/tagsApi.ts +1 -1
  20. package/api/templatesApi.ts +1 -1
  21. package/api/usersApi.ts +1 -1
  22. package/api/webhooksApi.ts +1 -1
  23. package/api/workspacesApi.ts +1 -1
  24. package/model/aICredits.ts +1 -1
  25. package/model/aIUsage.ts +1 -1
  26. package/model/aIUsageText.ts +1 -1
  27. package/model/account.ts +1 -1
  28. package/model/accountAnalytics.ts +1 -1
  29. package/model/accountAnalyticsInitialSync.ts +1 -1
  30. package/model/accountConnectionHealth.ts +1 -1
  31. package/model/accountErrorsInner.ts +1 -1
  32. package/model/accountErrorsInnerOneOf.ts +1 -1
  33. package/model/accountGroup.ts +1 -1
  34. package/model/accountGroupInput.ts +1 -1
  35. package/model/accountHealth.ts +1 -1
  36. package/model/accountHealthDailyCap.ts +1 -1
  37. package/model/accountSchedule.ts +1 -1
  38. package/model/addCompetitor202Response.ts +1 -1
  39. package/model/addCompetitor409Response.ts +1 -1
  40. package/model/addGenericSubscriptionRequest.ts +1 -1
  41. package/model/addPostToQueueRequest.ts +1 -1
  42. package/model/agentPageMeta.ts +1 -1
  43. package/model/agentProposal.ts +1 -1
  44. package/model/agentProposalDecision.ts +1 -1
  45. package/model/agentRun.ts +1 -1
  46. package/model/analyticsPeriod.ts +1 -1
  47. package/model/analyticsSummary.ts +1 -1
  48. package/model/analyticsSummaryData.ts +1 -1
  49. package/model/apiActivity.ts +1 -1
  50. package/model/apiActivityOutcome.ts +1 -1
  51. package/model/apiKey.ts +1 -1
  52. package/model/apiKeyAbility.ts +1 -1
  53. package/model/apiKeyInput.ts +1 -1
  54. package/model/approveAgentProposal200Response.ts +1 -1
  55. package/model/approveAgentProposal409Response.ts +1 -1
  56. package/model/approveInboxReplyDraft403Response.ts +1 -1
  57. package/model/approvePostRequest.ts +1 -1
  58. package/model/bestPostingTimes.ts +1 -1
  59. package/model/bestPostingTimesTimesInner.ts +1 -1
  60. package/model/blogToSocial200Response.ts +1 -1
  61. package/model/blogToSocial429Response.ts +1 -1
  62. package/model/blogToSocialCaption.ts +1 -1
  63. package/model/blogToSocialInput.ts +1 -1
  64. package/model/blogToSocialMedia.ts +1 -1
  65. package/model/blogToSocialResponse.ts +1 -1
  66. package/model/brandVoice.ts +1 -1
  67. package/model/brandVoiceInput.ts +1 -1
  68. package/model/brandVoiceMeta.ts +1 -1
  69. package/model/cancelSubscription422Response.ts +1 -1
  70. package/model/cancelSubscription422ResponseErrors.ts +1 -1
  71. package/model/cancelSubscriptionRequest.ts +1 -1
  72. package/model/changeSubscriptionPlanRequest.ts +1 -1
  73. package/model/channelAccount.ts +1 -1
  74. package/model/checkoutSubscription200Response.ts +1 -1
  75. package/model/checkoutSubscriptionRequest.ts +1 -1
  76. package/model/codedError.ts +1 -1
  77. package/model/competitor.ts +1 -1
  78. package/model/competitorDetail.ts +1 -1
  79. package/model/competitorInput.ts +1 -1
  80. package/model/competitorMedia.ts +1 -1
  81. package/model/competitorSnapshot.ts +1 -1
  82. package/model/completeChunkedUploadRequest.ts +1 -1
  83. package/model/connectChannelInput.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/createHashtagGroup201Response.ts +1 -1
  89. package/model/createInboxReplyDraft201Response.ts +1 -1
  90. package/model/createMediaFolderRequest.ts +1 -1
  91. package/model/createMention201Response.ts +1 -1
  92. package/model/createPost201Response.ts +1 -1
  93. package/model/createRecyclingRule201Response.ts +1 -1
  94. package/model/createReportExport201Response.ts +1 -1
  95. package/model/createResellerClient201Response.ts +1 -1
  96. package/model/createRssFeed201Response.ts +1 -1
  97. package/model/createTemplate201Response.ts +1 -1
  98. package/model/createWebhookSubscription201Response.ts +1 -1
  99. package/model/createWebhookSubscription201ResponseData.ts +1 -1
  100. package/model/deleteAgent200Response.ts +1 -1
  101. package/model/deleteMediaBulkRequest.ts +1 -1
  102. package/model/deleteMediaBulkRequestItemsInner.ts +1 -1
  103. package/model/deleteMediaFolderRequest.ts +1 -1
  104. package/model/deleteMode.ts +1 -1
  105. package/model/deletePostRequest.ts +1 -1
  106. package/model/deletePostsBulkRequest.ts +1 -1
  107. package/model/deleteReceiptsBulkRequest.ts +1 -1
  108. package/model/deleteResult.ts +1 -1
  109. package/model/deleteUser400Response.ts +1 -1
  110. package/model/deleteUsersBulkRequest.ts +1 -1
  111. package/model/deleteWorkspacesBulkRequest.ts +1 -1
  112. package/model/freeToolBuildUtmUrlRequest.ts +70 -0
  113. package/model/freeToolBuildUtmUrlResponse.ts +40 -0
  114. package/model/freeToolCalculateEngagementRateRequest.ts +89 -0
  115. package/model/freeToolCalculateEngagementRateResponse.ts +52 -0
  116. package/model/freeToolCountCharactersRequest.ts +59 -0
  117. package/model/freeToolCountCharactersResponse.ts +41 -0
  118. package/model/freeToolCountCharactersResponseNetworksInner.ts +61 -0
  119. package/model/freeToolError.ts +31 -0
  120. package/model/freeToolFormatLinkedInPostRequest.ts +72 -0
  121. package/model/freeToolFormatLinkedInPostResponse.ts +58 -0
  122. package/model/freeToolGenerateFancyTextRequest.ts +59 -0
  123. package/model/freeToolGenerateFancyTextResponse.ts +32 -0
  124. package/model/freeToolGenerateFancyTextResponseStylesInner.ts +46 -0
  125. package/model/freeToolList.ts +32 -0
  126. package/model/freeToolListItem.ts +78 -0
  127. package/model/freeToolSplitThreadRequest.ts +57 -0
  128. package/model/freeToolSplitThreadResponse.ts +38 -0
  129. package/model/freeToolSplitThreadResponsePostsInner.ts +40 -0
  130. package/model/getAccountHealth200Response.ts +1 -1
  131. package/model/getBrandVoice200Response.ts +1 -1
  132. package/model/getCompetitor200Response.ts +1 -1
  133. package/model/getInboxConversation200Response.ts +1 -1
  134. package/model/getPostingSchedule200Response.ts +1 -1
  135. package/model/getRemoteUploadStatus200Response.ts +1 -1
  136. package/model/getReportBranding200Response.ts +1 -1
  137. package/model/getRepurposeRun200Response.ts +1 -1
  138. package/model/guardrailError.ts +1 -1
  139. package/model/hashtagGroup.ts +1 -1
  140. package/model/hashtagGroupInput.ts +1 -1
  141. package/model/imageAltText200Response.ts +1 -1
  142. package/model/imageAltTextInput.ts +1 -1
  143. package/model/imageAltTextResponse.ts +1 -1
  144. package/model/imageCreditBalance.ts +1 -1
  145. package/model/imageEditInput.ts +1 -1
  146. package/model/imageGenerate200Response.ts +1 -1
  147. package/model/imageGenerate429Response.ts +1 -1
  148. package/model/imageGenerateInput.ts +1 -1
  149. package/model/imageGenerationResponse.ts +1 -1
  150. package/model/imagePrompt200Response.ts +1 -1
  151. package/model/imagePrompt429Response.ts +1 -1
  152. package/model/imagePromptInput.ts +1 -1
  153. package/model/imagePromptResponse.ts +1 -1
  154. package/model/imageVariations200Response.ts +1 -1
  155. package/model/imageVariationsInput.ts +1 -1
  156. package/model/imageVariationsResponse.ts +1 -1
  157. package/model/inboxAuthor.ts +1 -1
  158. package/model/inboxConversation.ts +1 -1
  159. package/model/inboxConversationAccount.ts +1 -1
  160. package/model/inboxConversationUpdate.ts +1 -1
  161. package/model/inboxMessage.ts +1 -1
  162. package/model/inboxMessageAuthor.ts +1 -1
  163. package/model/inboxReplyDraft.ts +1 -1
  164. package/model/inboxReplyDraftApprove.ts +1 -1
  165. package/model/inboxReplyDraftEdit.ts +1 -1
  166. package/model/inboxReplyDraftInput.ts +1 -1
  167. package/model/initiateChunkedUpload201Response.ts +1 -1
  168. package/model/initiateChunkedUploadRequest.ts +1 -1
  169. package/model/initiateRemoteUpload201Response.ts +1 -1
  170. package/model/initiateRemoteUpload201ResponseOneOf.ts +1 -1
  171. package/model/initiateRemoteUploadRequest.ts +1 -1
  172. package/model/learnBrandVoiceInput.ts +1 -1
  173. package/model/learnBrandVoiceResponse.ts +1 -1
  174. package/model/learnBrandVoiceResponseMeta.ts +1 -1
  175. package/model/listAccountGroups200Response.ts +1 -1
  176. package/model/listAccounts200Response.ts +1 -1
  177. package/model/listAgentProposals200Response.ts +1 -1
  178. package/model/listAgentRuns200Response.ts +1 -1
  179. package/model/listAgents200Response.ts +1 -1
  180. package/model/listApiActivity200Response.ts +1 -1
  181. package/model/listApiKeys200Response.ts +1 -1
  182. package/model/listCompetitors200Response.ts +1 -1
  183. package/model/listHashtagGroups200Response.ts +1 -1
  184. package/model/listInboxConversations200Response.ts +1 -1
  185. package/model/listInboxReplyDrafts200Response.ts +1 -1
  186. package/model/listMedia200Response.ts +1 -1
  187. package/model/listMediaFolders200Response.ts +1 -1
  188. package/model/listMentions200Response.ts +1 -1
  189. package/model/listMyWorkspaces200Response.ts +1 -1
  190. package/model/listPosts200Response.ts +1 -1
  191. package/model/listReceipts200Response.ts +1 -1
  192. package/model/listRecyclingRules200Response.ts +1 -1
  193. package/model/listRecyclingRuns200Response.ts +1 -1
  194. package/model/listReportExports200Response.ts +1 -1
  195. package/model/listResellerClients200Response.ts +1 -1
  196. package/model/listRssFeeds200Response.ts +1 -1
  197. package/model/listTags200Response.ts +1 -1
  198. package/model/listTemplates200Response.ts +1 -1
  199. package/model/listUsers200Response.ts +1 -1
  200. package/model/listWebhookSubscriptions200Response.ts +1 -1
  201. package/model/listWorkspaces200Response.ts +1 -1
  202. package/model/media.ts +1 -1
  203. package/model/mediaBase64Input.ts +1 -1
  204. package/model/mediaFolder.ts +1 -1
  205. package/model/mediaFolderInput.ts +1 -1
  206. package/model/mediaFolderRef.ts +1 -1
  207. package/model/mention.ts +1 -1
  208. package/model/mentionIdentity.ts +1 -1
  209. package/model/mentionIdentityInput.ts +1 -1
  210. package/model/mentionInput.ts +1 -1
  211. package/model/messageOnly.ts +1 -1
  212. package/model/models.ts +61 -0
  213. package/model/paginationMeta.ts +1 -1
  214. package/model/paginationMetaLinks.ts +1 -1
  215. package/model/paginationMetaMeta.ts +1 -1
  216. package/model/pollRssFeed200Response.ts +1 -1
  217. package/model/post.ts +1 -1
  218. package/model/postAnalytics.ts +1 -1
  219. package/model/postContent.ts +1 -1
  220. package/model/postInput.ts +1 -1
  221. package/model/postOptionsInstagram.ts +1 -1
  222. package/model/postOptionsTikTok.ts +1 -1
  223. package/model/postOptionsYoutube.ts +1 -1
  224. package/model/postStatus.ts +1 -1
  225. package/model/postVersion.ts +1 -1
  226. package/model/postVersionOptions.ts +1 -1
  227. package/model/postWarning.ts +1 -1
  228. package/model/postWarnings.ts +1 -1
  229. package/model/postingSchedule.ts +1 -1
  230. package/model/postingScheduleDay.ts +1 -1
  231. package/model/postingScheduleDayTimesInner.ts +1 -1
  232. package/model/postingScheduleInput.ts +1 -1
  233. package/model/postingTimeSlot.ts +1 -1
  234. package/model/postingTimes.ts +1 -1
  235. package/model/postingTimesBestInner.ts +1 -1
  236. package/model/postingTimesDayIntervalsInnerInner.ts +1 -1
  237. package/model/postingTimesDaysInner.ts +1 -1
  238. package/model/preflightResult.ts +1 -1
  239. package/model/publicWorkspace.ts +1 -1
  240. package/model/publicWorkspacePivot.ts +1 -1
  241. package/model/publishProgress.ts +1 -1
  242. package/model/queueSlots.ts +1 -1
  243. package/model/receipt.ts +1 -1
  244. package/model/receiptInput.ts +1 -1
  245. package/model/receiptUpdateInput.ts +1 -1
  246. package/model/recommendedPostingTimes.ts +1 -1
  247. package/model/reconnectLink.ts +1 -1
  248. package/model/recyclingRule.ts +1 -1
  249. package/model/recyclingRuleInput.ts +1 -1
  250. package/model/recyclingRuleSettings.ts +1 -1
  251. package/model/recyclingRuleUpdate.ts +1 -1
  252. package/model/recyclingRun.ts +1 -1
  253. package/model/removeGenericSubscription422Response.ts +1 -1
  254. package/model/removeUserFromWorkspaceRequest.ts +1 -1
  255. package/model/reportBranding.ts +1 -1
  256. package/model/reportBrandingInput.ts +1 -1
  257. package/model/reportExport.ts +1 -1
  258. package/model/reportExportInput.ts +1 -1
  259. package/model/repurposeContent200Response.ts +1 -1
  260. package/model/repurposeContent202Response.ts +1 -1
  261. package/model/repurposeContent500Response.ts +1 -1
  262. package/model/repurposeInput.ts +1 -1
  263. package/model/repurposeInputTheme.ts +1 -1
  264. package/model/repurposeResult.ts +1 -1
  265. package/model/repurposeResultMedia.ts +1 -1
  266. package/model/repurposeResultSource.ts +1 -1
  267. package/model/repurposeRun.ts +1 -1
  268. package/model/repurposeRunAccepted.ts +1 -1
  269. package/model/repurposeSlide.ts +1 -1
  270. package/model/resellerClient.ts +1 -1
  271. package/model/resellerClientInput.ts +1 -1
  272. package/model/resellerClientUsage.ts +1 -1
  273. package/model/retryPostAccountResult.ts +1 -1
  274. package/model/rssFeed.ts +1 -1
  275. package/model/rssFeedInput.ts +1 -1
  276. package/model/rssFeedUpdate.ts +1 -1
  277. package/model/runAgent202Response.ts +1 -1
  278. package/model/schedulePostRequest.ts +1 -1
  279. package/model/scheduleResult.ts +1 -1
  280. package/model/subscription.ts +1 -1
  281. package/model/subscriptionInput.ts +1 -1
  282. package/model/subscriptionStatus.ts +1 -1
  283. package/model/subscriptionUpdateInput.ts +1 -1
  284. package/model/tag.ts +1 -1
  285. package/model/tagInput.ts +1 -1
  286. package/model/template.ts +1 -1
  287. package/model/templateContentItem.ts +1 -1
  288. package/model/templateInput.ts +1 -1
  289. package/model/templateInputContentInner.ts +1 -1
  290. package/model/updateMediaRequest.ts +1 -1
  291. package/model/updatePost200Response.ts +1 -1
  292. package/model/uploadChunk201Response.ts +1 -1
  293. package/model/user.ts +1 -1
  294. package/model/userInput.ts +1 -1
  295. package/model/userUpdateInput.ts +1 -1
  296. package/model/webhookEventName.ts +1 -1
  297. package/model/webhookEventPayload.ts +1 -1
  298. package/model/webhookSubscription.ts +1 -1
  299. package/model/webhookSubscriptionInput.ts +1 -1
  300. package/model/workspace.ts +1 -1
  301. package/model/workspaceAgent.ts +1 -1
  302. package/model/workspaceAgentInput.ts +1 -1
  303. package/model/workspaceAgentSettings.ts +1 -1
  304. package/model/workspaceAgentUpdate.ts +1 -1
  305. package/model/workspaceInput.ts +1 -1
  306. package/model/workspaceUserInput.ts +1 -1
  307. package/model/xUsage.ts +1 -1
  308. package/model/xUsageCounter.ts +1 -1
  309. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolFormatLinkedInPostRequest {
16
+ 'text': string;
17
+ /**
18
+ * Unicode style for the whole text, e.g. bold.
19
+ */
20
+ 'style'?: FreeToolFormatLinkedInPostRequest.StyleEnum;
21
+ /**
22
+ * Prefix every non-empty line with \"• \" or \"1. \", \"2. \" (plain digits).
23
+ */
24
+ 'list'?: FreeToolFormatLinkedInPostRequest.ListEnum;
25
+
26
+ static discriminator: string | undefined = undefined;
27
+
28
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
29
+ {
30
+ "name": "text",
31
+ "baseName": "text",
32
+ "type": "string"
33
+ },
34
+ {
35
+ "name": "style",
36
+ "baseName": "style",
37
+ "type": "FreeToolFormatLinkedInPostRequest.StyleEnum"
38
+ },
39
+ {
40
+ "name": "list",
41
+ "baseName": "list",
42
+ "type": "FreeToolFormatLinkedInPostRequest.ListEnum"
43
+ } ];
44
+
45
+ static getAttributeTypeMap() {
46
+ return FreeToolFormatLinkedInPostRequest.attributeTypeMap;
47
+ }
48
+ }
49
+
50
+ export namespace FreeToolFormatLinkedInPostRequest {
51
+ export enum StyleEnum {
52
+ Bold = <any> 'bold',
53
+ Italic = <any> 'italic',
54
+ BoldItalic = <any> 'bold_italic',
55
+ SansBold = <any> 'sans_bold',
56
+ SansItalic = <any> 'sans_italic',
57
+ Script = <any> 'script',
58
+ BoldScript = <any> 'bold_script',
59
+ Fraktur = <any> 'fraktur',
60
+ DoubleStruck = <any> 'double_struck',
61
+ Monospace = <any> 'monospace',
62
+ SmallCaps = <any> 'small_caps',
63
+ Circled = <any> 'circled',
64
+ Squared = <any> 'squared',
65
+ UpsideDown = <any> 'upside_down',
66
+ Strikethrough = <any> 'strikethrough'
67
+ }
68
+ export enum ListEnum {
69
+ Bullet = <any> 'bullet',
70
+ Numbered = <any> 'numbered'
71
+ }
72
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolFormatLinkedInPostResponse {
16
+ 'text'?: string;
17
+ 'count'?: number;
18
+ 'limit'?: number;
19
+ /**
20
+ * What the feed shows before \"…see more\" (about 3 lines or 210 characters; varies by device).
21
+ */
22
+ 'preview'?: string;
23
+ 'folded'?: boolean;
24
+
25
+ static discriminator: string | undefined = undefined;
26
+
27
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28
+ {
29
+ "name": "text",
30
+ "baseName": "text",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "count",
35
+ "baseName": "count",
36
+ "type": "number"
37
+ },
38
+ {
39
+ "name": "limit",
40
+ "baseName": "limit",
41
+ "type": "number"
42
+ },
43
+ {
44
+ "name": "preview",
45
+ "baseName": "preview",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "name": "folded",
50
+ "baseName": "folded",
51
+ "type": "boolean"
52
+ } ];
53
+
54
+ static getAttributeTypeMap() {
55
+ return FreeToolFormatLinkedInPostResponse.attributeTypeMap;
56
+ }
57
+ }
58
+
@@ -0,0 +1,59 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateFancyTextRequest {
16
+ 'text': string;
17
+ /**
18
+ * One style only; every style when omitted.
19
+ */
20
+ 'style'?: FreeToolGenerateFancyTextRequest.StyleEnum;
21
+
22
+ static discriminator: string | undefined = undefined;
23
+
24
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
+ {
26
+ "name": "text",
27
+ "baseName": "text",
28
+ "type": "string"
29
+ },
30
+ {
31
+ "name": "style",
32
+ "baseName": "style",
33
+ "type": "FreeToolGenerateFancyTextRequest.StyleEnum"
34
+ } ];
35
+
36
+ static getAttributeTypeMap() {
37
+ return FreeToolGenerateFancyTextRequest.attributeTypeMap;
38
+ }
39
+ }
40
+
41
+ export namespace FreeToolGenerateFancyTextRequest {
42
+ export enum StyleEnum {
43
+ Bold = <any> 'bold',
44
+ Italic = <any> 'italic',
45
+ BoldItalic = <any> 'bold_italic',
46
+ SansBold = <any> 'sans_bold',
47
+ SansItalic = <any> 'sans_italic',
48
+ Script = <any> 'script',
49
+ BoldScript = <any> 'bold_script',
50
+ Fraktur = <any> 'fraktur',
51
+ DoubleStruck = <any> 'double_struck',
52
+ Monospace = <any> 'monospace',
53
+ SmallCaps = <any> 'small_caps',
54
+ Circled = <any> 'circled',
55
+ Squared = <any> 'squared',
56
+ UpsideDown = <any> 'upside_down',
57
+ Strikethrough = <any> 'strikethrough'
58
+ }
59
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+ import { FreeToolGenerateFancyTextResponseStylesInner } from './freeToolGenerateFancyTextResponseStylesInner';
15
+
16
+ export class FreeToolGenerateFancyTextResponse {
17
+ 'styles'?: Array<FreeToolGenerateFancyTextResponseStylesInner>;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "styles",
24
+ "baseName": "styles",
25
+ "type": "Array<FreeToolGenerateFancyTextResponseStylesInner>"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return FreeToolGenerateFancyTextResponse.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,46 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolGenerateFancyTextResponseStylesInner {
16
+ 'key'?: string;
17
+ 'label'?: string;
18
+ /**
19
+ * Characters with no styled form (accents, emoji) pass through unchanged.
20
+ */
21
+ 'text'?: string;
22
+
23
+ static discriminator: string | undefined = undefined;
24
+
25
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
26
+ {
27
+ "name": "key",
28
+ "baseName": "key",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "name": "label",
33
+ "baseName": "label",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "text",
38
+ "baseName": "text",
39
+ "type": "string"
40
+ } ];
41
+
42
+ static getAttributeTypeMap() {
43
+ return FreeToolGenerateFancyTextResponseStylesInner.attributeTypeMap;
44
+ }
45
+ }
46
+
@@ -0,0 +1,32 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+ import { FreeToolListItem } from './freeToolListItem';
15
+
16
+ export class FreeToolList {
17
+ 'data': Array<FreeToolListItem>;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "data",
24
+ "baseName": "data",
25
+ "type": "Array<FreeToolListItem>"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return FreeToolList.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,78 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolListItem {
16
+ 'slug': string;
17
+ 'name': string;
18
+ 'operationId': string;
19
+ 'kind': FreeToolListItem.KindEnum;
20
+ /**
21
+ * Limit profile: std, fetch or ai.
22
+ */
23
+ 'limits': string | null;
24
+ 'pageUrl': string;
25
+ 'docsUrl': string | null;
26
+
27
+ static discriminator: string | undefined = undefined;
28
+
29
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
30
+ {
31
+ "name": "slug",
32
+ "baseName": "slug",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "name": "name",
37
+ "baseName": "name",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "name": "operationId",
42
+ "baseName": "operation_id",
43
+ "type": "string"
44
+ },
45
+ {
46
+ "name": "kind",
47
+ "baseName": "kind",
48
+ "type": "FreeToolListItem.KindEnum"
49
+ },
50
+ {
51
+ "name": "limits",
52
+ "baseName": "limits",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "name": "pageUrl",
57
+ "baseName": "page_url",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "name": "docsUrl",
62
+ "baseName": "docs_url",
63
+ "type": "string"
64
+ } ];
65
+
66
+ static getAttributeTypeMap() {
67
+ return FreeToolListItem.attributeTypeMap;
68
+ }
69
+ }
70
+
71
+ export namespace FreeToolListItem {
72
+ export enum KindEnum {
73
+ Client = <any> 'client',
74
+ Data = <any> 'data',
75
+ Server = <any> 'server',
76
+ PaidAi = <any> 'paid_ai'
77
+ }
78
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolSplitThreadRequest {
16
+ /**
17
+ * The long text, up to 10,000 characters. A line with only --- forces a new post.
18
+ */
19
+ 'text'?: string = '';
20
+ 'network'?: FreeToolSplitThreadRequest.NetworkEnum = FreeToolSplitThreadRequest.NetworkEnum.X;
21
+ /**
22
+ * End each post with \" k/n\".
23
+ */
24
+ 'numbering'?: boolean = false;
25
+
26
+ static discriminator: string | undefined = undefined;
27
+
28
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
29
+ {
30
+ "name": "text",
31
+ "baseName": "text",
32
+ "type": "string"
33
+ },
34
+ {
35
+ "name": "network",
36
+ "baseName": "network",
37
+ "type": "FreeToolSplitThreadRequest.NetworkEnum"
38
+ },
39
+ {
40
+ "name": "numbering",
41
+ "baseName": "numbering",
42
+ "type": "boolean"
43
+ } ];
44
+
45
+ static getAttributeTypeMap() {
46
+ return FreeToolSplitThreadRequest.attributeTypeMap;
47
+ }
48
+ }
49
+
50
+ export namespace FreeToolSplitThreadRequest {
51
+ export enum NetworkEnum {
52
+ X = <any> 'x',
53
+ Threads = <any> 'threads',
54
+ Bluesky = <any> 'bluesky',
55
+ Mastodon = <any> 'mastodon'
56
+ }
57
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+ import { FreeToolSplitThreadResponsePostsInner } from './freeToolSplitThreadResponsePostsInner';
15
+
16
+ export class FreeToolSplitThreadResponse {
17
+ 'limit'?: number;
18
+ 'posts'?: Array<FreeToolSplitThreadResponsePostsInner>;
19
+
20
+ static discriminator: string | undefined = undefined;
21
+
22
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
+ {
24
+ "name": "limit",
25
+ "baseName": "limit",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "posts",
30
+ "baseName": "posts",
31
+ "type": "Array<FreeToolSplitThreadResponsePostsInner>"
32
+ } ];
33
+
34
+ static getAttributeTypeMap() {
35
+ return FreeToolSplitThreadResponse.attributeTypeMap;
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ /**
2
+ * PostBoost API
3
+ * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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
+ *
5
+ * The version of the OpenAPI document: 1.22.0
6
+ * Contact: hi@postboost.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class FreeToolSplitThreadResponsePostsInner {
16
+ 'text'?: string;
17
+ /**
18
+ * Length as the network counts it; a single word longer than the limit stays whole.
19
+ */
20
+ 'count'?: number;
21
+
22
+ static discriminator: string | undefined = undefined;
23
+
24
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
+ {
26
+ "name": "text",
27
+ "baseName": "text",
28
+ "type": "string"
29
+ },
30
+ {
31
+ "name": "count",
32
+ "baseName": "count",
33
+ "type": "number"
34
+ } ];
35
+
36
+ static getAttributeTypeMap() {
37
+ return FreeToolSplitThreadResponsePostsInner.attributeTypeMap;
38
+ }
39
+ }
40
+
@@ -2,7 +2,7 @@
2
2
  * PostBoost API
3
3
  * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.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 across 12+ platforms 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.21.0
5
+ * The version of the OpenAPI document: 1.22.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).