postboost 1.4.0 → 1.6.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 (91) hide show
  1. package/README.md +1 -1
  2. package/api/aIApi.ts +582 -0
  3. package/api/accountsApi.ts +1 -1
  4. package/api/apis.ts +3 -1
  5. package/api/mediaApi.ts +1 -1
  6. package/api/postsApi.ts +1 -1
  7. package/api/receiptsApi.ts +1 -1
  8. package/api/subscriptionsApi.ts +1 -1
  9. package/api/tagsApi.ts +1 -1
  10. package/api/usersApi.ts +1 -1
  11. package/api/workspacesApi.ts +1 -1
  12. package/model/account.ts +1 -1
  13. package/model/addGenericSubscriptionRequest.ts +1 -1
  14. package/model/blogToSocial200Response.ts +32 -0
  15. package/model/blogToSocial429Response.ts +31 -0
  16. package/model/blogToSocialCaption.ts +79 -0
  17. package/model/blogToSocialInput.ts +196 -0
  18. package/model/blogToSocialMedia.ts +46 -0
  19. package/model/blogToSocialResponse.ts +87 -0
  20. package/model/changeSubscriptionPlanRequest.ts +1 -1
  21. package/model/checkoutSubscription200Response.ts +1 -1
  22. package/model/checkoutSubscriptionRequest.ts +1 -1
  23. package/model/deleteMediaBulkRequest.ts +1 -1
  24. package/model/deleteMode.ts +1 -1
  25. package/model/deletePostRequest.ts +1 -1
  26. package/model/deletePostsBulkRequest.ts +1 -1
  27. package/model/deleteReceiptsBulkRequest.ts +1 -1
  28. package/model/deleteResult.ts +1 -1
  29. package/model/deleteUser400Response.ts +1 -1
  30. package/model/deleteUsersBulkRequest.ts +1 -1
  31. package/model/deleteWorkspacesBulkRequest.ts +1 -1
  32. package/model/generatedImageItem.ts +43 -0
  33. package/model/getRemoteUploadStatus200Response.ts +1 -1
  34. package/model/imageAltText200Response.ts +32 -0
  35. package/model/imageAltTextInput.ts +31 -0
  36. package/model/imageAltTextResponse.ts +49 -0
  37. package/model/imageEditInput.ts +82 -0
  38. package/model/imageGenerate200Response.ts +32 -0
  39. package/model/imageGenerate429Response.ts +31 -0
  40. package/model/imageGenerateInput.ts +116 -0
  41. package/model/imageGenerationResponse.ts +68 -0
  42. package/model/imagePrompt200Response.ts +32 -0
  43. package/model/imagePrompt429Response.ts +31 -0
  44. package/model/imagePromptInput.ts +73 -0
  45. package/model/imagePromptResponse.ts +31 -0
  46. package/model/imageVariations200Response.ts +32 -0
  47. package/model/imageVariationsInput.ts +61 -0
  48. package/model/imageVariationsResponse.ts +56 -0
  49. package/model/initiateChunkedUpload201Response.ts +1 -1
  50. package/model/initiateChunkedUploadRequest.ts +1 -1
  51. package/model/initiateRemoteUpload201Response.ts +1 -1
  52. package/model/initiateRemoteUpload201ResponseOneOf.ts +1 -1
  53. package/model/initiateRemoteUploadRequest.ts +1 -1
  54. package/model/listAccounts200Response.ts +1 -1
  55. package/model/listMedia200Response.ts +1 -1
  56. package/model/listPosts200Response.ts +1 -1
  57. package/model/listReceipts200Response.ts +1 -1
  58. package/model/listTags200Response.ts +1 -1
  59. package/model/listUsers200Response.ts +1 -1
  60. package/model/listWorkspaces200Response.ts +1 -1
  61. package/model/media.ts +1 -1
  62. package/model/models.ts +79 -0
  63. package/model/paginationMeta.ts +1 -1
  64. package/model/paginationMetaLinks.ts +1 -1
  65. package/model/paginationMetaMeta.ts +1 -1
  66. package/model/post.ts +1 -1
  67. package/model/postContent.ts +1 -1
  68. package/model/postInput.ts +1 -1
  69. package/model/postStatus.ts +1 -1
  70. package/model/postVersion.ts +1 -1
  71. package/model/receipt.ts +1 -1
  72. package/model/receiptInput.ts +1 -1
  73. package/model/receiptUpdateInput.ts +1 -1
  74. package/model/removeUserFromWorkspaceRequest.ts +1 -1
  75. package/model/schedulePostRequest.ts +1 -1
  76. package/model/scheduleResult.ts +1 -1
  77. package/model/subscription.ts +1 -1
  78. package/model/subscriptionInput.ts +1 -1
  79. package/model/subscriptionStatus.ts +1 -1
  80. package/model/subscriptionUpdateInput.ts +1 -1
  81. package/model/tag.ts +1 -1
  82. package/model/tagInput.ts +1 -1
  83. package/model/updateMediaRequest.ts +1 -1
  84. package/model/uploadChunk201Response.ts +1 -1
  85. package/model/user.ts +1 -1
  86. package/model/userInput.ts +1 -1
  87. package/model/userUpdateInput.ts +1 -1
  88. package/model/workspace.ts +1 -1
  89. package/model/workspaceInput.ts +1 -1
  90. package/model/workspaceUserInput.ts +1 -1
  91. package/package.json +1 -1
package/api/usersApi.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
package/model/account.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -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`. ## 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.0.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 { BlogToSocialResponse } from './blogToSocialResponse';
15
+
16
+ export class BlogToSocial200Response {
17
+ 'data'?: BlogToSocialResponse;
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": "BlogToSocialResponse"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return BlogToSocial200Response.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,31 @@
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`. ## 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.0.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 BlogToSocial429Response {
16
+ 'message'?: string;
17
+
18
+ static discriminator: string | undefined = undefined;
19
+
20
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21
+ {
22
+ "name": "message",
23
+ "baseName": "message",
24
+ "type": "string"
25
+ } ];
26
+
27
+ static getAttributeTypeMap() {
28
+ return BlogToSocial429Response.attributeTypeMap;
29
+ }
30
+ }
31
+
@@ -0,0 +1,79 @@
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`. ## 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.0.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 BlogToSocialCaption {
16
+ /**
17
+ * ID of the social account this caption was generated for.
18
+ */
19
+ 'accountId'?: number;
20
+ /**
21
+ * Social media platform identifier.
22
+ */
23
+ 'provider'?: string;
24
+ /**
25
+ * The generated caption text. `null` if generation failed for this account.
26
+ */
27
+ 'content'?: string;
28
+ /**
29
+ * Character count of the generated content. `null` if generation failed.
30
+ */
31
+ 'characterCount'?: number;
32
+ /**
33
+ * Maximum allowed character count for this platform.
34
+ */
35
+ 'characterLimit'?: number;
36
+ /**
37
+ * Error message if caption generation failed for this account. `null` on success.
38
+ */
39
+ 'error'?: string;
40
+
41
+ static discriminator: string | undefined = undefined;
42
+
43
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
44
+ {
45
+ "name": "accountId",
46
+ "baseName": "account_id",
47
+ "type": "number"
48
+ },
49
+ {
50
+ "name": "provider",
51
+ "baseName": "provider",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "content",
56
+ "baseName": "content",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "characterCount",
61
+ "baseName": "character_count",
62
+ "type": "number"
63
+ },
64
+ {
65
+ "name": "characterLimit",
66
+ "baseName": "character_limit",
67
+ "type": "number"
68
+ },
69
+ {
70
+ "name": "error",
71
+ "baseName": "error",
72
+ "type": "string"
73
+ } ];
74
+
75
+ static getAttributeTypeMap() {
76
+ return BlogToSocialCaption.attributeTypeMap;
77
+ }
78
+ }
79
+
@@ -0,0 +1,196 @@
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`. ## 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.0.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
+ /**
16
+ * At least one of `url` or (`title` + `excerpt`) must be provided. If both are given, direct values take priority over the scraped URL content.
17
+ */
18
+ export class BlogToSocialInput {
19
+ /**
20
+ * Blog post URL to scrape. Required if `title` and `excerpt` are not provided.
21
+ */
22
+ 'url'?: string;
23
+ /**
24
+ * Blog post title. Required if `url` is not provided.
25
+ */
26
+ 'title'?: string;
27
+ /**
28
+ * Blog post summary or excerpt. Required if `url` is not provided.
29
+ */
30
+ 'excerpt'?: string;
31
+ /**
32
+ * Featured image URL for the blog post. When `create_post` is `true`, the image is imported into the workspace media library and attached to the draft post. If omitted in URL mode, the scraper attempts to extract the `og:image` meta tag.
33
+ */
34
+ 'imageUrl'?: string;
35
+ /**
36
+ * Target social media platforms. Only connected accounts matching these platforms are used. If omitted, all connected accounts in the workspace are targeted.
37
+ */
38
+ 'platforms'?: Array<BlogToSocialInput.PlatformsEnum>;
39
+ /**
40
+ * Specific account IDs to generate captions for. Takes precedence over `platforms` when both are provided.
41
+ */
42
+ 'accountIds'?: Array<number>;
43
+ /**
44
+ * Writing tone for all generated captions.
45
+ */
46
+ 'tone'?: BlogToSocialInput.ToneEnum = BlogToSocialInput.ToneEnum.Engaging;
47
+ /**
48
+ * Desired length of the generated captions.
49
+ */
50
+ 'contentLength'?: BlogToSocialInput.ContentLengthEnum = BlogToSocialInput.ContentLengthEnum.Medium;
51
+ /**
52
+ * Hashtag quantity: none (0), few (1-3), some (3-5), many (5+).
53
+ */
54
+ 'hashtags'?: BlogToSocialInput.HashtagsEnum = BlogToSocialInput.HashtagsEnum.Few;
55
+ /**
56
+ * Call-to-action type appended to each caption.
57
+ */
58
+ 'cta'?: BlogToSocialInput.CtaEnum = BlogToSocialInput.CtaEnum.None;
59
+ /**
60
+ * Output language as an ISO 639-1 code (e.g. `en`, `de`, `fr`). Use `auto` to match the blog post\'s language automatically.
61
+ */
62
+ 'language'?: string = 'auto';
63
+ /**
64
+ * Additional instructions appended to the AI prompt (e.g. \"always mention our free tier\").
65
+ */
66
+ 'customInstructions'?: string;
67
+ /**
68
+ * When `true`, creates a draft post in the workspace with per-account caption versions. If an image is available, it is imported and attached to the post.
69
+ */
70
+ 'createPost'?: boolean = false;
71
+
72
+ static discriminator: string | undefined = undefined;
73
+
74
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
75
+ {
76
+ "name": "url",
77
+ "baseName": "url",
78
+ "type": "string"
79
+ },
80
+ {
81
+ "name": "title",
82
+ "baseName": "title",
83
+ "type": "string"
84
+ },
85
+ {
86
+ "name": "excerpt",
87
+ "baseName": "excerpt",
88
+ "type": "string"
89
+ },
90
+ {
91
+ "name": "imageUrl",
92
+ "baseName": "image_url",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "platforms",
97
+ "baseName": "platforms",
98
+ "type": "Array<BlogToSocialInput.PlatformsEnum>"
99
+ },
100
+ {
101
+ "name": "accountIds",
102
+ "baseName": "account_ids",
103
+ "type": "Array<number>"
104
+ },
105
+ {
106
+ "name": "tone",
107
+ "baseName": "tone",
108
+ "type": "BlogToSocialInput.ToneEnum"
109
+ },
110
+ {
111
+ "name": "contentLength",
112
+ "baseName": "content_length",
113
+ "type": "BlogToSocialInput.ContentLengthEnum"
114
+ },
115
+ {
116
+ "name": "hashtags",
117
+ "baseName": "hashtags",
118
+ "type": "BlogToSocialInput.HashtagsEnum"
119
+ },
120
+ {
121
+ "name": "cta",
122
+ "baseName": "cta",
123
+ "type": "BlogToSocialInput.CtaEnum"
124
+ },
125
+ {
126
+ "name": "language",
127
+ "baseName": "language",
128
+ "type": "string"
129
+ },
130
+ {
131
+ "name": "customInstructions",
132
+ "baseName": "custom_instructions",
133
+ "type": "string"
134
+ },
135
+ {
136
+ "name": "createPost",
137
+ "baseName": "create_post",
138
+ "type": "boolean"
139
+ } ];
140
+
141
+ static getAttributeTypeMap() {
142
+ return BlogToSocialInput.attributeTypeMap;
143
+ }
144
+ }
145
+
146
+ export namespace BlogToSocialInput {
147
+ export enum PlatformsEnum {
148
+ Twitter = <any> 'twitter',
149
+ FacebookPage = <any> 'facebook_page',
150
+ Instagram = <any> 'instagram',
151
+ Threads = <any> 'threads',
152
+ Mastodon = <any> 'mastodon',
153
+ Youtube = <any> 'youtube',
154
+ Gbp = <any> 'gbp',
155
+ Pinterest = <any> 'pinterest',
156
+ Linkedin = <any> 'linkedin',
157
+ LinkedinPage = <any> 'linkedin_page',
158
+ Tiktok = <any> 'tiktok',
159
+ Bluesky = <any> 'bluesky'
160
+ }
161
+ export enum ToneEnum {
162
+ Neutral = <any> 'neutral',
163
+ Friendly = <any> 'friendly',
164
+ Formal = <any> 'formal',
165
+ Edgy = <any> 'edgy',
166
+ Engaging = <any> 'engaging',
167
+ Casual = <any> 'casual',
168
+ Professional = <any> 'professional',
169
+ Humorous = <any> 'humorous',
170
+ Inspirational = <any> 'inspirational',
171
+ Conversational = <any> 'conversational'
172
+ }
173
+ export enum ContentLengthEnum {
174
+ Short = <any> 'short',
175
+ Medium = <any> 'medium',
176
+ Long = <any> 'long'
177
+ }
178
+ export enum HashtagsEnum {
179
+ None = <any> 'none',
180
+ Few = <any> 'few',
181
+ Some = <any> 'some',
182
+ Many = <any> 'many'
183
+ }
184
+ export enum CtaEnum {
185
+ None = <any> 'none',
186
+ Question = <any> 'question',
187
+ Link = <any> 'link',
188
+ Subscribe = <any> 'subscribe',
189
+ Follow = <any> 'follow',
190
+ Share = <any> 'share',
191
+ LearnMore = <any> 'learn_more',
192
+ Signup = <any> 'signup',
193
+ Buy = <any> 'buy',
194
+ Download = <any> 'download'
195
+ }
196
+ }
@@ -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`. ## 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.0.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
+ /**
16
+ * The imported featured image. Only present when `create_post` was `true` and an image was available.
17
+ */
18
+ export class BlogToSocialMedia {
19
+ /**
20
+ * Media library ID of the imported image.
21
+ */
22
+ 'id'?: number;
23
+ /**
24
+ * Public URL of the imported image in the workspace media library.
25
+ */
26
+ 'url'?: string;
27
+
28
+ static discriminator: string | undefined = undefined;
29
+
30
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
31
+ {
32
+ "name": "id",
33
+ "baseName": "id",
34
+ "type": "number"
35
+ },
36
+ {
37
+ "name": "url",
38
+ "baseName": "url",
39
+ "type": "string"
40
+ } ];
41
+
42
+ static getAttributeTypeMap() {
43
+ return BlogToSocialMedia.attributeTypeMap;
44
+ }
45
+ }
46
+
@@ -0,0 +1,87 @@
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`. ## 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.0.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 { BlogToSocialCaption } from './blogToSocialCaption';
15
+ import { BlogToSocialMedia } from './blogToSocialMedia';
16
+
17
+ export class BlogToSocialResponse {
18
+ /**
19
+ * The blog post title (scraped or provided directly).
20
+ */
21
+ 'blogTitle'?: string;
22
+ /**
23
+ * A short excerpt from the blog post content.
24
+ */
25
+ 'blogExcerpt'?: string;
26
+ /**
27
+ * Generated captions, one per target account.
28
+ */
29
+ 'captions'?: Array<BlogToSocialCaption>;
30
+ /**
31
+ * UUID of the created draft post. Only present when `create_post` was `true`.
32
+ */
33
+ 'postUuid'?: string;
34
+ 'media'?: BlogToSocialMedia;
35
+ /**
36
+ * Number of AI credits consumed by this request (one per successful caption).
37
+ */
38
+ 'creditsUsed'?: number;
39
+ /**
40
+ * Remaining AI credits for the current billing period. `null` for unlimited plans.
41
+ */
42
+ 'creditsRemaining'?: number;
43
+
44
+ static discriminator: string | undefined = undefined;
45
+
46
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
47
+ {
48
+ "name": "blogTitle",
49
+ "baseName": "blog_title",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "name": "blogExcerpt",
54
+ "baseName": "blog_excerpt",
55
+ "type": "string"
56
+ },
57
+ {
58
+ "name": "captions",
59
+ "baseName": "captions",
60
+ "type": "Array<BlogToSocialCaption>"
61
+ },
62
+ {
63
+ "name": "postUuid",
64
+ "baseName": "post_uuid",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "media",
69
+ "baseName": "media",
70
+ "type": "BlogToSocialMedia"
71
+ },
72
+ {
73
+ "name": "creditsUsed",
74
+ "baseName": "credits_used",
75
+ "type": "number"
76
+ },
77
+ {
78
+ "name": "creditsRemaining",
79
+ "baseName": "credits_remaining",
80
+ "type": "number"
81
+ } ];
82
+
83
+ static getAttributeTypeMap() {
84
+ return BlogToSocialResponse.attributeTypeMap;
85
+ }
86
+ }
87
+
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PostBoost API
3
- * The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ 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`. ## 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 ```
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`. ## 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
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: hi@postboost.co