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.
Files changed (75) hide show
  1. package/.openapi-generator/FILES +72 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/LICENSE +21 -0
  5. package/README.md +0 -0
  6. package/api/accountsApi.ts +247 -0
  7. package/api/apis.ts +28 -0
  8. package/api/mediaApi.ts +1007 -0
  9. package/api/postsApi.ts +827 -0
  10. package/api/receiptsApi.ts +541 -0
  11. package/api/subscriptionsApi.ts +856 -0
  12. package/api/tagsApi.ts +492 -0
  13. package/api/usersApi.ts +537 -0
  14. package/api/workspacesApi.ts +784 -0
  15. package/api.ts +3 -0
  16. package/git_push.sh +57 -0
  17. package/model/account.ts +94 -0
  18. package/model/addGenericSubscriptionRequest.ts +43 -0
  19. package/model/changeSubscriptionPlanRequest.ts +55 -0
  20. package/model/checkoutSubscription200Response.ts +31 -0
  21. package/model/checkoutSubscriptionRequest.ts +49 -0
  22. package/model/deleteMediaBulkRequest.ts +34 -0
  23. package/model/deleteMode.ts +22 -0
  24. package/model/deletePostRequest.ts +40 -0
  25. package/model/deletePostsBulkRequest.ts +52 -0
  26. package/model/deleteReceiptsBulkRequest.ts +31 -0
  27. package/model/deleteResult.ts +43 -0
  28. package/model/deleteUser400Response.ts +37 -0
  29. package/model/deleteUsersBulkRequest.ts +31 -0
  30. package/model/deleteWorkspacesBulkRequest.ts +31 -0
  31. package/model/getRemoteUploadStatus200Response.ts +49 -0
  32. package/model/initiateChunkedUpload200Response.ts +43 -0
  33. package/model/initiateChunkedUploadRequest.ts +46 -0
  34. package/model/initiateRemoteUpload200Response.ts +94 -0
  35. package/model/initiateRemoteUpload200ResponseOneOf.ts +31 -0
  36. package/model/initiateRemoteUploadRequest.ts +40 -0
  37. package/model/listAccounts200Response.ts +32 -0
  38. package/model/listMedia200Response.ts +46 -0
  39. package/model/listPosts200Response.ts +46 -0
  40. package/model/listReceipts200Response.ts +46 -0
  41. package/model/listTags200Response.ts +32 -0
  42. package/model/listUsers200Response.ts +46 -0
  43. package/model/listWorkspaces200Response.ts +46 -0
  44. package/model/media.ts +86 -0
  45. package/model/models.ts +443 -0
  46. package/model/paginationMeta.ts +39 -0
  47. package/model/paginationMetaLinks.ts +49 -0
  48. package/model/paginationMetaMeta.ts +61 -0
  49. package/model/post.ts +91 -0
  50. package/model/postContent.ts +55 -0
  51. package/model/postInput.ts +98 -0
  52. package/model/postStatus.ts +19 -0
  53. package/model/postVersion.ts +59 -0
  54. package/model/receipt.ts +85 -0
  55. package/model/receiptInput.ts +79 -0
  56. package/model/receiptUpdateInput.ts +73 -0
  57. package/model/removeUserFromWorkspaceRequest.ts +31 -0
  58. package/model/schedulePostRequest.ts +31 -0
  59. package/model/scheduleResult.ts +37 -0
  60. package/model/subscription.ts +76 -0
  61. package/model/subscriptionInput.ts +55 -0
  62. package/model/subscriptionStatus.ts +22 -0
  63. package/model/subscriptionUpdateInput.ts +58 -0
  64. package/model/tag.ts +49 -0
  65. package/model/tagInput.ts +37 -0
  66. package/model/updateMediaRequest.ts +34 -0
  67. package/model/uploadChunk200Response.ts +34 -0
  68. package/model/user.ts +61 -0
  69. package/model/userInput.ts +55 -0
  70. package/model/userUpdateInput.ts +58 -0
  71. package/model/workspace.ts +69 -0
  72. package/model/workspaceInput.ts +56 -0
  73. package/model/workspaceUserInput.ts +56 -0
  74. package/package.json +28 -0
  75. package/tsconfig.json +24 -0
package/model/post.ts ADDED
@@ -0,0 +1,91 @@
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 { Account } from './account';
15
+ import { PostStatus } from './postStatus';
16
+ import { PostVersion } from './postVersion';
17
+ import { Tag } from './tag';
18
+
19
+ export class Post {
20
+ 'id'?: number;
21
+ 'uuid'?: string;
22
+ 'status'?: PostStatus;
23
+ 'accounts'?: Array<Account>;
24
+ 'versions'?: Array<PostVersion>;
25
+ 'tags'?: Array<Tag>;
26
+ 'scheduledAt'?: Date;
27
+ 'publishedAt'?: Date;
28
+ 'createdAt'?: Date;
29
+ 'trashed'?: boolean;
30
+
31
+ static discriminator: string | undefined = undefined;
32
+
33
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
34
+ {
35
+ "name": "id",
36
+ "baseName": "id",
37
+ "type": "number"
38
+ },
39
+ {
40
+ "name": "uuid",
41
+ "baseName": "uuid",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "name": "status",
46
+ "baseName": "status",
47
+ "type": "PostStatus"
48
+ },
49
+ {
50
+ "name": "accounts",
51
+ "baseName": "accounts",
52
+ "type": "Array<Account>"
53
+ },
54
+ {
55
+ "name": "versions",
56
+ "baseName": "versions",
57
+ "type": "Array<PostVersion>"
58
+ },
59
+ {
60
+ "name": "tags",
61
+ "baseName": "tags",
62
+ "type": "Array<Tag>"
63
+ },
64
+ {
65
+ "name": "scheduledAt",
66
+ "baseName": "scheduled_at",
67
+ "type": "Date"
68
+ },
69
+ {
70
+ "name": "publishedAt",
71
+ "baseName": "published_at",
72
+ "type": "Date"
73
+ },
74
+ {
75
+ "name": "createdAt",
76
+ "baseName": "created_at",
77
+ "type": "Date"
78
+ },
79
+ {
80
+ "name": "trashed",
81
+ "baseName": "trashed",
82
+ "type": "boolean"
83
+ } ];
84
+
85
+ static getAttributeTypeMap() {
86
+ return Post.attributeTypeMap;
87
+ }
88
+ }
89
+
90
+ export namespace Post {
91
+ }
@@ -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 PostContent {
16
+ /**
17
+ * Post text/caption.
18
+ */
19
+ 'body'?: string;
20
+ 'url'?: string;
21
+ /**
22
+ * Array of media IDs from the media library.
23
+ */
24
+ 'media'?: Array<number>;
25
+ 'videoThumbs'?: Array<object>;
26
+
27
+ static discriminator: string | undefined = undefined;
28
+
29
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
30
+ {
31
+ "name": "body",
32
+ "baseName": "body",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "name": "url",
37
+ "baseName": "url",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "name": "media",
42
+ "baseName": "media",
43
+ "type": "Array<number>"
44
+ },
45
+ {
46
+ "name": "videoThumbs",
47
+ "baseName": "video_thumbs",
48
+ "type": "Array<object>"
49
+ } ];
50
+
51
+ static getAttributeTypeMap() {
52
+ return PostContent.attributeTypeMap;
53
+ }
54
+ }
55
+
@@ -0,0 +1,98 @@
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 { PostVersion } from './postVersion';
15
+
16
+ export class PostInput {
17
+ /**
18
+ * At least one version with `is_original: true` is required.
19
+ */
20
+ 'versions': Array<PostVersion>;
21
+ /**
22
+ * Account IDs to publish to.
23
+ */
24
+ 'accounts'?: Array<number>;
25
+ /**
26
+ * Tag IDs to attach.
27
+ */
28
+ 'tags'?: Array<number>;
29
+ 'date'?: string;
30
+ 'time'?: string;
31
+ 'timezone'?: string;
32
+ /**
33
+ * Schedule the post for the given date/time.
34
+ */
35
+ 'schedule'?: boolean;
36
+ /**
37
+ * Publish immediately.
38
+ */
39
+ 'scheduleNow'?: boolean;
40
+ /**
41
+ * Add to the smart publishing queue.
42
+ */
43
+ 'queue'?: boolean;
44
+
45
+ static discriminator: string | undefined = undefined;
46
+
47
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
48
+ {
49
+ "name": "versions",
50
+ "baseName": "versions",
51
+ "type": "Array<PostVersion>"
52
+ },
53
+ {
54
+ "name": "accounts",
55
+ "baseName": "accounts",
56
+ "type": "Array<number>"
57
+ },
58
+ {
59
+ "name": "tags",
60
+ "baseName": "tags",
61
+ "type": "Array<number>"
62
+ },
63
+ {
64
+ "name": "date",
65
+ "baseName": "date",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "name": "time",
70
+ "baseName": "time",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "timezone",
75
+ "baseName": "timezone",
76
+ "type": "string"
77
+ },
78
+ {
79
+ "name": "schedule",
80
+ "baseName": "schedule",
81
+ "type": "boolean"
82
+ },
83
+ {
84
+ "name": "scheduleNow",
85
+ "baseName": "schedule_now",
86
+ "type": "boolean"
87
+ },
88
+ {
89
+ "name": "queue",
90
+ "baseName": "queue",
91
+ "type": "boolean"
92
+ } ];
93
+
94
+ static getAttributeTypeMap() {
95
+ return PostInput.attributeTypeMap;
96
+ }
97
+ }
98
+
@@ -0,0 +1,19 @@
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 PostStatus {
16
+ Draft = <any> 'draft',
17
+ Scheduled = <any> 'scheduled',
18
+ Published = <any> 'published'
19
+ }
@@ -0,0 +1,59 @@
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 { PostContent } from './postContent';
15
+
16
+ export class PostVersion {
17
+ /**
18
+ * Use `0` for the original/default version.
19
+ */
20
+ 'accountId': number;
21
+ /**
22
+ * Must be `true` for the first version.
23
+ */
24
+ 'isOriginal': boolean;
25
+ 'content': Array<PostContent>;
26
+ /**
27
+ * Platform-specific publishing options.
28
+ */
29
+ 'options'?: object;
30
+
31
+ static discriminator: string | undefined = undefined;
32
+
33
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
34
+ {
35
+ "name": "accountId",
36
+ "baseName": "account_id",
37
+ "type": "number"
38
+ },
39
+ {
40
+ "name": "isOriginal",
41
+ "baseName": "is_original",
42
+ "type": "boolean"
43
+ },
44
+ {
45
+ "name": "content",
46
+ "baseName": "content",
47
+ "type": "Array<PostContent>"
48
+ },
49
+ {
50
+ "name": "options",
51
+ "baseName": "options",
52
+ "type": "object"
53
+ } ];
54
+
55
+ static getAttributeTypeMap() {
56
+ return PostVersion.attributeTypeMap;
57
+ }
58
+ }
59
+
@@ -0,0 +1,85 @@
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 Receipt {
16
+ 'uuid'?: string;
17
+ 'transactionId'?: string;
18
+ 'invoiceNumber'?: string;
19
+ 'amount'?: number;
20
+ 'tax'?: number;
21
+ 'currency'?: string;
22
+ 'receiptUrl'?: string;
23
+ 'description'?: string;
24
+ 'paidAt'?: Date;
25
+ 'createdAt'?: Date;
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": "transactionId",
37
+ "baseName": "transaction_id",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "name": "invoiceNumber",
42
+ "baseName": "invoice_number",
43
+ "type": "string"
44
+ },
45
+ {
46
+ "name": "amount",
47
+ "baseName": "amount",
48
+ "type": "number"
49
+ },
50
+ {
51
+ "name": "tax",
52
+ "baseName": "tax",
53
+ "type": "number"
54
+ },
55
+ {
56
+ "name": "currency",
57
+ "baseName": "currency",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "name": "receiptUrl",
62
+ "baseName": "receipt_url",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "description",
67
+ "baseName": "description",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "name": "paidAt",
72
+ "baseName": "paid_at",
73
+ "type": "Date"
74
+ },
75
+ {
76
+ "name": "createdAt",
77
+ "baseName": "created_at",
78
+ "type": "Date"
79
+ } ];
80
+
81
+ static getAttributeTypeMap() {
82
+ return Receipt.attributeTypeMap;
83
+ }
84
+ }
85
+
@@ -0,0 +1,79 @@
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 ReceiptInput {
16
+ 'workspaceUuid': string;
17
+ 'transactionId': string;
18
+ 'invoiceNumber': string;
19
+ 'amount': number;
20
+ 'tax': number;
21
+ 'currency': string;
22
+ 'description'?: string;
23
+ 'receiptUrl'?: string;
24
+ 'paidAt': string;
25
+
26
+ static discriminator: string | undefined = undefined;
27
+
28
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
29
+ {
30
+ "name": "workspaceUuid",
31
+ "baseName": "workspace_uuid",
32
+ "type": "string"
33
+ },
34
+ {
35
+ "name": "transactionId",
36
+ "baseName": "transaction_id",
37
+ "type": "string"
38
+ },
39
+ {
40
+ "name": "invoiceNumber",
41
+ "baseName": "invoice_number",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "name": "amount",
46
+ "baseName": "amount",
47
+ "type": "number"
48
+ },
49
+ {
50
+ "name": "tax",
51
+ "baseName": "tax",
52
+ "type": "number"
53
+ },
54
+ {
55
+ "name": "currency",
56
+ "baseName": "currency",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "description",
61
+ "baseName": "description",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "name": "receiptUrl",
66
+ "baseName": "receipt_url",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "name": "paidAt",
71
+ "baseName": "paid_at",
72
+ "type": "string"
73
+ } ];
74
+
75
+ static getAttributeTypeMap() {
76
+ return ReceiptInput.attributeTypeMap;
77
+ }
78
+ }
79
+
@@ -0,0 +1,73 @@
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 ReceiptUpdateInput {
16
+ 'transactionId': string;
17
+ 'invoiceNumber': string;
18
+ 'amount': number;
19
+ 'tax'?: number;
20
+ 'currency': string;
21
+ 'description'?: string;
22
+ 'receiptUrl'?: string;
23
+ 'paidAt': string;
24
+
25
+ static discriminator: string | undefined = undefined;
26
+
27
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28
+ {
29
+ "name": "transactionId",
30
+ "baseName": "transaction_id",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "invoiceNumber",
35
+ "baseName": "invoice_number",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "amount",
40
+ "baseName": "amount",
41
+ "type": "number"
42
+ },
43
+ {
44
+ "name": "tax",
45
+ "baseName": "tax",
46
+ "type": "number"
47
+ },
48
+ {
49
+ "name": "currency",
50
+ "baseName": "currency",
51
+ "type": "string"
52
+ },
53
+ {
54
+ "name": "description",
55
+ "baseName": "description",
56
+ "type": "string"
57
+ },
58
+ {
59
+ "name": "receiptUrl",
60
+ "baseName": "receipt_url",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "paidAt",
65
+ "baseName": "paid_at",
66
+ "type": "string"
67
+ } ];
68
+
69
+ static getAttributeTypeMap() {
70
+ return ReceiptUpdateInput.attributeTypeMap;
71
+ }
72
+ }
73
+
@@ -0,0 +1,31 @@
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 RemoveUserFromWorkspaceRequest {
16
+ 'userId': number;
17
+
18
+ static discriminator: string | undefined = undefined;
19
+
20
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21
+ {
22
+ "name": "userId",
23
+ "baseName": "user_id",
24
+ "type": "number"
25
+ } ];
26
+
27
+ static getAttributeTypeMap() {
28
+ return RemoveUserFromWorkspaceRequest.attributeTypeMap;
29
+ }
30
+ }
31
+
@@ -0,0 +1,31 @@
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 SchedulePostRequest {
16
+ 'postNow': boolean;
17
+
18
+ static discriminator: string | undefined = undefined;
19
+
20
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21
+ {
22
+ "name": "postNow",
23
+ "baseName": "postNow",
24
+ "type": "boolean"
25
+ } ];
26
+
27
+ static getAttributeTypeMap() {
28
+ return SchedulePostRequest.attributeTypeMap;
29
+ }
30
+ }
31
+
@@ -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 ScheduleResult {
16
+ 'success'?: boolean;
17
+ 'scheduledAt'?: Date;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "success",
24
+ "baseName": "success",
25
+ "type": "boolean"
26
+ },
27
+ {
28
+ "name": "scheduledAt",
29
+ "baseName": "scheduled_at",
30
+ "type": "Date"
31
+ } ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return ScheduleResult.attributeTypeMap;
35
+ }
36
+ }
37
+