postboost 1.6.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +1 -1
  2. package/api/aIApi.ts +2 -2
  3. package/api/accountsApi.ts +24 -4
  4. package/api/analyticsApi.ts +553 -0
  5. package/api/apis.ts +5 -1
  6. package/api/mediaApi.ts +381 -10
  7. package/api/mentionsApi.ts +507 -0
  8. package/api/postsApi.ts +182 -9
  9. package/api/receiptsApi.ts +2 -2
  10. package/api/subscriptionsApi.ts +10 -5
  11. package/api/tagsApi.ts +2 -2
  12. package/api/usersApi.ts +2 -2
  13. package/api/workspacesApi.ts +142 -3
  14. package/model/aICredits.ts +52 -0
  15. package/model/account.ts +35 -2
  16. package/model/accountAnalytics.ts +73 -0
  17. package/model/accountAnalyticsInitialSync.ts +37 -0
  18. package/model/accountSchedule.ts +49 -0
  19. package/model/addGenericSubscriptionRequest.ts +2 -2
  20. package/model/addPostToQueueRequest.ts +34 -0
  21. package/model/analyticsPeriod.ts +52 -0
  22. package/model/analyticsSummary.ts +39 -0
  23. package/model/analyticsSummaryData.ts +100 -0
  24. package/model/approvePostRequest.ts +62 -0
  25. package/model/bestPostingTimes.ts +41 -0
  26. package/model/bestPostingTimesTimesInner.ts +49 -0
  27. package/model/blogToSocial200Response.ts +2 -2
  28. package/model/blogToSocial429Response.ts +2 -2
  29. package/model/blogToSocialCaption.ts +2 -2
  30. package/model/blogToSocialInput.ts +2 -2
  31. package/model/blogToSocialMedia.ts +2 -2
  32. package/model/blogToSocialResponse.ts +2 -2
  33. package/model/cancelSubscription422Response.ts +38 -0
  34. package/model/cancelSubscription422ResponseErrors.ts +31 -0
  35. package/model/cancelSubscriptionRequest.ts +34 -0
  36. package/model/changeSubscriptionPlanRequest.ts +2 -2
  37. package/model/checkoutSubscription200Response.ts +2 -2
  38. package/model/checkoutSubscriptionRequest.ts +2 -2
  39. package/model/completeChunkedUploadRequest.ts +40 -0
  40. package/model/createMediaFolderRequest.ts +43 -0
  41. package/model/createMention201Response.ts +32 -0
  42. package/model/deleteMediaBulkRequest.ts +6 -5
  43. package/model/deleteMediaBulkRequestItemsInner.ts +26 -0
  44. package/model/deleteMediaFolderRequest.ts +31 -0
  45. package/model/deleteMode.ts +2 -2
  46. package/model/deletePostRequest.ts +2 -2
  47. package/model/deletePostsBulkRequest.ts +2 -2
  48. package/model/deleteReceiptsBulkRequest.ts +2 -2
  49. package/model/deleteResult.ts +2 -2
  50. package/model/deleteUser400Response.ts +2 -2
  51. package/model/deleteUsersBulkRequest.ts +2 -2
  52. package/model/deleteWorkspacesBulkRequest.ts +2 -2
  53. package/model/getRemoteUploadStatus200Response.ts +2 -2
  54. package/model/imageAltText200Response.ts +2 -2
  55. package/model/imageAltTextInput.ts +2 -2
  56. package/model/imageAltTextResponse.ts +2 -2
  57. package/model/imageEditInput.ts +2 -2
  58. package/model/imageGenerate200Response.ts +2 -2
  59. package/model/imageGenerate429Response.ts +2 -2
  60. package/model/imageGenerateInput.ts +2 -2
  61. package/model/imageGenerationResponse.ts +5 -5
  62. package/model/imagePrompt200Response.ts +2 -2
  63. package/model/imagePrompt429Response.ts +2 -2
  64. package/model/imagePromptInput.ts +2 -2
  65. package/model/imagePromptResponse.ts +2 -2
  66. package/model/imageVariations200Response.ts +2 -2
  67. package/model/imageVariationsInput.ts +2 -2
  68. package/model/imageVariationsResponse.ts +5 -5
  69. package/model/initiateChunkedUpload201Response.ts +2 -2
  70. package/model/initiateChunkedUploadRequest.ts +2 -2
  71. package/model/initiateRemoteUpload201Response.ts +60 -2
  72. package/model/initiateRemoteUpload201ResponseOneOf.ts +2 -2
  73. package/model/initiateRemoteUploadRequest.ts +11 -2
  74. package/model/listAccounts200Response.ts +2 -2
  75. package/model/listMedia200Response.ts +2 -2
  76. package/model/listMediaFolders200Response.ts +32 -0
  77. package/model/listMentions200Response.ts +46 -0
  78. package/model/listMyWorkspaces200Response.ts +32 -0
  79. package/model/listPosts200Response.ts +2 -2
  80. package/model/listReceipts200Response.ts +2 -2
  81. package/model/listTags200Response.ts +2 -2
  82. package/model/listUsers200Response.ts +2 -2
  83. package/model/listWorkspaces200Response.ts +2 -2
  84. package/model/media.ts +60 -2
  85. package/model/mediaFolder.ts +55 -0
  86. package/model/mediaFolderInput.ts +43 -0
  87. package/model/{generatedImageItem.ts → mediaFolderRef.ts} +10 -16
  88. package/model/mention.ts +65 -0
  89. package/model/mentionIdentity.ts +55 -0
  90. package/model/mentionIdentityInput.ts +67 -0
  91. package/model/mentionInput.ts +44 -0
  92. package/model/models.ts +125 -3
  93. package/model/paginationMeta.ts +2 -2
  94. package/model/paginationMetaLinks.ts +2 -2
  95. package/model/paginationMetaMeta.ts +2 -2
  96. package/model/post.ts +12 -2
  97. package/model/postAnalytics.ts +46 -0
  98. package/model/postContent.ts +2 -2
  99. package/model/postInput.ts +15 -2
  100. package/model/postStatus.ts +9 -3
  101. package/model/postVersion.ts +11 -2
  102. package/model/postingTimeSlot.ts +51 -0
  103. package/model/postingTimes.ts +88 -0
  104. package/model/postingTimesBestInner.ts +49 -0
  105. package/model/postingTimesDayIntervalsInnerInner.ts +69 -0
  106. package/model/postingTimesDaysInner.ts +57 -0
  107. package/model/publicWorkspace.ts +50 -0
  108. package/model/publicWorkspacePivot.ts +53 -0
  109. package/model/publishProgress.ts +46 -0
  110. package/model/receipt.ts +2 -2
  111. package/model/receiptInput.ts +2 -2
  112. package/model/receiptUpdateInput.ts +2 -2
  113. package/model/removeGenericSubscription422Response.ts +31 -0
  114. package/model/removeUserFromWorkspaceRequest.ts +2 -2
  115. package/model/retryPostAccountResult.ts +47 -0
  116. package/model/schedulePostRequest.ts +39 -2
  117. package/model/scheduleResult.ts +11 -2
  118. package/model/subscription.ts +2 -2
  119. package/model/subscriptionInput.ts +2 -2
  120. package/model/subscriptionStatus.ts +2 -2
  121. package/model/subscriptionUpdateInput.ts +2 -2
  122. package/model/tag.ts +2 -2
  123. package/model/tagInput.ts +2 -2
  124. package/model/updateMediaRequest.ts +18 -3
  125. package/model/uploadChunk201Response.ts +2 -2
  126. package/model/user.ts +11 -2
  127. package/model/userInput.ts +2 -2
  128. package/model/userUpdateInput.ts +2 -2
  129. package/model/workspace.ts +17 -3
  130. package/model/workspaceInput.ts +8 -3
  131. package/model/workspaceUserInput.ts +2 -2
  132. package/package.json +1 -1
package/model/models.ts CHANGED
@@ -1,17 +1,36 @@
1
1
  import localVarRequest from 'request';
2
2
 
3
+ export * from './aICredits';
3
4
  export * from './account';
5
+ export * from './accountAnalytics';
6
+ export * from './accountAnalyticsInitialSync';
7
+ export * from './accountSchedule';
4
8
  export * from './addGenericSubscriptionRequest';
9
+ export * from './addPostToQueueRequest';
10
+ export * from './analyticsPeriod';
11
+ export * from './analyticsSummary';
12
+ export * from './analyticsSummaryData';
13
+ export * from './approvePostRequest';
14
+ export * from './bestPostingTimes';
15
+ export * from './bestPostingTimesTimesInner';
5
16
  export * from './blogToSocial200Response';
6
17
  export * from './blogToSocial429Response';
7
18
  export * from './blogToSocialCaption';
8
19
  export * from './blogToSocialInput';
9
20
  export * from './blogToSocialMedia';
10
21
  export * from './blogToSocialResponse';
22
+ export * from './cancelSubscription422Response';
23
+ export * from './cancelSubscription422ResponseErrors';
24
+ export * from './cancelSubscriptionRequest';
11
25
  export * from './changeSubscriptionPlanRequest';
12
26
  export * from './checkoutSubscription200Response';
13
27
  export * from './checkoutSubscriptionRequest';
28
+ export * from './completeChunkedUploadRequest';
29
+ export * from './createMediaFolderRequest';
30
+ export * from './createMention201Response';
14
31
  export * from './deleteMediaBulkRequest';
32
+ export * from './deleteMediaBulkRequestItemsInner';
33
+ export * from './deleteMediaFolderRequest';
15
34
  export * from './deleteMode';
16
35
  export * from './deletePostRequest';
17
36
  export * from './deletePostsBulkRequest';
@@ -20,7 +39,6 @@ export * from './deleteResult';
20
39
  export * from './deleteUser400Response';
21
40
  export * from './deleteUsersBulkRequest';
22
41
  export * from './deleteWorkspacesBulkRequest';
23
- export * from './generatedImageItem';
24
42
  export * from './getRemoteUploadStatus200Response';
25
43
  export * from './imageAltText200Response';
26
44
  export * from './imageAltTextInput';
@@ -44,24 +62,45 @@ export * from './initiateRemoteUpload201ResponseOneOf';
44
62
  export * from './initiateRemoteUploadRequest';
45
63
  export * from './listAccounts200Response';
46
64
  export * from './listMedia200Response';
65
+ export * from './listMediaFolders200Response';
66
+ export * from './listMentions200Response';
67
+ export * from './listMyWorkspaces200Response';
47
68
  export * from './listPosts200Response';
48
69
  export * from './listReceipts200Response';
49
70
  export * from './listTags200Response';
50
71
  export * from './listUsers200Response';
51
72
  export * from './listWorkspaces200Response';
52
73
  export * from './media';
74
+ export * from './mediaFolder';
75
+ export * from './mediaFolderInput';
76
+ export * from './mediaFolderRef';
77
+ export * from './mention';
78
+ export * from './mentionIdentity';
79
+ export * from './mentionIdentityInput';
80
+ export * from './mentionInput';
53
81
  export * from './paginationMeta';
54
82
  export * from './paginationMetaLinks';
55
83
  export * from './paginationMetaMeta';
56
84
  export * from './post';
85
+ export * from './postAnalytics';
57
86
  export * from './postContent';
58
87
  export * from './postInput';
59
88
  export * from './postStatus';
60
89
  export * from './postVersion';
90
+ export * from './postingTimeSlot';
91
+ export * from './postingTimes';
92
+ export * from './postingTimesBestInner';
93
+ export * from './postingTimesDayIntervalsInnerInner';
94
+ export * from './postingTimesDaysInner';
95
+ export * from './publicWorkspace';
96
+ export * from './publicWorkspacePivot';
97
+ export * from './publishProgress';
61
98
  export * from './receipt';
62
99
  export * from './receiptInput';
63
100
  export * from './receiptUpdateInput';
101
+ export * from './removeGenericSubscription422Response';
64
102
  export * from './removeUserFromWorkspaceRequest';
103
+ export * from './retryPostAccountResult';
65
104
  export * from './schedulePostRequest';
66
105
  export * from './scheduleResult';
67
106
  export * from './subscription';
@@ -92,18 +131,37 @@ export interface RequestDetailedFile {
92
131
  export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
93
132
 
94
133
 
134
+ import { AICredits } from './aICredits';
95
135
  import { Account } from './account';
136
+ import { AccountAnalytics } from './accountAnalytics';
137
+ import { AccountAnalyticsInitialSync } from './accountAnalyticsInitialSync';
138
+ import { AccountSchedule } from './accountSchedule';
96
139
  import { AddGenericSubscriptionRequest } from './addGenericSubscriptionRequest';
140
+ import { AddPostToQueueRequest } from './addPostToQueueRequest';
141
+ import { AnalyticsPeriod } from './analyticsPeriod';
142
+ import { AnalyticsSummary } from './analyticsSummary';
143
+ import { AnalyticsSummaryData } from './analyticsSummaryData';
144
+ import { ApprovePostRequest } from './approvePostRequest';
145
+ import { BestPostingTimes } from './bestPostingTimes';
146
+ import { BestPostingTimesTimesInner } from './bestPostingTimesTimesInner';
97
147
  import { BlogToSocial200Response } from './blogToSocial200Response';
98
148
  import { BlogToSocial429Response } from './blogToSocial429Response';
99
149
  import { BlogToSocialCaption } from './blogToSocialCaption';
100
150
  import { BlogToSocialInput } from './blogToSocialInput';
101
151
  import { BlogToSocialMedia } from './blogToSocialMedia';
102
152
  import { BlogToSocialResponse } from './blogToSocialResponse';
153
+ import { CancelSubscription422Response } from './cancelSubscription422Response';
154
+ import { CancelSubscription422ResponseErrors } from './cancelSubscription422ResponseErrors';
155
+ import { CancelSubscriptionRequest } from './cancelSubscriptionRequest';
103
156
  import { ChangeSubscriptionPlanRequest } from './changeSubscriptionPlanRequest';
104
157
  import { CheckoutSubscription200Response } from './checkoutSubscription200Response';
105
158
  import { CheckoutSubscriptionRequest } from './checkoutSubscriptionRequest';
159
+ import { CompleteChunkedUploadRequest } from './completeChunkedUploadRequest';
160
+ import { CreateMediaFolderRequest } from './createMediaFolderRequest';
161
+ import { CreateMention201Response } from './createMention201Response';
106
162
  import { DeleteMediaBulkRequest } from './deleteMediaBulkRequest';
163
+ import { DeleteMediaBulkRequestItemsInner } from './deleteMediaBulkRequestItemsInner';
164
+ import { DeleteMediaFolderRequest } from './deleteMediaFolderRequest';
107
165
  import { DeleteMode } from './deleteMode';
108
166
  import { DeletePostRequest } from './deletePostRequest';
109
167
  import { DeletePostsBulkRequest } from './deletePostsBulkRequest';
@@ -112,7 +170,6 @@ import { DeleteResult } from './deleteResult';
112
170
  import { DeleteUser400Response } from './deleteUser400Response';
113
171
  import { DeleteUsersBulkRequest } from './deleteUsersBulkRequest';
114
172
  import { DeleteWorkspacesBulkRequest } from './deleteWorkspacesBulkRequest';
115
- import { GeneratedImageItem } from './generatedImageItem';
116
173
  import { GetRemoteUploadStatus200Response } from './getRemoteUploadStatus200Response';
117
174
  import { ImageAltText200Response } from './imageAltText200Response';
118
175
  import { ImageAltTextInput } from './imageAltTextInput';
@@ -136,24 +193,45 @@ import { InitiateRemoteUpload201ResponseOneOf } from './initiateRemoteUpload201R
136
193
  import { InitiateRemoteUploadRequest } from './initiateRemoteUploadRequest';
137
194
  import { ListAccounts200Response } from './listAccounts200Response';
138
195
  import { ListMedia200Response } from './listMedia200Response';
196
+ import { ListMediaFolders200Response } from './listMediaFolders200Response';
197
+ import { ListMentions200Response } from './listMentions200Response';
198
+ import { ListMyWorkspaces200Response } from './listMyWorkspaces200Response';
139
199
  import { ListPosts200Response } from './listPosts200Response';
140
200
  import { ListReceipts200Response } from './listReceipts200Response';
141
201
  import { ListTags200Response } from './listTags200Response';
142
202
  import { ListUsers200Response } from './listUsers200Response';
143
203
  import { ListWorkspaces200Response } from './listWorkspaces200Response';
144
204
  import { Media } from './media';
205
+ import { MediaFolder } from './mediaFolder';
206
+ import { MediaFolderInput } from './mediaFolderInput';
207
+ import { MediaFolderRef } from './mediaFolderRef';
208
+ import { Mention } from './mention';
209
+ import { MentionIdentity } from './mentionIdentity';
210
+ import { MentionIdentityInput } from './mentionIdentityInput';
211
+ import { MentionInput } from './mentionInput';
145
212
  import { PaginationMeta } from './paginationMeta';
146
213
  import { PaginationMetaLinks } from './paginationMetaLinks';
147
214
  import { PaginationMetaMeta } from './paginationMetaMeta';
148
215
  import { Post } from './post';
216
+ import { PostAnalytics } from './postAnalytics';
149
217
  import { PostContent } from './postContent';
150
218
  import { PostInput } from './postInput';
151
219
  import { PostStatus } from './postStatus';
152
220
  import { PostVersion } from './postVersion';
221
+ import { PostingTimeSlot } from './postingTimeSlot';
222
+ import { PostingTimes } from './postingTimes';
223
+ import { PostingTimesBestInner } from './postingTimesBestInner';
224
+ import { PostingTimesDayIntervalsInnerInner } from './postingTimesDayIntervalsInnerInner';
225
+ import { PostingTimesDaysInner } from './postingTimesDaysInner';
226
+ import { PublicWorkspace } from './publicWorkspace';
227
+ import { PublicWorkspacePivot } from './publicWorkspacePivot';
228
+ import { PublishProgress } from './publishProgress';
153
229
  import { Receipt } from './receipt';
154
230
  import { ReceiptInput } from './receiptInput';
155
231
  import { ReceiptUpdateInput } from './receiptUpdateInput';
232
+ import { RemoveGenericSubscription422Response } from './removeGenericSubscription422Response';
156
233
  import { RemoveUserFromWorkspaceRequest } from './removeUserFromWorkspaceRequest';
234
+ import { RetryPostAccountResult } from './retryPostAccountResult';
157
235
  import { SchedulePostRequest } from './schedulePostRequest';
158
236
  import { ScheduleResult } from './scheduleResult';
159
237
  import { Subscription } from './subscription';
@@ -185,6 +263,7 @@ let primitives = [
185
263
 
186
264
  let enumsMap: {[index: string]: any} = {
187
265
  "Account.ProviderEnum": Account.ProviderEnum,
266
+ "Account.PublishStatusEnum": Account.PublishStatusEnum,
188
267
  "BlogToSocialInput.PlatformsEnum": BlogToSocialInput.PlatformsEnum,
189
268
  "BlogToSocialInput.ToneEnum": BlogToSocialInput.ToneEnum,
190
269
  "BlogToSocialInput.ContentLengthEnum": BlogToSocialInput.ContentLengthEnum,
@@ -205,6 +284,10 @@ let enumsMap: {[index: string]: any} = {
205
284
  "InitiateRemoteUpload201Response.TypeEnum": InitiateRemoteUpload201Response.TypeEnum,
206
285
  "Media.TypeEnum": Media.TypeEnum,
207
286
  "PostStatus": PostStatus,
287
+ "PostingTimeSlot.ConfidenceEnum": PostingTimeSlot.ConfidenceEnum,
288
+ "PostingTimesDayIntervalsInnerInner.ConfidenceEnum": PostingTimesDayIntervalsInnerInner.ConfidenceEnum,
289
+ "PostingTimesDaysInner.ConfidenceEnum": PostingTimesDaysInner.ConfidenceEnum,
290
+ "PublicWorkspacePivot.RoleEnum": PublicWorkspacePivot.RoleEnum,
208
291
  "SubscriptionStatus": SubscriptionStatus,
209
292
  "Workspace.AccessStatusEnum": Workspace.AccessStatusEnum,
210
293
  "WorkspaceInput.AccessStatusEnum": WorkspaceInput.AccessStatusEnum,
@@ -212,18 +295,37 @@ let enumsMap: {[index: string]: any} = {
212
295
  }
213
296
 
214
297
  let typeMap: {[index: string]: any} = {
298
+ "AICredits": AICredits,
215
299
  "Account": Account,
300
+ "AccountAnalytics": AccountAnalytics,
301
+ "AccountAnalyticsInitialSync": AccountAnalyticsInitialSync,
302
+ "AccountSchedule": AccountSchedule,
216
303
  "AddGenericSubscriptionRequest": AddGenericSubscriptionRequest,
304
+ "AddPostToQueueRequest": AddPostToQueueRequest,
305
+ "AnalyticsPeriod": AnalyticsPeriod,
306
+ "AnalyticsSummary": AnalyticsSummary,
307
+ "AnalyticsSummaryData": AnalyticsSummaryData,
308
+ "ApprovePostRequest": ApprovePostRequest,
309
+ "BestPostingTimes": BestPostingTimes,
310
+ "BestPostingTimesTimesInner": BestPostingTimesTimesInner,
217
311
  "BlogToSocial200Response": BlogToSocial200Response,
218
312
  "BlogToSocial429Response": BlogToSocial429Response,
219
313
  "BlogToSocialCaption": BlogToSocialCaption,
220
314
  "BlogToSocialInput": BlogToSocialInput,
221
315
  "BlogToSocialMedia": BlogToSocialMedia,
222
316
  "BlogToSocialResponse": BlogToSocialResponse,
317
+ "CancelSubscription422Response": CancelSubscription422Response,
318
+ "CancelSubscription422ResponseErrors": CancelSubscription422ResponseErrors,
319
+ "CancelSubscriptionRequest": CancelSubscriptionRequest,
223
320
  "ChangeSubscriptionPlanRequest": ChangeSubscriptionPlanRequest,
224
321
  "CheckoutSubscription200Response": CheckoutSubscription200Response,
225
322
  "CheckoutSubscriptionRequest": CheckoutSubscriptionRequest,
323
+ "CompleteChunkedUploadRequest": CompleteChunkedUploadRequest,
324
+ "CreateMediaFolderRequest": CreateMediaFolderRequest,
325
+ "CreateMention201Response": CreateMention201Response,
226
326
  "DeleteMediaBulkRequest": DeleteMediaBulkRequest,
327
+ "DeleteMediaBulkRequestItemsInner": DeleteMediaBulkRequestItemsInner,
328
+ "DeleteMediaFolderRequest": DeleteMediaFolderRequest,
227
329
  "DeletePostRequest": DeletePostRequest,
228
330
  "DeletePostsBulkRequest": DeletePostsBulkRequest,
229
331
  "DeleteReceiptsBulkRequest": DeleteReceiptsBulkRequest,
@@ -231,7 +333,6 @@ let typeMap: {[index: string]: any} = {
231
333
  "DeleteUser400Response": DeleteUser400Response,
232
334
  "DeleteUsersBulkRequest": DeleteUsersBulkRequest,
233
335
  "DeleteWorkspacesBulkRequest": DeleteWorkspacesBulkRequest,
234
- "GeneratedImageItem": GeneratedImageItem,
235
336
  "GetRemoteUploadStatus200Response": GetRemoteUploadStatus200Response,
236
337
  "ImageAltText200Response": ImageAltText200Response,
237
338
  "ImageAltTextInput": ImageAltTextInput,
@@ -255,23 +356,44 @@ let typeMap: {[index: string]: any} = {
255
356
  "InitiateRemoteUploadRequest": InitiateRemoteUploadRequest,
256
357
  "ListAccounts200Response": ListAccounts200Response,
257
358
  "ListMedia200Response": ListMedia200Response,
359
+ "ListMediaFolders200Response": ListMediaFolders200Response,
360
+ "ListMentions200Response": ListMentions200Response,
361
+ "ListMyWorkspaces200Response": ListMyWorkspaces200Response,
258
362
  "ListPosts200Response": ListPosts200Response,
259
363
  "ListReceipts200Response": ListReceipts200Response,
260
364
  "ListTags200Response": ListTags200Response,
261
365
  "ListUsers200Response": ListUsers200Response,
262
366
  "ListWorkspaces200Response": ListWorkspaces200Response,
263
367
  "Media": Media,
368
+ "MediaFolder": MediaFolder,
369
+ "MediaFolderInput": MediaFolderInput,
370
+ "MediaFolderRef": MediaFolderRef,
371
+ "Mention": Mention,
372
+ "MentionIdentity": MentionIdentity,
373
+ "MentionIdentityInput": MentionIdentityInput,
374
+ "MentionInput": MentionInput,
264
375
  "PaginationMeta": PaginationMeta,
265
376
  "PaginationMetaLinks": PaginationMetaLinks,
266
377
  "PaginationMetaMeta": PaginationMetaMeta,
267
378
  "Post": Post,
379
+ "PostAnalytics": PostAnalytics,
268
380
  "PostContent": PostContent,
269
381
  "PostInput": PostInput,
270
382
  "PostVersion": PostVersion,
383
+ "PostingTimeSlot": PostingTimeSlot,
384
+ "PostingTimes": PostingTimes,
385
+ "PostingTimesBestInner": PostingTimesBestInner,
386
+ "PostingTimesDayIntervalsInnerInner": PostingTimesDayIntervalsInnerInner,
387
+ "PostingTimesDaysInner": PostingTimesDaysInner,
388
+ "PublicWorkspace": PublicWorkspace,
389
+ "PublicWorkspacePivot": PublicWorkspacePivot,
390
+ "PublishProgress": PublishProgress,
271
391
  "Receipt": Receipt,
272
392
  "ReceiptInput": ReceiptInput,
273
393
  "ReceiptUpdateInput": ReceiptUpdateInput,
394
+ "RemoveGenericSubscription422Response": RemoveGenericSubscription422Response,
274
395
  "RemoveUserFromWorkspaceRequest": RemoveUserFromWorkspaceRequest,
396
+ "RetryPostAccountResult": RetryPostAccountResult,
275
397
  "SchedulePostRequest": SchedulePostRequest,
276
398
  "ScheduleResult": ScheduleResult,
277
399
  "Subscription": Subscription,
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/model/post.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,12 +14,17 @@ import { RequestFile } from './models';
14
14
  import { Account } from './account';
15
15
  import { PostStatus } from './postStatus';
16
16
  import { PostVersion } from './postVersion';
17
+ import { PublishProgress } from './publishProgress';
17
18
  import { Tag } from './tag';
18
19
 
19
20
  export class Post {
20
21
  'id': number;
21
22
  'uuid': string;
22
23
  'status': PostStatus;
24
+ /**
25
+ * Only present while the post is publishing.
26
+ */
27
+ 'publishProgress'?: PublishProgress;
23
28
  'accounts': Array<Account>;
24
29
  'versions': Array<PostVersion>;
25
30
  'tags': Array<Tag>;
@@ -46,6 +51,11 @@ export class Post {
46
51
  "baseName": "status",
47
52
  "type": "PostStatus"
48
53
  },
54
+ {
55
+ "name": "publishProgress",
56
+ "baseName": "publish_progress",
57
+ "type": "PublishProgress"
58
+ },
49
59
  {
50
60
  "name": "accounts",
51
61
  "baseName": "accounts",
@@ -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. ## 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.8.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 PostAnalytics {
16
+ /**
17
+ * Totals (views, likes, comments, shares), trends, engagement rate, breakdown, funnel and peak day across the post\'s accounts. Empty when nothing is published yet.
18
+ */
19
+ 'summary': { [key: string]: any; };
20
+ 'winner'?: any | null;
21
+ 'accounts': Array<{ [key: string]: any; }>;
22
+
23
+ static discriminator: string | undefined = undefined;
24
+
25
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
26
+ {
27
+ "name": "summary",
28
+ "baseName": "summary",
29
+ "type": "{ [key: string]: any; }"
30
+ },
31
+ {
32
+ "name": "winner",
33
+ "baseName": "winner",
34
+ "type": "any"
35
+ },
36
+ {
37
+ "name": "accounts",
38
+ "baseName": "accounts",
39
+ "type": "Array<{ [key: string]: any; }>"
40
+ } ];
41
+
42
+ static getAttributeTypeMap() {
43
+ return PostAnalytics.attributeTypeMap;
44
+ }
45
+ }
46
+
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
 
13
13
  import { RequestFile } from './models';
14
+ import { AccountSchedule } from './accountSchedule';
14
15
  import { PostVersion } from './postVersion';
15
16
 
16
17
  export class PostInput {
@@ -28,8 +29,15 @@ export class PostInput {
28
29
  'tags'?: Array<number>;
29
30
  'date'?: string;
30
31
  'time'?: string;
32
+ /**
33
+ * Timezone `date`, `time` and `accounts_schedule` are read in. Defaults to the workspace timezone.
34
+ */
31
35
  'timezone'?: string;
32
36
  /**
37
+ * Per-account departure times. When omitted on update, accounts keep their offsets from the post time.
38
+ */
39
+ 'accountsSchedule'?: Array<AccountSchedule>;
40
+ /**
33
41
  * Schedule the post for the given date/time.
34
42
  */
35
43
  'schedule'?: boolean;
@@ -75,6 +83,11 @@ export class PostInput {
75
83
  "baseName": "timezone",
76
84
  "type": "string"
77
85
  },
86
+ {
87
+ "name": "accountsSchedule",
88
+ "baseName": "accounts_schedule",
89
+ "type": "Array<AccountSchedule>"
90
+ },
78
91
  {
79
92
  "name": "schedule",
80
93
  "baseName": "schedule",
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,8 +12,14 @@
12
12
 
13
13
  import { RequestFile } from './models';
14
14
 
15
+ /**
16
+ * `publishing` is reported while the post is being sent to the networks.
17
+ */
15
18
  export enum PostStatus {
16
19
  Draft = <any> 'draft',
17
20
  Scheduled = <any> 'scheduled',
18
- Published = <any> 'published'
21
+ Published = <any> 'published',
22
+ Failed = <any> 'failed',
23
+ NeedsApproval = <any> 'needs_approval',
24
+ Publishing = <any> 'publishing'
19
25
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
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 ```
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. ## 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.0.0
5
+ * The version of the OpenAPI document: 1.8.0
6
6
  * Contact: hi@postboost.co
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export class PostVersion {
22
22
  * Must be `true` for the first version.
23
23
  */
24
24
  'isOriginal': boolean;
25
+ /**
26
+ * Account ID of the version this version follows (`0` = the original), or null when it is edited independently. Ignored on the original version.
27
+ */
28
+ 'syncedWith'?: number;
25
29
  'content': Array<PostContent>;
26
30
  /**
27
31
  * Platform-specific publishing options.
@@ -41,6 +45,11 @@ export class PostVersion {
41
45
  "baseName": "is_original",
42
46
  "type": "boolean"
43
47
  },
48
+ {
49
+ "name": "syncedWith",
50
+ "baseName": "synced_with",
51
+ "type": "number"
52
+ },
44
53
  {
45
54
  "name": "content",
46
55
  "baseName": "content",
@@ -0,0 +1,51 @@
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. ## 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.8.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 PostingTimeSlot {
16
+ 'score': number;
17
+ 'samples': number;
18
+ 'confidence': PostingTimeSlot.ConfidenceEnum;
19
+
20
+ static discriminator: string | undefined = undefined;
21
+
22
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
+ {
24
+ "name": "score",
25
+ "baseName": "score",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "samples",
30
+ "baseName": "samples",
31
+ "type": "number"
32
+ },
33
+ {
34
+ "name": "confidence",
35
+ "baseName": "confidence",
36
+ "type": "PostingTimeSlot.ConfidenceEnum"
37
+ } ];
38
+
39
+ static getAttributeTypeMap() {
40
+ return PostingTimeSlot.attributeTypeMap;
41
+ }
42
+ }
43
+
44
+ export namespace PostingTimeSlot {
45
+ export enum ConfidenceEnum {
46
+ None = <any> 'none',
47
+ Low = <any> 'low',
48
+ Medium = <any> 'medium',
49
+ High = <any> 'high'
50
+ }
51
+ }