@buzzposter/mcp 0.1.16 → 0.2.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/dist/index.js +1416 -921
- package/dist/newsletter-studio.html +620 -0
- package/dist/tools.d.ts +31 -11
- package/dist/tools.js +1383 -898
- package/package.json +15 -6
package/dist/tools.d.ts
CHANGED
|
@@ -48,24 +48,22 @@ declare class BuzzPosterClient {
|
|
|
48
48
|
updateSubscriber(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
49
49
|
deleteSubscriber(id: string): Promise<unknown>;
|
|
50
50
|
listPostTemplates(): Promise<unknown>;
|
|
51
|
-
|
|
52
|
-
listKnowledge(params?: Record<string, string>): Promise<unknown>;
|
|
53
|
-
createKnowledge(data: Record<string, unknown>): Promise<unknown>;
|
|
51
|
+
listEmailTemplates(): Promise<unknown>;
|
|
54
52
|
getBrandVoice(): Promise<unknown>;
|
|
55
53
|
updateBrandVoice(data: Record<string, unknown>): Promise<unknown>;
|
|
54
|
+
listAudiences(): Promise<unknown>;
|
|
56
55
|
getAudience(id: string): Promise<unknown>;
|
|
56
|
+
getAudienceByName(name: string): Promise<unknown>;
|
|
57
57
|
getDefaultAudience(): Promise<unknown>;
|
|
58
58
|
createAudience(data: Record<string, unknown>): Promise<unknown>;
|
|
59
59
|
updateAudience(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
60
|
+
deleteAudience(id: string): Promise<unknown>;
|
|
60
61
|
getTemplate(id?: string): Promise<unknown>;
|
|
61
62
|
listTemplates(): Promise<unknown>;
|
|
62
63
|
createTemplate(data: Record<string, unknown>): Promise<unknown>;
|
|
63
64
|
updateTemplate(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
64
65
|
deleteTemplate(id: string): Promise<unknown>;
|
|
65
66
|
duplicateTemplate(id: string): Promise<unknown>;
|
|
66
|
-
listNewsletterArchive(params?: Record<string, string>): Promise<unknown>;
|
|
67
|
-
getArchivedNewsletter(id: string): Promise<unknown>;
|
|
68
|
-
saveNewsletterToArchive(data: Record<string, unknown>): Promise<unknown>;
|
|
69
67
|
getCalendar(params?: Record<string, string>): Promise<unknown>;
|
|
70
68
|
rescheduleCalendarItem(id: string, scheduledFor: string): Promise<unknown>;
|
|
71
69
|
cancelCalendarItem(id: string): Promise<unknown>;
|
|
@@ -83,9 +81,31 @@ declare class BuzzPosterClient {
|
|
|
83
81
|
deleteSource(id: number): Promise<unknown>;
|
|
84
82
|
checkSource(id: number): Promise<unknown>;
|
|
85
83
|
getPublishingRules(): Promise<unknown>;
|
|
84
|
+
ghostSetup(data: Record<string, unknown>): Promise<unknown>;
|
|
85
|
+
ghostCreatePost(data: Record<string, unknown>): Promise<unknown>;
|
|
86
|
+
ghostUpdatePost(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
87
|
+
ghostGetPost(id: string): Promise<unknown>;
|
|
88
|
+
ghostListPosts(params?: Record<string, string>): Promise<unknown>;
|
|
89
|
+
ghostDeletePost(id: string): Promise<unknown>;
|
|
90
|
+
ghostPublishPost(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
91
|
+
ghostSendNewsletter(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
92
|
+
ghostListMembers(params?: Record<string, string>): Promise<unknown>;
|
|
93
|
+
ghostListNewsletters(): Promise<unknown>;
|
|
86
94
|
validateNewsletter(data: Record<string, unknown>): Promise<unknown>;
|
|
87
95
|
scheduleBroadcast(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
88
96
|
testBroadcast(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
97
|
+
wpCreatePost(data: Record<string, unknown>): Promise<unknown>;
|
|
98
|
+
wpUpdatePost(id: number, data: Record<string, unknown>): Promise<unknown>;
|
|
99
|
+
wpGetPost(id: number): Promise<unknown>;
|
|
100
|
+
wpListPosts(params?: Record<string, string>): Promise<unknown>;
|
|
101
|
+
wpDeletePost(id: number, params?: Record<string, string>): Promise<unknown>;
|
|
102
|
+
wpUploadMedia(data: {
|
|
103
|
+
url: string;
|
|
104
|
+
filename?: string;
|
|
105
|
+
}): Promise<unknown>;
|
|
106
|
+
wpListCategories(): Promise<unknown>;
|
|
107
|
+
wpListTags(): Promise<unknown>;
|
|
108
|
+
wpCreatePage(data: Record<string, unknown>): Promise<unknown>;
|
|
89
109
|
}
|
|
90
110
|
|
|
91
111
|
declare function registerPostTools(server: McpServer, client: BuzzPosterClient): void;
|
|
@@ -111,8 +131,6 @@ declare function registerAccountInfoTool(server: McpServer, client: BuzzPosterCl
|
|
|
111
131
|
|
|
112
132
|
declare function registerBrandVoiceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
113
133
|
|
|
114
|
-
declare function registerKnowledgeTools(server: McpServer, client: BuzzPosterClient): void;
|
|
115
|
-
|
|
116
134
|
declare function registerAudienceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
117
135
|
|
|
118
136
|
declare function registerNewsletterTemplateTools(server: McpServer, client: BuzzPosterClient): void;
|
|
@@ -121,8 +139,10 @@ declare function registerCalendarTools(server: McpServer, client: BuzzPosterClie
|
|
|
121
139
|
|
|
122
140
|
declare function registerNotificationTools(server: McpServer, client: BuzzPosterClient): void;
|
|
123
141
|
|
|
124
|
-
declare function registerPublishingRulesTools(server: McpServer, client: BuzzPosterClient): void;
|
|
125
|
-
|
|
126
142
|
declare function registerSourceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
127
143
|
|
|
128
|
-
|
|
144
|
+
declare function registerWordPressTools(server: McpServer, client: BuzzPosterClient): void;
|
|
145
|
+
|
|
146
|
+
declare function registerGhostTools(server: McpServer, client: BuzzPosterClient): void;
|
|
147
|
+
|
|
148
|
+
export { BuzzPosterClient, registerAccountInfoTool, registerAccountTools, registerAnalyticsTools, registerAudienceTools, registerBrandVoiceTools, registerCalendarTools, registerGhostTools, registerInboxTools, registerMediaTools, registerNewsletterAdvancedTools, registerNewsletterTemplateTools, registerNewsletterTools, registerNotificationTools, registerPostTools, registerRssTools, registerSourceTools, registerWordPressTools };
|