posterly-mcp-server 0.8.2 → 0.19.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 +38 -3
- package/dist/generated/platform-manifest.d.ts +392 -0
- package/dist/generated/platform-manifest.js +695 -0
- package/dist/index.js +331 -1
- package/dist/lib/api-client.d.ts +391 -24
- package/dist/lib/api-client.js +176 -0
- package/dist/tools/audit-google-business-profile.d.ts +24 -0
- package/dist/tools/audit-google-business-profile.js +27 -0
- package/dist/tools/create-oauth-client.d.ts +40 -0
- package/dist/tools/create-oauth-client.js +20 -0
- package/dist/tools/create-post.d.ts +399 -20
- package/dist/tools/create-post.js +81 -78
- package/dist/tools/create-posts-batch.d.ts +567 -0
- package/dist/tools/create-posts-batch.js +38 -0
- package/dist/tools/create-signed-upload.d.ts +24 -0
- package/dist/tools/create-signed-upload.js +20 -0
- package/dist/tools/create-webhook.d.ts +36 -0
- package/dist/tools/create-webhook.js +20 -0
- package/dist/tools/delete-google-business-review-reply.d.ts +32 -0
- package/dist/tools/delete-google-business-review-reply.js +17 -0
- package/dist/tools/delete-oauth-client.d.ts +20 -0
- package/dist/tools/delete-oauth-client.js +13 -0
- package/dist/tools/delete-post-group.d.ts +20 -0
- package/dist/tools/delete-post-group.js +13 -0
- package/dist/tools/delete-webhook.d.ts +20 -0
- package/dist/tools/delete-webhook.js +13 -0
- package/dist/tools/disconnect-account.d.ts +20 -0
- package/dist/tools/disconnect-account.js +22 -0
- package/dist/tools/generate-image.d.ts +4 -4
- package/dist/tools/generate-video.d.ts +59 -0
- package/dist/tools/generate-video.js +34 -0
- package/dist/tools/get-connect-link.d.ts +24 -0
- package/dist/tools/get-connect-link.js +46 -0
- package/dist/tools/get-google-business-review-link.d.ts +24 -0
- package/dist/tools/get-google-business-review-link.js +19 -0
- package/dist/tools/get-platform-schema.d.ts +24 -0
- package/dist/tools/get-platform-schema.js +44 -0
- package/dist/tools/get-post-missing.d.ts +16 -0
- package/dist/tools/get-post-missing.js +12 -0
- package/dist/tools/get-video-job.d.ts +24 -0
- package/dist/tools/get-video-job.js +31 -0
- package/dist/tools/get-video-options.d.ts +8 -0
- package/dist/tools/get-video-options.js +26 -0
- package/dist/tools/get-x-posting-quota.d.ts +16 -0
- package/dist/tools/get-x-posting-quota.js +21 -0
- package/dist/tools/list-activity.d.ts +32 -0
- package/dist/tools/list-activity.js +35 -0
- package/dist/tools/list-google-business-reviews.d.ts +32 -0
- package/dist/tools/list-google-business-reviews.js +28 -0
- package/dist/tools/list-oauth-clients.d.ts +8 -0
- package/dist/tools/list-oauth-clients.js +15 -0
- package/dist/tools/list-platforms.d.ts +16 -0
- package/dist/tools/list-platforms.js +20 -0
- package/dist/tools/list-posts.d.ts +3 -3
- package/dist/tools/list-posts.js +3 -2
- package/dist/tools/list-webhooks.d.ts +16 -0
- package/dist/tools/list-webhooks.js +24 -0
- package/dist/tools/reply-google-business-review.d.ts +36 -0
- package/dist/tools/reply-google-business-review.js +18 -0
- package/dist/tools/run-video-function.d.ts +24 -0
- package/dist/tools/run-video-function.js +25 -0
- package/dist/tools/suggest-google-business-review-reply.d.ts +48 -0
- package/dist/tools/suggest-google-business-review-reply.js +27 -0
- package/dist/tools/test-webhook.d.ts +20 -0
- package/dist/tools/test-webhook.js +14 -0
- package/dist/tools/trigger-platform-helper.d.ts +28 -0
- package/dist/tools/trigger-platform-helper.js +22 -0
- package/dist/tools/update-oauth-client.d.ts +44 -0
- package/dist/tools/update-oauth-client.js +21 -0
- package/dist/tools/update-post-release-id.d.ts +28 -0
- package/dist/tools/update-post-release-id.js +18 -0
- package/dist/tools/update-post-status.d.ts +28 -0
- package/dist/tools/update-post-status.js +23 -0
- package/dist/tools/update-post.js +1 -1
- package/dist/tools/update-webhook.d.ts +40 -0
- package/dist/tools/update-webhook.js +21 -0
- package/dist/tools/upload-media-from-url.d.ts +24 -0
- package/dist/tools/upload-media-from-url.js +26 -0
- package/dist/tools/webhook-events.d.ts +3 -0
- package/dist/tools/webhook-events.js +13 -0
- package/package.json +1 -1
- package/src/generated/platform-manifest.ts +695 -0
- package/src/index.ts +496 -1
- package/src/lib/api-client.ts +497 -19
- package/src/tools/audit-google-business-profile.ts +38 -0
- package/src/tools/create-oauth-client.ts +36 -0
- package/src/tools/create-post.ts +91 -94
- package/src/tools/create-posts-batch.ts +48 -0
- package/src/tools/create-signed-upload.ts +27 -0
- package/src/tools/create-webhook.ts +35 -0
- package/src/tools/delete-google-business-review-reply.ts +30 -0
- package/src/tools/delete-oauth-client.ts +23 -0
- package/src/tools/delete-post-group.ts +17 -0
- package/src/tools/delete-webhook.ts +18 -0
- package/src/tools/disconnect-account.ts +30 -0
- package/src/tools/generate-video.ts +38 -0
- package/src/tools/get-connect-link.ts +56 -0
- package/src/tools/get-google-business-review-link.ts +30 -0
- package/src/tools/get-platform-schema.ts +52 -0
- package/src/tools/get-post-missing.ts +17 -0
- package/src/tools/get-video-job.ts +36 -0
- package/src/tools/get-video-options.ts +30 -0
- package/src/tools/get-x-posting-quota.ts +25 -0
- package/src/tools/list-activity.ts +51 -0
- package/src/tools/list-google-business-reviews.ts +43 -0
- package/src/tools/list-oauth-clients.ts +18 -0
- package/src/tools/list-platforms.ts +25 -0
- package/src/tools/list-posts.ts +3 -2
- package/src/tools/list-webhooks.ts +30 -0
- package/src/tools/reply-google-business-review.ts +32 -0
- package/src/tools/run-video-function.ts +32 -0
- package/src/tools/suggest-google-business-review-reply.ts +44 -0
- package/src/tools/test-webhook.ts +18 -0
- package/src/tools/trigger-platform-helper.ts +34 -0
- package/src/tools/update-oauth-client.ts +38 -0
- package/src/tools/update-post-release-id.ts +26 -0
- package/src/tools/update-post-status.ts +31 -0
- package/src/tools/update-post.ts +1 -1
- package/src/tools/update-webhook.ts +37 -0
- package/src/tools/upload-media-from-url.ts +33 -0
- package/src/tools/webhook-events.ts +16 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const auditGoogleBusinessProfileTool = {
|
|
3
|
+
name: 'audit_google_business_profile',
|
|
4
|
+
description: 'Run a live local-profile audit for a connected Google Business Profile location, including completeness, categories, media, attributes, reviews, and recommendations.',
|
|
5
|
+
inputSchema: z.object({
|
|
6
|
+
workspace_id: z.string().optional().describe('Filter to a workspace ID from whoami.'),
|
|
7
|
+
account_id: z.number().int().positive().optional().describe('Google Business account ID from list_accounts.'),
|
|
8
|
+
location_id: z.string().optional().describe('Google Business location/platform_user_id.'),
|
|
9
|
+
}),
|
|
10
|
+
async execute(client, input) {
|
|
11
|
+
const result = await client.auditGoogleBusinessProfile(input);
|
|
12
|
+
const audit = result.audit || {};
|
|
13
|
+
const recommendations = Array.isArray(audit.recommendations) ? audit.recommendations : [];
|
|
14
|
+
const lines = [
|
|
15
|
+
`Google Business audit: ${audit.businessName || 'Unknown business'}`,
|
|
16
|
+
`Score: ${audit.overallScore ?? 'n/a'} (${audit.overallGrade || 'n/a'})`,
|
|
17
|
+
`Fetched: ${result.fetchedAt || 'unknown'}`,
|
|
18
|
+
];
|
|
19
|
+
if (recommendations.length > 0) {
|
|
20
|
+
lines.push('Top recommendations:');
|
|
21
|
+
for (const rec of recommendations.slice(0, 5)) {
|
|
22
|
+
lines.push(`- ${rec.priority || 'medium'}: ${rec.description || rec.title || 'Recommendation'}`);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return lines.join('\n');
|
|
26
|
+
},
|
|
27
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PosterlyClient } from '../lib/api-client.js';
|
|
3
|
+
export declare const createOAuthClientTool: {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
inputSchema: z.ZodObject<{
|
|
7
|
+
client_name: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
homepage: z.ZodOptional<z.ZodString>;
|
|
10
|
+
allowed_redirect_uris: z.ZodArray<z.ZodString, "many">;
|
|
11
|
+
default_scopes: z.ZodArray<z.ZodEnum<["accounts:read", "accounts:write", "posts:read", "posts:write", "media:write", "analytics:read"]>, "many">;
|
|
12
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
confirm: z.ZodLiteral<true>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
confirm: true;
|
|
16
|
+
client_name: string;
|
|
17
|
+
allowed_redirect_uris: string[];
|
|
18
|
+
default_scopes: ("accounts:read" | "accounts:write" | "posts:read" | "posts:write" | "media:write" | "analytics:read")[];
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
is_active?: boolean | undefined;
|
|
21
|
+
homepage?: string | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
confirm: true;
|
|
24
|
+
client_name: string;
|
|
25
|
+
allowed_redirect_uris: string[];
|
|
26
|
+
default_scopes: ("accounts:read" | "accounts:write" | "posts:read" | "posts:write" | "media:write" | "analytics:read")[];
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
is_active?: boolean | undefined;
|
|
29
|
+
homepage?: string | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
execute(client: PosterlyClient, input: {
|
|
32
|
+
client_name: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
homepage?: string;
|
|
35
|
+
allowed_redirect_uris: string[];
|
|
36
|
+
default_scopes: string[];
|
|
37
|
+
is_active?: boolean;
|
|
38
|
+
confirm: true;
|
|
39
|
+
}): Promise<string>;
|
|
40
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const scopeSchema = z.enum(['accounts:read', 'accounts:write', 'posts:read', 'posts:write', 'media:write', 'analytics:read']);
|
|
3
|
+
export const createOAuthClientTool = {
|
|
4
|
+
name: 'create_oauth_client',
|
|
5
|
+
description: 'Create a public OAuth 2.1 + PKCE developer client. WRITE: confirm app name, redirect URIs, and scopes with the user before calling.',
|
|
6
|
+
inputSchema: z.object({
|
|
7
|
+
client_name: z.string().min(1).max(120),
|
|
8
|
+
description: z.string().max(500).optional(),
|
|
9
|
+
homepage: z.string().url().optional(),
|
|
10
|
+
allowed_redirect_uris: z.array(z.string().url()).min(1).max(10),
|
|
11
|
+
default_scopes: z.array(scopeSchema).min(1),
|
|
12
|
+
is_active: z.boolean().optional(),
|
|
13
|
+
confirm: z.literal(true).describe('Must be true after explicit user confirmation.'),
|
|
14
|
+
}),
|
|
15
|
+
async execute(client, input) {
|
|
16
|
+
const { confirm: _confirm, ...payload } = input;
|
|
17
|
+
const result = await client.createOAuthClient(payload);
|
|
18
|
+
return `OAuth client created: ${result.client.client_name}\nclient_id: ${result.client.client_id}\nRedirect URIs: ${result.client.allowed_redirect_uris.join(', ')}`;
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { PosterlyClient } from '../lib/api-client.js';
|
|
3
|
-
declare const instagramSettingsSchema: z.ZodObject<{
|
|
3
|
+
export declare const instagramSettingsSchema: z.ZodObject<{
|
|
4
4
|
__type: z.ZodOptional<z.ZodEnum<["instagram", "instagram-standalone"]>>;
|
|
5
5
|
post_type: z.ZodOptional<z.ZodEnum<["post", "feed", "story", "reel", "carousel"]>>;
|
|
6
6
|
is_trial_reel: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -74,7 +74,7 @@ declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
74
74
|
reel_cover_url?: string | undefined;
|
|
75
75
|
reel_thumb_offset?: number | undefined;
|
|
76
76
|
}>;
|
|
77
|
-
declare const platformSettingsSchema: z.ZodObject<{
|
|
77
|
+
export declare const platformSettingsSchema: z.ZodObject<{
|
|
78
78
|
__type: z.ZodOptional<z.ZodString>;
|
|
79
79
|
post_type: z.ZodOptional<z.ZodString>;
|
|
80
80
|
content_type: z.ZodOptional<z.ZodString>;
|
|
@@ -219,13 +219,406 @@ declare const platformSettingsSchema: z.ZodObject<{
|
|
|
219
219
|
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
220
220
|
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
221
221
|
}, z.ZodTypeAny, "passthrough">>;
|
|
222
|
+
export declare const createPostInputSchema: z.ZodObject<{
|
|
223
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
224
|
+
username: z.ZodOptional<z.ZodString>;
|
|
225
|
+
platform: z.ZodOptional<z.ZodEnum<["bluesky", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "instagram", "instagram-standalone", "linkedin", "pinterest", "telegram", "threads", "tiktok", "twitter", "x", "youtube"]>>;
|
|
226
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
227
|
+
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
228
|
+
media_url: z.ZodOptional<z.ZodString>;
|
|
229
|
+
media_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
230
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
231
|
+
thread_posts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
232
|
+
instagram_settings: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
__type: z.ZodOptional<z.ZodEnum<["instagram", "instagram-standalone"]>>;
|
|
234
|
+
post_type: z.ZodOptional<z.ZodEnum<["post", "feed", "story", "reel", "carousel"]>>;
|
|
235
|
+
is_trial_reel: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
graduation_strategy: z.ZodOptional<z.ZodEnum<["MANUAL", "SS_PERFORMANCE"]>>;
|
|
237
|
+
collaborators: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
238
|
+
label: z.ZodOptional<z.ZodString>;
|
|
239
|
+
username: z.ZodOptional<z.ZodString>;
|
|
240
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
label?: string | undefined;
|
|
243
|
+
username?: string | undefined;
|
|
244
|
+
handle?: string | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
label?: string | undefined;
|
|
247
|
+
username?: string | undefined;
|
|
248
|
+
handle?: string | undefined;
|
|
249
|
+
}>]>, "many">>;
|
|
250
|
+
user_tags: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
251
|
+
username: z.ZodOptional<z.ZodString>;
|
|
252
|
+
label: z.ZodOptional<z.ZodString>;
|
|
253
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
label?: string | undefined;
|
|
256
|
+
username?: string | undefined;
|
|
257
|
+
handle?: string | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
label?: string | undefined;
|
|
260
|
+
username?: string | undefined;
|
|
261
|
+
handle?: string | undefined;
|
|
262
|
+
}>]>, "many">>;
|
|
263
|
+
first_comment: z.ZodOptional<z.ZodString>;
|
|
264
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
265
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
266
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
__type?: "instagram" | "instagram-standalone" | undefined;
|
|
269
|
+
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
270
|
+
is_trial_reel?: boolean | undefined;
|
|
271
|
+
graduation_strategy?: "MANUAL" | "SS_PERFORMANCE" | undefined;
|
|
272
|
+
collaborators?: (string | {
|
|
273
|
+
label?: string | undefined;
|
|
274
|
+
username?: string | undefined;
|
|
275
|
+
handle?: string | undefined;
|
|
276
|
+
})[] | undefined;
|
|
277
|
+
user_tags?: (string | {
|
|
278
|
+
label?: string | undefined;
|
|
279
|
+
username?: string | undefined;
|
|
280
|
+
handle?: string | undefined;
|
|
281
|
+
})[] | undefined;
|
|
282
|
+
first_comment?: string | undefined;
|
|
283
|
+
media_alt_texts?: Record<string, string> | undefined;
|
|
284
|
+
reel_cover_url?: string | undefined;
|
|
285
|
+
reel_thumb_offset?: number | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
__type?: "instagram" | "instagram-standalone" | undefined;
|
|
288
|
+
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
289
|
+
is_trial_reel?: boolean | undefined;
|
|
290
|
+
graduation_strategy?: "MANUAL" | "SS_PERFORMANCE" | undefined;
|
|
291
|
+
collaborators?: (string | {
|
|
292
|
+
label?: string | undefined;
|
|
293
|
+
username?: string | undefined;
|
|
294
|
+
handle?: string | undefined;
|
|
295
|
+
})[] | undefined;
|
|
296
|
+
user_tags?: (string | {
|
|
297
|
+
label?: string | undefined;
|
|
298
|
+
username?: string | undefined;
|
|
299
|
+
handle?: string | undefined;
|
|
300
|
+
})[] | undefined;
|
|
301
|
+
first_comment?: string | undefined;
|
|
302
|
+
media_alt_texts?: Record<string, string> | undefined;
|
|
303
|
+
reel_cover_url?: string | undefined;
|
|
304
|
+
reel_thumb_offset?: number | undefined;
|
|
305
|
+
}>>;
|
|
306
|
+
platform_settings: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
__type: z.ZodOptional<z.ZodString>;
|
|
308
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
309
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
310
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
311
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
312
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers"]>>;
|
|
314
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
316
|
+
duration_minutes: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
options: string[];
|
|
319
|
+
duration_minutes?: number | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
options: string[];
|
|
322
|
+
duration_minutes?: number | undefined;
|
|
323
|
+
}>>;
|
|
324
|
+
reply_control: z.ZodOptional<z.ZodEnum<["everyone", "accounts_you_follow", "mentioned_only"]>>;
|
|
325
|
+
text_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
326
|
+
text_format_preset_id: z.ZodOptional<z.ZodString>;
|
|
327
|
+
document_title: z.ZodOptional<z.ZodString>;
|
|
328
|
+
document_filename: z.ZodOptional<z.ZodString>;
|
|
329
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
330
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
331
|
+
thumbnail_method: z.ZodOptional<z.ZodString>;
|
|
332
|
+
privacy_level: z.ZodOptional<z.ZodString>;
|
|
333
|
+
allow_comment: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
allow_duet: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
+
allow_stitch: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
+
title: z.ZodOptional<z.ZodString>;
|
|
337
|
+
is_commercial_content: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
is_your_brand: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
is_branded_content: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
privacy_status: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
|
|
341
|
+
made_for_kids: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
343
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
344
|
+
playlist_id: z.ZodOptional<z.ZodString>;
|
|
345
|
+
board_id: z.ZodOptional<z.ZodString>;
|
|
346
|
+
link: z.ZodOptional<z.ZodString>;
|
|
347
|
+
cover_image_url: z.ZodOptional<z.ZodString>;
|
|
348
|
+
video_cover_url: z.ZodOptional<z.ZodString>;
|
|
349
|
+
cover_image_method: z.ZodOptional<z.ZodEnum<["upload", "frame", "api"]>>;
|
|
350
|
+
event: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
351
|
+
offer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
352
|
+
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
353
|
+
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
354
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
355
|
+
__type: z.ZodOptional<z.ZodString>;
|
|
356
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
357
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
358
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
359
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
360
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers"]>>;
|
|
362
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
364
|
+
duration_minutes: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
options: string[];
|
|
367
|
+
duration_minutes?: number | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
options: string[];
|
|
370
|
+
duration_minutes?: number | undefined;
|
|
371
|
+
}>>;
|
|
372
|
+
reply_control: z.ZodOptional<z.ZodEnum<["everyone", "accounts_you_follow", "mentioned_only"]>>;
|
|
373
|
+
text_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
|
+
text_format_preset_id: z.ZodOptional<z.ZodString>;
|
|
375
|
+
document_title: z.ZodOptional<z.ZodString>;
|
|
376
|
+
document_filename: z.ZodOptional<z.ZodString>;
|
|
377
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
378
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
379
|
+
thumbnail_method: z.ZodOptional<z.ZodString>;
|
|
380
|
+
privacy_level: z.ZodOptional<z.ZodString>;
|
|
381
|
+
allow_comment: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
allow_duet: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
allow_stitch: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
title: z.ZodOptional<z.ZodString>;
|
|
385
|
+
is_commercial_content: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
is_your_brand: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
is_branded_content: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
privacy_status: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
|
|
389
|
+
made_for_kids: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
391
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
392
|
+
playlist_id: z.ZodOptional<z.ZodString>;
|
|
393
|
+
board_id: z.ZodOptional<z.ZodString>;
|
|
394
|
+
link: z.ZodOptional<z.ZodString>;
|
|
395
|
+
cover_image_url: z.ZodOptional<z.ZodString>;
|
|
396
|
+
video_cover_url: z.ZodOptional<z.ZodString>;
|
|
397
|
+
cover_image_method: z.ZodOptional<z.ZodEnum<["upload", "frame", "api"]>>;
|
|
398
|
+
event: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
399
|
+
offer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
400
|
+
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
401
|
+
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
402
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
403
|
+
__type: z.ZodOptional<z.ZodString>;
|
|
404
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
405
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
406
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
407
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
408
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
409
|
+
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers"]>>;
|
|
410
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
412
|
+
duration_minutes: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
options: string[];
|
|
415
|
+
duration_minutes?: number | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
options: string[];
|
|
418
|
+
duration_minutes?: number | undefined;
|
|
419
|
+
}>>;
|
|
420
|
+
reply_control: z.ZodOptional<z.ZodEnum<["everyone", "accounts_you_follow", "mentioned_only"]>>;
|
|
421
|
+
text_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
422
|
+
text_format_preset_id: z.ZodOptional<z.ZodString>;
|
|
423
|
+
document_title: z.ZodOptional<z.ZodString>;
|
|
424
|
+
document_filename: z.ZodOptional<z.ZodString>;
|
|
425
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
426
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
427
|
+
thumbnail_method: z.ZodOptional<z.ZodString>;
|
|
428
|
+
privacy_level: z.ZodOptional<z.ZodString>;
|
|
429
|
+
allow_comment: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
allow_duet: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
allow_stitch: z.ZodOptional<z.ZodBoolean>;
|
|
432
|
+
title: z.ZodOptional<z.ZodString>;
|
|
433
|
+
is_commercial_content: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
is_your_brand: z.ZodOptional<z.ZodBoolean>;
|
|
435
|
+
is_branded_content: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
privacy_status: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
|
|
437
|
+
made_for_kids: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
439
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
440
|
+
playlist_id: z.ZodOptional<z.ZodString>;
|
|
441
|
+
board_id: z.ZodOptional<z.ZodString>;
|
|
442
|
+
link: z.ZodOptional<z.ZodString>;
|
|
443
|
+
cover_image_url: z.ZodOptional<z.ZodString>;
|
|
444
|
+
video_cover_url: z.ZodOptional<z.ZodString>;
|
|
445
|
+
cover_image_method: z.ZodOptional<z.ZodEnum<["upload", "frame", "api"]>>;
|
|
446
|
+
event: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
447
|
+
offer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
448
|
+
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
449
|
+
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
451
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
workspace_id?: string | undefined;
|
|
454
|
+
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "linkedin" | "youtube" | "pinterest" | "threads" | "google_business" | "telegram" | "bluesky" | "gmb" | "google-business" | "google_business_profile" | "x" | undefined;
|
|
455
|
+
account_id?: string | undefined;
|
|
456
|
+
post_type?: string | undefined;
|
|
457
|
+
username?: string | undefined;
|
|
458
|
+
caption?: string | undefined;
|
|
459
|
+
scheduled_at?: string | undefined;
|
|
460
|
+
media_url?: string | undefined;
|
|
461
|
+
media_urls?: string[] | undefined;
|
|
462
|
+
thread_posts?: string[] | undefined;
|
|
463
|
+
instagram_settings?: {
|
|
464
|
+
__type?: "instagram" | "instagram-standalone" | undefined;
|
|
465
|
+
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
466
|
+
is_trial_reel?: boolean | undefined;
|
|
467
|
+
graduation_strategy?: "MANUAL" | "SS_PERFORMANCE" | undefined;
|
|
468
|
+
collaborators?: (string | {
|
|
469
|
+
label?: string | undefined;
|
|
470
|
+
username?: string | undefined;
|
|
471
|
+
handle?: string | undefined;
|
|
472
|
+
})[] | undefined;
|
|
473
|
+
user_tags?: (string | {
|
|
474
|
+
label?: string | undefined;
|
|
475
|
+
username?: string | undefined;
|
|
476
|
+
handle?: string | undefined;
|
|
477
|
+
})[] | undefined;
|
|
478
|
+
first_comment?: string | undefined;
|
|
479
|
+
media_alt_texts?: Record<string, string> | undefined;
|
|
480
|
+
reel_cover_url?: string | undefined;
|
|
481
|
+
reel_thumb_offset?: number | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
platform_settings?: z.objectOutputType<{
|
|
484
|
+
__type: z.ZodOptional<z.ZodString>;
|
|
485
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
486
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
487
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
488
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
489
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
490
|
+
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers"]>>;
|
|
491
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
493
|
+
duration_minutes: z.ZodOptional<z.ZodNumber>;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
options: string[];
|
|
496
|
+
duration_minutes?: number | undefined;
|
|
497
|
+
}, {
|
|
498
|
+
options: string[];
|
|
499
|
+
duration_minutes?: number | undefined;
|
|
500
|
+
}>>;
|
|
501
|
+
reply_control: z.ZodOptional<z.ZodEnum<["everyone", "accounts_you_follow", "mentioned_only"]>>;
|
|
502
|
+
text_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
503
|
+
text_format_preset_id: z.ZodOptional<z.ZodString>;
|
|
504
|
+
document_title: z.ZodOptional<z.ZodString>;
|
|
505
|
+
document_filename: z.ZodOptional<z.ZodString>;
|
|
506
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
507
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
508
|
+
thumbnail_method: z.ZodOptional<z.ZodString>;
|
|
509
|
+
privacy_level: z.ZodOptional<z.ZodString>;
|
|
510
|
+
allow_comment: z.ZodOptional<z.ZodBoolean>;
|
|
511
|
+
allow_duet: z.ZodOptional<z.ZodBoolean>;
|
|
512
|
+
allow_stitch: z.ZodOptional<z.ZodBoolean>;
|
|
513
|
+
title: z.ZodOptional<z.ZodString>;
|
|
514
|
+
is_commercial_content: z.ZodOptional<z.ZodBoolean>;
|
|
515
|
+
is_your_brand: z.ZodOptional<z.ZodBoolean>;
|
|
516
|
+
is_branded_content: z.ZodOptional<z.ZodBoolean>;
|
|
517
|
+
privacy_status: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
|
|
518
|
+
made_for_kids: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
520
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
521
|
+
playlist_id: z.ZodOptional<z.ZodString>;
|
|
522
|
+
board_id: z.ZodOptional<z.ZodString>;
|
|
523
|
+
link: z.ZodOptional<z.ZodString>;
|
|
524
|
+
cover_image_url: z.ZodOptional<z.ZodString>;
|
|
525
|
+
video_cover_url: z.ZodOptional<z.ZodString>;
|
|
526
|
+
cover_image_method: z.ZodOptional<z.ZodEnum<["upload", "frame", "api"]>>;
|
|
527
|
+
event: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
528
|
+
offer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
529
|
+
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
530
|
+
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
531
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
workspace_id?: string | undefined;
|
|
534
|
+
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "linkedin" | "youtube" | "pinterest" | "threads" | "google_business" | "telegram" | "bluesky" | "gmb" | "google-business" | "google_business_profile" | "x" | undefined;
|
|
535
|
+
account_id?: string | undefined;
|
|
536
|
+
post_type?: string | undefined;
|
|
537
|
+
username?: string | undefined;
|
|
538
|
+
caption?: string | undefined;
|
|
539
|
+
scheduled_at?: string | undefined;
|
|
540
|
+
media_url?: string | undefined;
|
|
541
|
+
media_urls?: string[] | undefined;
|
|
542
|
+
thread_posts?: string[] | undefined;
|
|
543
|
+
instagram_settings?: {
|
|
544
|
+
__type?: "instagram" | "instagram-standalone" | undefined;
|
|
545
|
+
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
546
|
+
is_trial_reel?: boolean | undefined;
|
|
547
|
+
graduation_strategy?: "MANUAL" | "SS_PERFORMANCE" | undefined;
|
|
548
|
+
collaborators?: (string | {
|
|
549
|
+
label?: string | undefined;
|
|
550
|
+
username?: string | undefined;
|
|
551
|
+
handle?: string | undefined;
|
|
552
|
+
})[] | undefined;
|
|
553
|
+
user_tags?: (string | {
|
|
554
|
+
label?: string | undefined;
|
|
555
|
+
username?: string | undefined;
|
|
556
|
+
handle?: string | undefined;
|
|
557
|
+
})[] | undefined;
|
|
558
|
+
first_comment?: string | undefined;
|
|
559
|
+
media_alt_texts?: Record<string, string> | undefined;
|
|
560
|
+
reel_cover_url?: string | undefined;
|
|
561
|
+
reel_thumb_offset?: number | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
platform_settings?: z.objectInputType<{
|
|
564
|
+
__type: z.ZodOptional<z.ZodString>;
|
|
565
|
+
post_type: z.ZodOptional<z.ZodString>;
|
|
566
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
567
|
+
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
568
|
+
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
569
|
+
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
570
|
+
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers"]>>;
|
|
571
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
573
|
+
duration_minutes: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
options: string[];
|
|
576
|
+
duration_minutes?: number | undefined;
|
|
577
|
+
}, {
|
|
578
|
+
options: string[];
|
|
579
|
+
duration_minutes?: number | undefined;
|
|
580
|
+
}>>;
|
|
581
|
+
reply_control: z.ZodOptional<z.ZodEnum<["everyone", "accounts_you_follow", "mentioned_only"]>>;
|
|
582
|
+
text_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
583
|
+
text_format_preset_id: z.ZodOptional<z.ZodString>;
|
|
584
|
+
document_title: z.ZodOptional<z.ZodString>;
|
|
585
|
+
document_filename: z.ZodOptional<z.ZodString>;
|
|
586
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
587
|
+
thumbnail_url: z.ZodOptional<z.ZodString>;
|
|
588
|
+
thumbnail_method: z.ZodOptional<z.ZodString>;
|
|
589
|
+
privacy_level: z.ZodOptional<z.ZodString>;
|
|
590
|
+
allow_comment: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
+
allow_duet: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
allow_stitch: z.ZodOptional<z.ZodBoolean>;
|
|
593
|
+
title: z.ZodOptional<z.ZodString>;
|
|
594
|
+
is_commercial_content: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
is_your_brand: z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
is_branded_content: z.ZodOptional<z.ZodBoolean>;
|
|
597
|
+
privacy_status: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
|
|
598
|
+
made_for_kids: z.ZodOptional<z.ZodBoolean>;
|
|
599
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
600
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
601
|
+
playlist_id: z.ZodOptional<z.ZodString>;
|
|
602
|
+
board_id: z.ZodOptional<z.ZodString>;
|
|
603
|
+
link: z.ZodOptional<z.ZodString>;
|
|
604
|
+
cover_image_url: z.ZodOptional<z.ZodString>;
|
|
605
|
+
video_cover_url: z.ZodOptional<z.ZodString>;
|
|
606
|
+
cover_image_method: z.ZodOptional<z.ZodEnum<["upload", "frame", "api"]>>;
|
|
607
|
+
event: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
608
|
+
offer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
609
|
+
cta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
610
|
+
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
611
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
612
|
+
}>;
|
|
613
|
+
export type CreatePostInput = z.infer<typeof createPostInputSchema>;
|
|
614
|
+
export declare function buildCreatePostPayload(input: CreatePostInput): Parameters<PosterlyClient['createPost']>[0];
|
|
222
615
|
export declare const createPostTool: {
|
|
223
616
|
name: string;
|
|
224
617
|
description: string;
|
|
225
618
|
inputSchema: z.ZodObject<{
|
|
226
619
|
account_id: z.ZodOptional<z.ZodString>;
|
|
227
620
|
username: z.ZodOptional<z.ZodString>;
|
|
228
|
-
platform: z.ZodOptional<z.
|
|
621
|
+
platform: z.ZodOptional<z.ZodEnum<["bluesky", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "instagram", "instagram-standalone", "linkedin", "pinterest", "telegram", "threads", "tiktok", "twitter", "x", "youtube"]>>;
|
|
229
622
|
caption: z.ZodOptional<z.ZodString>;
|
|
230
623
|
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
231
624
|
media_url: z.ZodOptional<z.ZodString>;
|
|
@@ -454,7 +847,7 @@ export declare const createPostTool: {
|
|
|
454
847
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
455
848
|
}, "strip", z.ZodTypeAny, {
|
|
456
849
|
workspace_id?: string | undefined;
|
|
457
|
-
platform?:
|
|
850
|
+
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "linkedin" | "youtube" | "pinterest" | "threads" | "google_business" | "telegram" | "bluesky" | "gmb" | "google-business" | "google_business_profile" | "x" | undefined;
|
|
458
851
|
account_id?: string | undefined;
|
|
459
852
|
post_type?: string | undefined;
|
|
460
853
|
username?: string | undefined;
|
|
@@ -534,7 +927,7 @@ export declare const createPostTool: {
|
|
|
534
927
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
535
928
|
}, {
|
|
536
929
|
workspace_id?: string | undefined;
|
|
537
|
-
platform?:
|
|
930
|
+
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "linkedin" | "youtube" | "pinterest" | "threads" | "google_business" | "telegram" | "bluesky" | "gmb" | "google-business" | "google_business_profile" | "x" | undefined;
|
|
538
931
|
account_id?: string | undefined;
|
|
539
932
|
post_type?: string | undefined;
|
|
540
933
|
username?: string | undefined;
|
|
@@ -613,19 +1006,5 @@ export declare const createPostTool: {
|
|
|
613
1006
|
langs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
614
1007
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
615
1008
|
}>;
|
|
616
|
-
execute(client: PosterlyClient, input:
|
|
617
|
-
account_id?: string;
|
|
618
|
-
username?: string;
|
|
619
|
-
platform?: string;
|
|
620
|
-
caption?: string;
|
|
621
|
-
scheduled_at?: string;
|
|
622
|
-
media_url?: string;
|
|
623
|
-
media_urls?: string[];
|
|
624
|
-
post_type?: string;
|
|
625
|
-
thread_posts?: string[];
|
|
626
|
-
instagram_settings?: z.infer<typeof instagramSettingsSchema>;
|
|
627
|
-
platform_settings?: z.infer<typeof platformSettingsSchema>;
|
|
628
|
-
workspace_id?: string;
|
|
629
|
-
}): Promise<string>;
|
|
1009
|
+
execute(client: PosterlyClient, input: CreatePostInput): Promise<string>;
|
|
630
1010
|
};
|
|
631
|
-
export {};
|