postboost 1.0.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/.openapi-generator/FILES +72 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/LICENSE +21 -0
- package/README.md +0 -0
- package/api/accountsApi.ts +247 -0
- package/api/apis.ts +28 -0
- package/api/mediaApi.ts +1007 -0
- package/api/postsApi.ts +827 -0
- package/api/receiptsApi.ts +541 -0
- package/api/subscriptionsApi.ts +856 -0
- package/api/tagsApi.ts +492 -0
- package/api/usersApi.ts +537 -0
- package/api/workspacesApi.ts +784 -0
- package/api.ts +3 -0
- package/git_push.sh +57 -0
- package/model/account.ts +94 -0
- package/model/addGenericSubscriptionRequest.ts +43 -0
- package/model/changeSubscriptionPlanRequest.ts +55 -0
- package/model/checkoutSubscription200Response.ts +31 -0
- package/model/checkoutSubscriptionRequest.ts +49 -0
- package/model/deleteMediaBulkRequest.ts +34 -0
- package/model/deleteMode.ts +22 -0
- package/model/deletePostRequest.ts +40 -0
- package/model/deletePostsBulkRequest.ts +52 -0
- package/model/deleteReceiptsBulkRequest.ts +31 -0
- package/model/deleteResult.ts +43 -0
- package/model/deleteUser400Response.ts +37 -0
- package/model/deleteUsersBulkRequest.ts +31 -0
- package/model/deleteWorkspacesBulkRequest.ts +31 -0
- package/model/getRemoteUploadStatus200Response.ts +49 -0
- package/model/initiateChunkedUpload200Response.ts +43 -0
- package/model/initiateChunkedUploadRequest.ts +46 -0
- package/model/initiateRemoteUpload200Response.ts +94 -0
- package/model/initiateRemoteUpload200ResponseOneOf.ts +31 -0
- package/model/initiateRemoteUploadRequest.ts +40 -0
- package/model/listAccounts200Response.ts +32 -0
- package/model/listMedia200Response.ts +46 -0
- package/model/listPosts200Response.ts +46 -0
- package/model/listReceipts200Response.ts +46 -0
- package/model/listTags200Response.ts +32 -0
- package/model/listUsers200Response.ts +46 -0
- package/model/listWorkspaces200Response.ts +46 -0
- package/model/media.ts +86 -0
- package/model/models.ts +443 -0
- package/model/paginationMeta.ts +39 -0
- package/model/paginationMetaLinks.ts +49 -0
- package/model/paginationMetaMeta.ts +61 -0
- package/model/post.ts +91 -0
- package/model/postContent.ts +55 -0
- package/model/postInput.ts +98 -0
- package/model/postStatus.ts +19 -0
- package/model/postVersion.ts +59 -0
- package/model/receipt.ts +85 -0
- package/model/receiptInput.ts +79 -0
- package/model/receiptUpdateInput.ts +73 -0
- package/model/removeUserFromWorkspaceRequest.ts +31 -0
- package/model/schedulePostRequest.ts +31 -0
- package/model/scheduleResult.ts +37 -0
- package/model/subscription.ts +76 -0
- package/model/subscriptionInput.ts +55 -0
- package/model/subscriptionStatus.ts +22 -0
- package/model/subscriptionUpdateInput.ts +58 -0
- package/model/tag.ts +49 -0
- package/model/tagInput.ts +37 -0
- package/model/updateMediaRequest.ts +34 -0
- package/model/uploadChunk200Response.ts +34 -0
- package/model/user.ts +61 -0
- package/model/userInput.ts +55 -0
- package/model/userUpdateInput.ts +58 -0
- package/model/workspace.ts +69 -0
- package/model/workspaceInput.ts +56 -0
- package/model/workspaceUserInput.ts +56 -0
- package/package.json +28 -0
- package/tsconfig.json +24 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { SubscriptionStatus } from './subscriptionStatus';
|
|
15
|
+
|
|
16
|
+
export class Subscription {
|
|
17
|
+
'name'?: string;
|
|
18
|
+
'platformSubscriptionId'?: string;
|
|
19
|
+
'platformPlanId'?: string;
|
|
20
|
+
'status'?: SubscriptionStatus;
|
|
21
|
+
'recurring'?: boolean;
|
|
22
|
+
'trialEndsAt'?: Date;
|
|
23
|
+
'pausedFrom'?: Date;
|
|
24
|
+
'endsAt'?: Date;
|
|
25
|
+
|
|
26
|
+
static discriminator: string | undefined = undefined;
|
|
27
|
+
|
|
28
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
29
|
+
{
|
|
30
|
+
"name": "name",
|
|
31
|
+
"baseName": "name",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "platformSubscriptionId",
|
|
36
|
+
"baseName": "platform_subscription_id",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "platformPlanId",
|
|
41
|
+
"baseName": "platform_plan_id",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "status",
|
|
46
|
+
"baseName": "status",
|
|
47
|
+
"type": "SubscriptionStatus"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "recurring",
|
|
51
|
+
"baseName": "recurring",
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "trialEndsAt",
|
|
56
|
+
"baseName": "trial_ends_at",
|
|
57
|
+
"type": "Date"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "pausedFrom",
|
|
61
|
+
"baseName": "paused_from",
|
|
62
|
+
"type": "Date"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "endsAt",
|
|
66
|
+
"baseName": "ends_at",
|
|
67
|
+
"type": "Date"
|
|
68
|
+
} ];
|
|
69
|
+
|
|
70
|
+
static getAttributeTypeMap() {
|
|
71
|
+
return Subscription.attributeTypeMap;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export namespace Subscription {
|
|
76
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { SubscriptionStatus } from './subscriptionStatus';
|
|
15
|
+
|
|
16
|
+
export class SubscriptionInput {
|
|
17
|
+
'platformSubscriptionId': string;
|
|
18
|
+
'platformPlanId': string;
|
|
19
|
+
'status': SubscriptionStatus;
|
|
20
|
+
/**
|
|
21
|
+
* Required when status is `trialing`.
|
|
22
|
+
*/
|
|
23
|
+
'trialEndsAt'?: Date;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
28
|
+
{
|
|
29
|
+
"name": "platformSubscriptionId",
|
|
30
|
+
"baseName": "platform_subscription_id",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "platformPlanId",
|
|
35
|
+
"baseName": "platform_plan_id",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "status",
|
|
40
|
+
"baseName": "status",
|
|
41
|
+
"type": "SubscriptionStatus"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "trialEndsAt",
|
|
45
|
+
"baseName": "trial_ends_at",
|
|
46
|
+
"type": "Date"
|
|
47
|
+
} ];
|
|
48
|
+
|
|
49
|
+
static getAttributeTypeMap() {
|
|
50
|
+
return SubscriptionInput.attributeTypeMap;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export namespace SubscriptionInput {
|
|
55
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export enum SubscriptionStatus {
|
|
16
|
+
Active = <any> 'active',
|
|
17
|
+
Trialing = <any> 'trialing',
|
|
18
|
+
PastDue = <any> 'past_due',
|
|
19
|
+
Paused = <any> 'paused',
|
|
20
|
+
Canceled = <any> 'canceled',
|
|
21
|
+
Incomplete = <any> 'incomplete'
|
|
22
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { SubscriptionStatus } from './subscriptionStatus';
|
|
15
|
+
|
|
16
|
+
export class SubscriptionUpdateInput {
|
|
17
|
+
'platformPlanId': string;
|
|
18
|
+
'status': SubscriptionStatus;
|
|
19
|
+
/**
|
|
20
|
+
* Required when status is `trialing`.
|
|
21
|
+
*/
|
|
22
|
+
'trialEndsAt'?: Date;
|
|
23
|
+
/**
|
|
24
|
+
* Required when status is `paused`.
|
|
25
|
+
*/
|
|
26
|
+
'pausedFrom'?: Date;
|
|
27
|
+
|
|
28
|
+
static discriminator: string | undefined = undefined;
|
|
29
|
+
|
|
30
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
31
|
+
{
|
|
32
|
+
"name": "platformPlanId",
|
|
33
|
+
"baseName": "platform_plan_id",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "status",
|
|
38
|
+
"baseName": "status",
|
|
39
|
+
"type": "SubscriptionStatus"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "trialEndsAt",
|
|
43
|
+
"baseName": "trial_ends_at",
|
|
44
|
+
"type": "Date"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "pausedFrom",
|
|
48
|
+
"baseName": "paused_from",
|
|
49
|
+
"type": "Date"
|
|
50
|
+
} ];
|
|
51
|
+
|
|
52
|
+
static getAttributeTypeMap() {
|
|
53
|
+
return SubscriptionUpdateInput.attributeTypeMap;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export namespace SubscriptionUpdateInput {
|
|
58
|
+
}
|
package/model/tag.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class Tag {
|
|
16
|
+
'id'?: number;
|
|
17
|
+
'uuid'?: string;
|
|
18
|
+
'name'?: string;
|
|
19
|
+
'hexColor'?: string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "id",
|
|
26
|
+
"baseName": "id",
|
|
27
|
+
"type": "number"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "uuid",
|
|
31
|
+
"baseName": "uuid",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "name",
|
|
36
|
+
"baseName": "name",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "hexColor",
|
|
41
|
+
"baseName": "hex_color",
|
|
42
|
+
"type": "string"
|
|
43
|
+
} ];
|
|
44
|
+
|
|
45
|
+
static getAttributeTypeMap() {
|
|
46
|
+
return Tag.attributeTypeMap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class TagInput {
|
|
16
|
+
'name': string;
|
|
17
|
+
'hexColor': string;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "name",
|
|
24
|
+
"baseName": "name",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "hexColor",
|
|
29
|
+
"baseName": "hex_color",
|
|
30
|
+
"type": "string"
|
|
31
|
+
} ];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return TagInput.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class UpdateMediaRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Alternative text for accessibility.
|
|
18
|
+
*/
|
|
19
|
+
'altText': string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "altText",
|
|
26
|
+
"baseName": "alt_text",
|
|
27
|
+
"type": "string"
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return UpdateMediaRequest.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class UploadChunk200Response {
|
|
16
|
+
/**
|
|
17
|
+
* Number of chunks received so far.
|
|
18
|
+
*/
|
|
19
|
+
'received'?: number;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "received",
|
|
26
|
+
"baseName": "received",
|
|
27
|
+
"type": "number"
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return UploadChunk200Response.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/model/user.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class User {
|
|
16
|
+
'id'?: number;
|
|
17
|
+
'name'?: string;
|
|
18
|
+
'email'?: string;
|
|
19
|
+
'isAdmin'?: boolean;
|
|
20
|
+
'emailVerifiedAt'?: Date;
|
|
21
|
+
'createdAt'?: Date;
|
|
22
|
+
|
|
23
|
+
static discriminator: string | undefined = undefined;
|
|
24
|
+
|
|
25
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
26
|
+
{
|
|
27
|
+
"name": "id",
|
|
28
|
+
"baseName": "id",
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "name",
|
|
33
|
+
"baseName": "name",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "email",
|
|
38
|
+
"baseName": "email",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "isAdmin",
|
|
43
|
+
"baseName": "is_admin",
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "emailVerifiedAt",
|
|
48
|
+
"baseName": "email_verified_at",
|
|
49
|
+
"type": "Date"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "createdAt",
|
|
53
|
+
"baseName": "created_at",
|
|
54
|
+
"type": "Date"
|
|
55
|
+
} ];
|
|
56
|
+
|
|
57
|
+
static getAttributeTypeMap() {
|
|
58
|
+
return User.attributeTypeMap;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class UserInput {
|
|
16
|
+
'name': string;
|
|
17
|
+
'email': string;
|
|
18
|
+
'password': string;
|
|
19
|
+
'passwordConfirmation': string;
|
|
20
|
+
'isAdmin': boolean;
|
|
21
|
+
|
|
22
|
+
static discriminator: string | undefined = undefined;
|
|
23
|
+
|
|
24
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
25
|
+
{
|
|
26
|
+
"name": "name",
|
|
27
|
+
"baseName": "name",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "email",
|
|
32
|
+
"baseName": "email",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "password",
|
|
37
|
+
"baseName": "password",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "passwordConfirmation",
|
|
42
|
+
"baseName": "password_confirmation",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "isAdmin",
|
|
47
|
+
"baseName": "is_admin",
|
|
48
|
+
"type": "boolean"
|
|
49
|
+
} ];
|
|
50
|
+
|
|
51
|
+
static getAttributeTypeMap() {
|
|
52
|
+
return UserInput.attributeTypeMap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class UserUpdateInput {
|
|
16
|
+
'name': string;
|
|
17
|
+
'email': string;
|
|
18
|
+
/**
|
|
19
|
+
* Omit or set to null to keep the current password.
|
|
20
|
+
*/
|
|
21
|
+
'password'?: string;
|
|
22
|
+
'passwordConfirmation'?: string;
|
|
23
|
+
'isAdmin': boolean;
|
|
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": "email",
|
|
35
|
+
"baseName": "email",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "password",
|
|
40
|
+
"baseName": "password",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "passwordConfirmation",
|
|
45
|
+
"baseName": "password_confirmation",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "isAdmin",
|
|
50
|
+
"baseName": "is_admin",
|
|
51
|
+
"type": "boolean"
|
|
52
|
+
} ];
|
|
53
|
+
|
|
54
|
+
static getAttributeTypeMap() {
|
|
55
|
+
return UserUpdateInput.attributeTypeMap;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { User } from './user';
|
|
15
|
+
|
|
16
|
+
export class Workspace {
|
|
17
|
+
'uuid'?: string;
|
|
18
|
+
'name'?: string;
|
|
19
|
+
'hexColor'?: string;
|
|
20
|
+
'owner'?: User;
|
|
21
|
+
'accessStatus'?: Workspace.AccessStatusEnum;
|
|
22
|
+
'createdAt'?: Date;
|
|
23
|
+
|
|
24
|
+
static discriminator: string | undefined = undefined;
|
|
25
|
+
|
|
26
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
27
|
+
{
|
|
28
|
+
"name": "uuid",
|
|
29
|
+
"baseName": "uuid",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "name",
|
|
34
|
+
"baseName": "name",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "hexColor",
|
|
39
|
+
"baseName": "hex_color",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "owner",
|
|
44
|
+
"baseName": "owner",
|
|
45
|
+
"type": "User"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "accessStatus",
|
|
49
|
+
"baseName": "access_status",
|
|
50
|
+
"type": "Workspace.AccessStatusEnum"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "createdAt",
|
|
54
|
+
"baseName": "created_at",
|
|
55
|
+
"type": "Date"
|
|
56
|
+
} ];
|
|
57
|
+
|
|
58
|
+
static getAttributeTypeMap() {
|
|
59
|
+
return Workspace.attributeTypeMap;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export namespace Workspace {
|
|
64
|
+
export enum AccessStatusEnum {
|
|
65
|
+
Subscription = <any> 'subscription',
|
|
66
|
+
Unlimited = <any> 'unlimited',
|
|
67
|
+
Locked = <any> 'locked'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostBoost API
|
|
3
|
+
* The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: hi@postboost.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class WorkspaceInput {
|
|
16
|
+
'name': string;
|
|
17
|
+
'hexColor': string;
|
|
18
|
+
'ownerId'?: number;
|
|
19
|
+
'accessStatus': WorkspaceInput.AccessStatusEnum;
|
|
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": "hexColor",
|
|
31
|
+
"baseName": "hex_color",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "ownerId",
|
|
36
|
+
"baseName": "owner_id",
|
|
37
|
+
"type": "number"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "accessStatus",
|
|
41
|
+
"baseName": "access_status",
|
|
42
|
+
"type": "WorkspaceInput.AccessStatusEnum"
|
|
43
|
+
} ];
|
|
44
|
+
|
|
45
|
+
static getAttributeTypeMap() {
|
|
46
|
+
return WorkspaceInput.attributeTypeMap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export namespace WorkspaceInput {
|
|
51
|
+
export enum AccessStatusEnum {
|
|
52
|
+
Subscription = <any> 'subscription',
|
|
53
|
+
Unlimited = <any> 'unlimited',
|
|
54
|
+
Locked = <any> 'locked'
|
|
55
|
+
}
|
|
56
|
+
}
|