postboost 1.7.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.
- package/README.md +1 -1
- package/api/aIApi.ts +2 -2
- package/api/accountsApi.ts +24 -4
- package/api/analyticsApi.ts +553 -0
- package/api/apis.ts +5 -1
- package/api/mediaApi.ts +381 -10
- package/api/mentionsApi.ts +507 -0
- package/api/postsApi.ts +182 -9
- package/api/receiptsApi.ts +2 -2
- package/api/subscriptionsApi.ts +10 -5
- package/api/tagsApi.ts +2 -2
- package/api/usersApi.ts +2 -2
- package/api/workspacesApi.ts +142 -3
- package/model/aICredits.ts +52 -0
- package/model/account.ts +35 -2
- package/model/accountAnalytics.ts +73 -0
- package/model/accountAnalyticsInitialSync.ts +37 -0
- package/model/accountSchedule.ts +49 -0
- package/model/addGenericSubscriptionRequest.ts +2 -2
- package/model/addPostToQueueRequest.ts +34 -0
- package/model/analyticsPeriod.ts +52 -0
- package/model/analyticsSummary.ts +39 -0
- package/model/analyticsSummaryData.ts +100 -0
- package/model/approvePostRequest.ts +62 -0
- package/model/bestPostingTimes.ts +41 -0
- package/model/bestPostingTimesTimesInner.ts +49 -0
- package/model/blogToSocial200Response.ts +2 -2
- package/model/blogToSocial429Response.ts +2 -2
- package/model/blogToSocialCaption.ts +2 -2
- package/model/blogToSocialInput.ts +2 -2
- package/model/blogToSocialMedia.ts +2 -2
- package/model/blogToSocialResponse.ts +2 -2
- package/model/cancelSubscription422Response.ts +38 -0
- package/model/cancelSubscription422ResponseErrors.ts +31 -0
- package/model/cancelSubscriptionRequest.ts +34 -0
- package/model/changeSubscriptionPlanRequest.ts +2 -2
- package/model/checkoutSubscription200Response.ts +2 -2
- package/model/checkoutSubscriptionRequest.ts +2 -2
- package/model/completeChunkedUploadRequest.ts +40 -0
- package/model/createMediaFolderRequest.ts +43 -0
- package/model/createMention201Response.ts +32 -0
- package/model/deleteMediaBulkRequest.ts +6 -5
- package/model/deleteMediaBulkRequestItemsInner.ts +26 -0
- package/model/deleteMediaFolderRequest.ts +31 -0
- package/model/deleteMode.ts +2 -2
- package/model/deletePostRequest.ts +2 -2
- package/model/deletePostsBulkRequest.ts +2 -2
- package/model/deleteReceiptsBulkRequest.ts +2 -2
- package/model/deleteResult.ts +2 -2
- package/model/deleteUser400Response.ts +2 -2
- package/model/deleteUsersBulkRequest.ts +2 -2
- package/model/deleteWorkspacesBulkRequest.ts +2 -2
- package/model/getRemoteUploadStatus200Response.ts +2 -2
- package/model/imageAltText200Response.ts +2 -2
- package/model/imageAltTextInput.ts +2 -2
- package/model/imageAltTextResponse.ts +2 -2
- package/model/imageEditInput.ts +2 -2
- package/model/imageGenerate200Response.ts +2 -2
- package/model/imageGenerate429Response.ts +2 -2
- package/model/imageGenerateInput.ts +2 -2
- package/model/imageGenerationResponse.ts +2 -2
- package/model/imagePrompt200Response.ts +2 -2
- package/model/imagePrompt429Response.ts +2 -2
- package/model/imagePromptInput.ts +2 -2
- package/model/imagePromptResponse.ts +2 -2
- package/model/imageVariations200Response.ts +2 -2
- package/model/imageVariationsInput.ts +2 -2
- package/model/imageVariationsResponse.ts +2 -2
- package/model/initiateChunkedUpload201Response.ts +2 -2
- package/model/initiateChunkedUploadRequest.ts +2 -2
- package/model/initiateRemoteUpload201Response.ts +60 -2
- package/model/initiateRemoteUpload201ResponseOneOf.ts +2 -2
- package/model/initiateRemoteUploadRequest.ts +11 -2
- package/model/listAccounts200Response.ts +2 -2
- package/model/listMedia200Response.ts +2 -2
- package/model/listMediaFolders200Response.ts +32 -0
- package/model/listMentions200Response.ts +46 -0
- package/model/listMyWorkspaces200Response.ts +32 -0
- package/model/listPosts200Response.ts +2 -2
- package/model/listReceipts200Response.ts +2 -2
- package/model/listTags200Response.ts +2 -2
- package/model/listUsers200Response.ts +2 -2
- package/model/listWorkspaces200Response.ts +2 -2
- package/model/media.ts +60 -2
- package/model/mediaFolder.ts +55 -0
- package/model/mediaFolderInput.ts +43 -0
- package/model/mediaFolderRef.ts +37 -0
- package/model/mention.ts +65 -0
- package/model/mentionIdentity.ts +55 -0
- package/model/mentionIdentityInput.ts +67 -0
- package/model/mentionInput.ts +44 -0
- package/model/models.ts +125 -0
- package/model/paginationMeta.ts +2 -2
- package/model/paginationMetaLinks.ts +2 -2
- package/model/paginationMetaMeta.ts +2 -2
- package/model/post.ts +12 -2
- package/model/postAnalytics.ts +46 -0
- package/model/postContent.ts +2 -2
- package/model/postInput.ts +15 -2
- package/model/postStatus.ts +9 -3
- package/model/postVersion.ts +11 -2
- package/model/postingTimeSlot.ts +51 -0
- package/model/postingTimes.ts +88 -0
- package/model/postingTimesBestInner.ts +49 -0
- package/model/postingTimesDayIntervalsInnerInner.ts +69 -0
- package/model/postingTimesDaysInner.ts +57 -0
- package/model/publicWorkspace.ts +50 -0
- package/model/publicWorkspacePivot.ts +53 -0
- package/model/publishProgress.ts +46 -0
- package/model/receipt.ts +2 -2
- package/model/receiptInput.ts +2 -2
- package/model/receiptUpdateInput.ts +2 -2
- package/model/removeGenericSubscription422Response.ts +31 -0
- package/model/removeUserFromWorkspaceRequest.ts +2 -2
- package/model/retryPostAccountResult.ts +47 -0
- package/model/schedulePostRequest.ts +39 -2
- package/model/scheduleResult.ts +11 -2
- package/model/subscription.ts +2 -2
- package/model/subscriptionInput.ts +2 -2
- package/model/subscriptionStatus.ts +2 -2
- package/model/subscriptionUpdateInput.ts +2 -2
- package/model/tag.ts +2 -2
- package/model/tagInput.ts +2 -2
- package/model/updateMediaRequest.ts +18 -3
- package/model/uploadChunk201Response.ts +2 -2
- package/model/user.ts +11 -2
- package/model/userInput.ts +2 -2
- package/model/userUpdateInput.ts +2 -2
- package/model/workspace.ts +17 -3
- package/model/workspaceInput.ts +8 -3
- package/model/workspaceUserInput.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
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 MediaFolder {
|
|
16
|
+
'uuid': string;
|
|
17
|
+
'name': string;
|
|
18
|
+
/**
|
|
19
|
+
* UUID of the parent folder; null for a top-level folder.
|
|
20
|
+
*/
|
|
21
|
+
'parent': string;
|
|
22
|
+
/**
|
|
23
|
+
* Media filed anywhere below the folder, including its sub-folders.
|
|
24
|
+
*/
|
|
25
|
+
'mediaCount': number;
|
|
26
|
+
|
|
27
|
+
static discriminator: string | undefined = undefined;
|
|
28
|
+
|
|
29
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
30
|
+
{
|
|
31
|
+
"name": "uuid",
|
|
32
|
+
"baseName": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "name",
|
|
37
|
+
"baseName": "name",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "parent",
|
|
42
|
+
"baseName": "parent",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "mediaCount",
|
|
47
|
+
"baseName": "media_count",
|
|
48
|
+
"type": "number"
|
|
49
|
+
} ];
|
|
50
|
+
|
|
51
|
+
static getAttributeTypeMap() {
|
|
52
|
+
return MediaFolder.attributeTypeMap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 MediaFolderInput {
|
|
16
|
+
/**
|
|
17
|
+
* Folder name; must be unique among its siblings (case-insensitive).
|
|
18
|
+
*/
|
|
19
|
+
'name'?: string;
|
|
20
|
+
/**
|
|
21
|
+
* UUID of the parent folder, or null for the top level. Folders nest to a limited depth.
|
|
22
|
+
*/
|
|
23
|
+
'parent'?: string;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
28
|
+
{
|
|
29
|
+
"name": "name",
|
|
30
|
+
"baseName": "name",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "parent",
|
|
35
|
+
"baseName": "parent",
|
|
36
|
+
"type": "string"
|
|
37
|
+
} ];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return MediaFolderInput.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 MediaFolderRef {
|
|
16
|
+
'uuid': string;
|
|
17
|
+
'name': string;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "uuid",
|
|
24
|
+
"baseName": "uuid",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "name",
|
|
29
|
+
"baseName": "name",
|
|
30
|
+
"type": "string"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return MediaFolderRef.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
package/model/mention.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import { MentionIdentity } from './mentionIdentity';
|
|
15
|
+
|
|
16
|
+
export class Mention {
|
|
17
|
+
'id': string;
|
|
18
|
+
/**
|
|
19
|
+
* Write `{{mention:<reference>}}` in a post body to mention this entry; it is resolved to each network\'s identity at publish time.
|
|
20
|
+
*/
|
|
21
|
+
'reference': number;
|
|
22
|
+
'name': string;
|
|
23
|
+
'avatar'?: string;
|
|
24
|
+
'identities'?: Array<MentionIdentity>;
|
|
25
|
+
'createdAt': Date;
|
|
26
|
+
|
|
27
|
+
static discriminator: string | undefined = undefined;
|
|
28
|
+
|
|
29
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
30
|
+
{
|
|
31
|
+
"name": "id",
|
|
32
|
+
"baseName": "id",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "reference",
|
|
37
|
+
"baseName": "reference",
|
|
38
|
+
"type": "number"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "name",
|
|
42
|
+
"baseName": "name",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "avatar",
|
|
47
|
+
"baseName": "avatar",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "identities",
|
|
52
|
+
"baseName": "identities",
|
|
53
|
+
"type": "Array<MentionIdentity>"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "createdAt",
|
|
57
|
+
"baseName": "created_at",
|
|
58
|
+
"type": "Date"
|
|
59
|
+
} ];
|
|
60
|
+
|
|
61
|
+
static getAttributeTypeMap() {
|
|
62
|
+
return Mention.attributeTypeMap;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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 MentionIdentity {
|
|
16
|
+
/**
|
|
17
|
+
* Mention provider key (network family).
|
|
18
|
+
*/
|
|
19
|
+
'provider': string;
|
|
20
|
+
/**
|
|
21
|
+
* The profile\'s network ID, when resolved. Never accepted from clients.
|
|
22
|
+
*/
|
|
23
|
+
'providerId'?: string;
|
|
24
|
+
'handle': string;
|
|
25
|
+
'label'?: string;
|
|
26
|
+
|
|
27
|
+
static discriminator: string | undefined = undefined;
|
|
28
|
+
|
|
29
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
30
|
+
{
|
|
31
|
+
"name": "provider",
|
|
32
|
+
"baseName": "provider",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "providerId",
|
|
37
|
+
"baseName": "provider_id",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "handle",
|
|
42
|
+
"baseName": "handle",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "label",
|
|
47
|
+
"baseName": "label",
|
|
48
|
+
"type": "string"
|
|
49
|
+
} ];
|
|
50
|
+
|
|
51
|
+
static getAttributeTypeMap() {
|
|
52
|
+
return MentionIdentity.attributeTypeMap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
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 MentionIdentityInput {
|
|
16
|
+
/**
|
|
17
|
+
* Mention provider key. One identity per provider.
|
|
18
|
+
*/
|
|
19
|
+
'provider': string;
|
|
20
|
+
/**
|
|
21
|
+
* Profile handle; a leading `@` is stripped.
|
|
22
|
+
*/
|
|
23
|
+
'handle': string;
|
|
24
|
+
'label'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Sealed lookup result that names the profile\'s network ID.
|
|
27
|
+
*/
|
|
28
|
+
'token'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A connected account of this workspace that names the profile. Wins over `token` when both are sent.
|
|
31
|
+
*/
|
|
32
|
+
'accountUuid'?: string;
|
|
33
|
+
|
|
34
|
+
static discriminator: string | undefined = undefined;
|
|
35
|
+
|
|
36
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
37
|
+
{
|
|
38
|
+
"name": "provider",
|
|
39
|
+
"baseName": "provider",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "handle",
|
|
44
|
+
"baseName": "handle",
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "label",
|
|
49
|
+
"baseName": "label",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "token",
|
|
54
|
+
"baseName": "token",
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "accountUuid",
|
|
59
|
+
"baseName": "account_uuid",
|
|
60
|
+
"type": "string"
|
|
61
|
+
} ];
|
|
62
|
+
|
|
63
|
+
static getAttributeTypeMap() {
|
|
64
|
+
return MentionIdentityInput.attributeTypeMap;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { MentionIdentityInput } from './mentionIdentityInput';
|
|
15
|
+
|
|
16
|
+
export class MentionInput {
|
|
17
|
+
'name': string;
|
|
18
|
+
'avatar'?: string;
|
|
19
|
+
'identities'?: Array<MentionIdentityInput>;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "name",
|
|
26
|
+
"baseName": "name",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "avatar",
|
|
31
|
+
"baseName": "avatar",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "identities",
|
|
36
|
+
"baseName": "identities",
|
|
37
|
+
"type": "Array<MentionIdentityInput>"
|
|
38
|
+
} ];
|
|
39
|
+
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return MentionInput.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
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';
|
|
@@ -43,24 +62,45 @@ export * from './initiateRemoteUpload201ResponseOneOf';
|
|
|
43
62
|
export * from './initiateRemoteUploadRequest';
|
|
44
63
|
export * from './listAccounts200Response';
|
|
45
64
|
export * from './listMedia200Response';
|
|
65
|
+
export * from './listMediaFolders200Response';
|
|
66
|
+
export * from './listMentions200Response';
|
|
67
|
+
export * from './listMyWorkspaces200Response';
|
|
46
68
|
export * from './listPosts200Response';
|
|
47
69
|
export * from './listReceipts200Response';
|
|
48
70
|
export * from './listTags200Response';
|
|
49
71
|
export * from './listUsers200Response';
|
|
50
72
|
export * from './listWorkspaces200Response';
|
|
51
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';
|
|
52
81
|
export * from './paginationMeta';
|
|
53
82
|
export * from './paginationMetaLinks';
|
|
54
83
|
export * from './paginationMetaMeta';
|
|
55
84
|
export * from './post';
|
|
85
|
+
export * from './postAnalytics';
|
|
56
86
|
export * from './postContent';
|
|
57
87
|
export * from './postInput';
|
|
58
88
|
export * from './postStatus';
|
|
59
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';
|
|
60
98
|
export * from './receipt';
|
|
61
99
|
export * from './receiptInput';
|
|
62
100
|
export * from './receiptUpdateInput';
|
|
101
|
+
export * from './removeGenericSubscription422Response';
|
|
63
102
|
export * from './removeUserFromWorkspaceRequest';
|
|
103
|
+
export * from './retryPostAccountResult';
|
|
64
104
|
export * from './schedulePostRequest';
|
|
65
105
|
export * from './scheduleResult';
|
|
66
106
|
export * from './subscription';
|
|
@@ -91,18 +131,37 @@ export interface RequestDetailedFile {
|
|
|
91
131
|
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
|
|
92
132
|
|
|
93
133
|
|
|
134
|
+
import { AICredits } from './aICredits';
|
|
94
135
|
import { Account } from './account';
|
|
136
|
+
import { AccountAnalytics } from './accountAnalytics';
|
|
137
|
+
import { AccountAnalyticsInitialSync } from './accountAnalyticsInitialSync';
|
|
138
|
+
import { AccountSchedule } from './accountSchedule';
|
|
95
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';
|
|
96
147
|
import { BlogToSocial200Response } from './blogToSocial200Response';
|
|
97
148
|
import { BlogToSocial429Response } from './blogToSocial429Response';
|
|
98
149
|
import { BlogToSocialCaption } from './blogToSocialCaption';
|
|
99
150
|
import { BlogToSocialInput } from './blogToSocialInput';
|
|
100
151
|
import { BlogToSocialMedia } from './blogToSocialMedia';
|
|
101
152
|
import { BlogToSocialResponse } from './blogToSocialResponse';
|
|
153
|
+
import { CancelSubscription422Response } from './cancelSubscription422Response';
|
|
154
|
+
import { CancelSubscription422ResponseErrors } from './cancelSubscription422ResponseErrors';
|
|
155
|
+
import { CancelSubscriptionRequest } from './cancelSubscriptionRequest';
|
|
102
156
|
import { ChangeSubscriptionPlanRequest } from './changeSubscriptionPlanRequest';
|
|
103
157
|
import { CheckoutSubscription200Response } from './checkoutSubscription200Response';
|
|
104
158
|
import { CheckoutSubscriptionRequest } from './checkoutSubscriptionRequest';
|
|
159
|
+
import { CompleteChunkedUploadRequest } from './completeChunkedUploadRequest';
|
|
160
|
+
import { CreateMediaFolderRequest } from './createMediaFolderRequest';
|
|
161
|
+
import { CreateMention201Response } from './createMention201Response';
|
|
105
162
|
import { DeleteMediaBulkRequest } from './deleteMediaBulkRequest';
|
|
163
|
+
import { DeleteMediaBulkRequestItemsInner } from './deleteMediaBulkRequestItemsInner';
|
|
164
|
+
import { DeleteMediaFolderRequest } from './deleteMediaFolderRequest';
|
|
106
165
|
import { DeleteMode } from './deleteMode';
|
|
107
166
|
import { DeletePostRequest } from './deletePostRequest';
|
|
108
167
|
import { DeletePostsBulkRequest } from './deletePostsBulkRequest';
|
|
@@ -134,24 +193,45 @@ import { InitiateRemoteUpload201ResponseOneOf } from './initiateRemoteUpload201R
|
|
|
134
193
|
import { InitiateRemoteUploadRequest } from './initiateRemoteUploadRequest';
|
|
135
194
|
import { ListAccounts200Response } from './listAccounts200Response';
|
|
136
195
|
import { ListMedia200Response } from './listMedia200Response';
|
|
196
|
+
import { ListMediaFolders200Response } from './listMediaFolders200Response';
|
|
197
|
+
import { ListMentions200Response } from './listMentions200Response';
|
|
198
|
+
import { ListMyWorkspaces200Response } from './listMyWorkspaces200Response';
|
|
137
199
|
import { ListPosts200Response } from './listPosts200Response';
|
|
138
200
|
import { ListReceipts200Response } from './listReceipts200Response';
|
|
139
201
|
import { ListTags200Response } from './listTags200Response';
|
|
140
202
|
import { ListUsers200Response } from './listUsers200Response';
|
|
141
203
|
import { ListWorkspaces200Response } from './listWorkspaces200Response';
|
|
142
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';
|
|
143
212
|
import { PaginationMeta } from './paginationMeta';
|
|
144
213
|
import { PaginationMetaLinks } from './paginationMetaLinks';
|
|
145
214
|
import { PaginationMetaMeta } from './paginationMetaMeta';
|
|
146
215
|
import { Post } from './post';
|
|
216
|
+
import { PostAnalytics } from './postAnalytics';
|
|
147
217
|
import { PostContent } from './postContent';
|
|
148
218
|
import { PostInput } from './postInput';
|
|
149
219
|
import { PostStatus } from './postStatus';
|
|
150
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';
|
|
151
229
|
import { Receipt } from './receipt';
|
|
152
230
|
import { ReceiptInput } from './receiptInput';
|
|
153
231
|
import { ReceiptUpdateInput } from './receiptUpdateInput';
|
|
232
|
+
import { RemoveGenericSubscription422Response } from './removeGenericSubscription422Response';
|
|
154
233
|
import { RemoveUserFromWorkspaceRequest } from './removeUserFromWorkspaceRequest';
|
|
234
|
+
import { RetryPostAccountResult } from './retryPostAccountResult';
|
|
155
235
|
import { SchedulePostRequest } from './schedulePostRequest';
|
|
156
236
|
import { ScheduleResult } from './scheduleResult';
|
|
157
237
|
import { Subscription } from './subscription';
|
|
@@ -183,6 +263,7 @@ let primitives = [
|
|
|
183
263
|
|
|
184
264
|
let enumsMap: {[index: string]: any} = {
|
|
185
265
|
"Account.ProviderEnum": Account.ProviderEnum,
|
|
266
|
+
"Account.PublishStatusEnum": Account.PublishStatusEnum,
|
|
186
267
|
"BlogToSocialInput.PlatformsEnum": BlogToSocialInput.PlatformsEnum,
|
|
187
268
|
"BlogToSocialInput.ToneEnum": BlogToSocialInput.ToneEnum,
|
|
188
269
|
"BlogToSocialInput.ContentLengthEnum": BlogToSocialInput.ContentLengthEnum,
|
|
@@ -203,6 +284,10 @@ let enumsMap: {[index: string]: any} = {
|
|
|
203
284
|
"InitiateRemoteUpload201Response.TypeEnum": InitiateRemoteUpload201Response.TypeEnum,
|
|
204
285
|
"Media.TypeEnum": Media.TypeEnum,
|
|
205
286
|
"PostStatus": PostStatus,
|
|
287
|
+
"PostingTimeSlot.ConfidenceEnum": PostingTimeSlot.ConfidenceEnum,
|
|
288
|
+
"PostingTimesDayIntervalsInnerInner.ConfidenceEnum": PostingTimesDayIntervalsInnerInner.ConfidenceEnum,
|
|
289
|
+
"PostingTimesDaysInner.ConfidenceEnum": PostingTimesDaysInner.ConfidenceEnum,
|
|
290
|
+
"PublicWorkspacePivot.RoleEnum": PublicWorkspacePivot.RoleEnum,
|
|
206
291
|
"SubscriptionStatus": SubscriptionStatus,
|
|
207
292
|
"Workspace.AccessStatusEnum": Workspace.AccessStatusEnum,
|
|
208
293
|
"WorkspaceInput.AccessStatusEnum": WorkspaceInput.AccessStatusEnum,
|
|
@@ -210,18 +295,37 @@ let enumsMap: {[index: string]: any} = {
|
|
|
210
295
|
}
|
|
211
296
|
|
|
212
297
|
let typeMap: {[index: string]: any} = {
|
|
298
|
+
"AICredits": AICredits,
|
|
213
299
|
"Account": Account,
|
|
300
|
+
"AccountAnalytics": AccountAnalytics,
|
|
301
|
+
"AccountAnalyticsInitialSync": AccountAnalyticsInitialSync,
|
|
302
|
+
"AccountSchedule": AccountSchedule,
|
|
214
303
|
"AddGenericSubscriptionRequest": AddGenericSubscriptionRequest,
|
|
304
|
+
"AddPostToQueueRequest": AddPostToQueueRequest,
|
|
305
|
+
"AnalyticsPeriod": AnalyticsPeriod,
|
|
306
|
+
"AnalyticsSummary": AnalyticsSummary,
|
|
307
|
+
"AnalyticsSummaryData": AnalyticsSummaryData,
|
|
308
|
+
"ApprovePostRequest": ApprovePostRequest,
|
|
309
|
+
"BestPostingTimes": BestPostingTimes,
|
|
310
|
+
"BestPostingTimesTimesInner": BestPostingTimesTimesInner,
|
|
215
311
|
"BlogToSocial200Response": BlogToSocial200Response,
|
|
216
312
|
"BlogToSocial429Response": BlogToSocial429Response,
|
|
217
313
|
"BlogToSocialCaption": BlogToSocialCaption,
|
|
218
314
|
"BlogToSocialInput": BlogToSocialInput,
|
|
219
315
|
"BlogToSocialMedia": BlogToSocialMedia,
|
|
220
316
|
"BlogToSocialResponse": BlogToSocialResponse,
|
|
317
|
+
"CancelSubscription422Response": CancelSubscription422Response,
|
|
318
|
+
"CancelSubscription422ResponseErrors": CancelSubscription422ResponseErrors,
|
|
319
|
+
"CancelSubscriptionRequest": CancelSubscriptionRequest,
|
|
221
320
|
"ChangeSubscriptionPlanRequest": ChangeSubscriptionPlanRequest,
|
|
222
321
|
"CheckoutSubscription200Response": CheckoutSubscription200Response,
|
|
223
322
|
"CheckoutSubscriptionRequest": CheckoutSubscriptionRequest,
|
|
323
|
+
"CompleteChunkedUploadRequest": CompleteChunkedUploadRequest,
|
|
324
|
+
"CreateMediaFolderRequest": CreateMediaFolderRequest,
|
|
325
|
+
"CreateMention201Response": CreateMention201Response,
|
|
224
326
|
"DeleteMediaBulkRequest": DeleteMediaBulkRequest,
|
|
327
|
+
"DeleteMediaBulkRequestItemsInner": DeleteMediaBulkRequestItemsInner,
|
|
328
|
+
"DeleteMediaFolderRequest": DeleteMediaFolderRequest,
|
|
225
329
|
"DeletePostRequest": DeletePostRequest,
|
|
226
330
|
"DeletePostsBulkRequest": DeletePostsBulkRequest,
|
|
227
331
|
"DeleteReceiptsBulkRequest": DeleteReceiptsBulkRequest,
|
|
@@ -252,23 +356,44 @@ let typeMap: {[index: string]: any} = {
|
|
|
252
356
|
"InitiateRemoteUploadRequest": InitiateRemoteUploadRequest,
|
|
253
357
|
"ListAccounts200Response": ListAccounts200Response,
|
|
254
358
|
"ListMedia200Response": ListMedia200Response,
|
|
359
|
+
"ListMediaFolders200Response": ListMediaFolders200Response,
|
|
360
|
+
"ListMentions200Response": ListMentions200Response,
|
|
361
|
+
"ListMyWorkspaces200Response": ListMyWorkspaces200Response,
|
|
255
362
|
"ListPosts200Response": ListPosts200Response,
|
|
256
363
|
"ListReceipts200Response": ListReceipts200Response,
|
|
257
364
|
"ListTags200Response": ListTags200Response,
|
|
258
365
|
"ListUsers200Response": ListUsers200Response,
|
|
259
366
|
"ListWorkspaces200Response": ListWorkspaces200Response,
|
|
260
367
|
"Media": Media,
|
|
368
|
+
"MediaFolder": MediaFolder,
|
|
369
|
+
"MediaFolderInput": MediaFolderInput,
|
|
370
|
+
"MediaFolderRef": MediaFolderRef,
|
|
371
|
+
"Mention": Mention,
|
|
372
|
+
"MentionIdentity": MentionIdentity,
|
|
373
|
+
"MentionIdentityInput": MentionIdentityInput,
|
|
374
|
+
"MentionInput": MentionInput,
|
|
261
375
|
"PaginationMeta": PaginationMeta,
|
|
262
376
|
"PaginationMetaLinks": PaginationMetaLinks,
|
|
263
377
|
"PaginationMetaMeta": PaginationMetaMeta,
|
|
264
378
|
"Post": Post,
|
|
379
|
+
"PostAnalytics": PostAnalytics,
|
|
265
380
|
"PostContent": PostContent,
|
|
266
381
|
"PostInput": PostInput,
|
|
267
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,
|
|
268
391
|
"Receipt": Receipt,
|
|
269
392
|
"ReceiptInput": ReceiptInput,
|
|
270
393
|
"ReceiptUpdateInput": ReceiptUpdateInput,
|
|
394
|
+
"RemoveGenericSubscription422Response": RemoveGenericSubscription422Response,
|
|
271
395
|
"RemoveUserFromWorkspaceRequest": RemoveUserFromWorkspaceRequest,
|
|
396
|
+
"RetryPostAccountResult": RetryPostAccountResult,
|
|
272
397
|
"SchedulePostRequest": SchedulePostRequest,
|
|
273
398
|
"ScheduleResult": ScheduleResult,
|
|
274
399
|
"Subscription": Subscription,
|
package/model/paginationMeta.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.
|
|
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).
|