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.
- 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 +5 -5
- 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 +5 -5
- 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/{generatedImageItem.ts → mediaFolderRef.ts} +10 -16
- 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 -3
- 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
package/model/media.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).
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { RequestFile } from './models';
|
|
14
|
+
import { MediaFolderRef } from './mediaFolderRef';
|
|
14
15
|
|
|
15
16
|
export class Media {
|
|
16
17
|
'id': number;
|
|
@@ -21,6 +22,28 @@ export class Media {
|
|
|
21
22
|
'url': string;
|
|
22
23
|
'thumbUrl'?: string;
|
|
23
24
|
'isVideo': boolean;
|
|
25
|
+
/**
|
|
26
|
+
* True while an uploaded video is still being converted.
|
|
27
|
+
*/
|
|
28
|
+
'isProcessing'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Width in pixels, when stored.
|
|
31
|
+
*/
|
|
32
|
+
'width'?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Height in pixels, when stored.
|
|
35
|
+
*/
|
|
36
|
+
'height'?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Video duration in milliseconds; null for images or videos not read yet.
|
|
39
|
+
*/
|
|
40
|
+
'durationMs'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* File size in bytes.
|
|
43
|
+
*/
|
|
44
|
+
'size'?: number;
|
|
45
|
+
'altText'?: string;
|
|
46
|
+
'folder'?: MediaFolderRef | null;
|
|
24
47
|
'createdAt': Date;
|
|
25
48
|
|
|
26
49
|
static discriminator: string | undefined = undefined;
|
|
@@ -66,6 +89,41 @@ export class Media {
|
|
|
66
89
|
"baseName": "is_video",
|
|
67
90
|
"type": "boolean"
|
|
68
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"name": "isProcessing",
|
|
94
|
+
"baseName": "is_processing",
|
|
95
|
+
"type": "boolean"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "width",
|
|
99
|
+
"baseName": "width",
|
|
100
|
+
"type": "number"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "height",
|
|
104
|
+
"baseName": "height",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "durationMs",
|
|
109
|
+
"baseName": "duration_ms",
|
|
110
|
+
"type": "number"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "size",
|
|
114
|
+
"baseName": "size",
|
|
115
|
+
"type": "number"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "altText",
|
|
119
|
+
"baseName": "alt_text",
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "folder",
|
|
124
|
+
"baseName": "folder",
|
|
125
|
+
"type": "MediaFolderRef"
|
|
126
|
+
},
|
|
69
127
|
{
|
|
70
128
|
"name": "createdAt",
|
|
71
129
|
"baseName": "created_at",
|
|
@@ -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
|
+
|
|
@@ -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).
|
|
@@ -12,32 +12,26 @@
|
|
|
12
12
|
|
|
13
13
|
import { RequestFile } from './models';
|
|
14
14
|
|
|
15
|
-
export class
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'thumbUrl': string;
|
|
15
|
+
export class MediaFolderRef {
|
|
16
|
+
'uuid': string;
|
|
17
|
+
'name': string;
|
|
19
18
|
|
|
20
19
|
static discriminator: string | undefined = undefined;
|
|
21
20
|
|
|
22
21
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
23
22
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"baseName": "
|
|
26
|
-
"type": "number"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "url",
|
|
30
|
-
"baseName": "url",
|
|
23
|
+
"name": "uuid",
|
|
24
|
+
"baseName": "uuid",
|
|
31
25
|
"type": "string"
|
|
32
26
|
},
|
|
33
27
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
28
|
+
"name": "name",
|
|
29
|
+
"baseName": "name",
|
|
36
30
|
"type": "string"
|
|
37
31
|
} ];
|
|
38
32
|
|
|
39
33
|
static getAttributeTypeMap() {
|
|
40
|
-
return
|
|
34
|
+
return MediaFolderRef.attributeTypeMap;
|
|
41
35
|
}
|
|
42
36
|
}
|
|
43
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
|
+
|