posterly-mcp-server 0.52.2 → 0.53.2
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 +17 -5
- package/dist/index.js +4 -0
- package/dist/lib/api-client.d.ts +196 -0
- package/dist/lib/api-client.js +16 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/cancel-subscription.js +1 -1
- package/dist/tools/create-post.d.ts +22 -22
- package/dist/tools/create-posts-batch.d.ts +8 -8
- package/dist/tools/create-signed-upload.js +3 -3
- package/dist/tools/delete-post.js +2 -2
- package/dist/tools/downgrade-subscription.js +3 -3
- package/dist/tools/get-subscription.js +69 -5
- package/dist/tools/list-analytics.js +1 -1
- package/dist/tools/list-posts.js +3 -3
- package/dist/tools/manage-extra-account.d.ts +48 -0
- package/dist/tools/manage-extra-account.js +161 -0
- package/dist/tools/manage-publishing-pause.js +1 -1
- package/dist/tools/manage-workspace-member.d.ts +2 -2
- package/dist/tools/manage-workspace-member.js +4 -4
- package/dist/tools/update-post.d.ts +10 -10
- package/dist/tools/update-post.js +3 -3
- package/dist/tools/upgrade-subscription.d.ts +47 -0
- package/dist/tools/upgrade-subscription.js +169 -0
- package/dist/tools/validate-post.d.ts +12 -12
- package/package.json +1 -1
- package/server.json +2 -2
- package/tool-annotations.json +10 -2
- package/tool-registry.json +100 -1
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ Add the same server definition to your Cursor MCP settings:
|
|
|
123
123
|
|
|
124
124
|
## Available tools
|
|
125
125
|
|
|
126
|
-
`posterly-mcp-server@0.
|
|
126
|
+
`posterly-mcp-server@0.53.2` exposes 66 tools covering 102 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 63 tools covering 99 actions.
|
|
127
127
|
|
|
128
128
|
Many tools pick what to do with one parameter: `view` (reads), `action` (writes), or `type`. A few pick their mode from which parameters you pass (for example `update_post` with `status` changes the status instead of editing). Every tool description names all of its views and actions.
|
|
129
129
|
|
|
@@ -373,16 +373,28 @@ API keys, OAuth clients, webhooks, workspace members, and the publishing pause.
|
|
|
373
373
|
|
|
374
374
|
### Billing (`billing`)
|
|
375
375
|
|
|
376
|
-
Subscription changes.
|
|
376
|
+
Subscription changes and Agency extra accounts.
|
|
377
377
|
|
|
378
378
|
| Tool | What it does |
|
|
379
379
|
| --- | --- |
|
|
380
|
-
| `get_subscription` | Subscription |
|
|
380
|
+
| `get_subscription` | Subscription, plans above yours with prices, extra accounts (Agency owners) and the exact next steps |
|
|
381
381
|
| `cancel_subscription` | Cancel subscription |
|
|
382
382
|
| `pause_subscription` | Pause subscription |
|
|
383
383
|
| `resume_subscription` | Resume subscription |
|
|
384
384
|
| `downgrade_subscription` | Downgrade subscription |
|
|
385
385
|
|
|
386
|
+
**`upgrade_subscription`**: Upgrade subscription
|
|
387
|
+
|
|
388
|
+
| Action | What it does |
|
|
389
|
+
| --- | --- |
|
|
390
|
+
| `upgrade` | Move to a higher plan: quote the exact charge, then upgrade after `confirm: true` with the `preview_id` (preview then confirm) |
|
|
391
|
+
|
|
392
|
+
**`manage_extra_account`**: Buy or remove extra accounts
|
|
393
|
+
|
|
394
|
+
| Action | What it does |
|
|
395
|
+
| --- | --- |
|
|
396
|
+
| `set` | Set extra accounts: quote the exact charge, then buy, raise, lower, or remove them after `confirm: true` with the `preview_id` (preview then confirm) |
|
|
397
|
+
|
|
386
398
|
### Signup (`signup`)
|
|
387
399
|
|
|
388
400
|
Pre-auth signup for brand-new users. Local npm package only; always on.
|
|
@@ -492,7 +504,7 @@ This package uses the posterly API/MCP add-on:
|
|
|
492
504
|
- user-created API keys per plan: Starter 1, Pro 2, Power 3, Agency 4
|
|
493
505
|
- works across all 18 supported platforms: Instagram, Facebook, TikTok, X, LinkedIn, YouTube, Pinterest, Threads, Google Business, Telegram, Bluesky, Discord, Slack, Mastodon, Dev.to, Hashnode, WordPress, and Lemmy
|
|
494
506
|
|
|
495
|
-
Each API call counts as one request, so use `create_posts_batch` when you need to schedule multiple posts in one confirmed operation.
|
|
507
|
+
Each API call counts as one request, so use `create_posts_batch` when you need to schedule multiple posts in one confirmed operation. A batch signed upload (`create_signed_upload` with `files`) counts one point per file against the media upload limit.
|
|
496
508
|
|
|
497
509
|
Details: [poster.ly/dashboard/api](https://www.poster.ly/dashboard/api)
|
|
498
510
|
|
|
@@ -537,6 +549,6 @@ The package reads:
|
|
|
537
549
|
|
|
538
550
|
The optional directory profile provides 52 tools over HTTP or 55 tools over local stdio for social publishing, existing-media uploads, analytics, and inbox work. AI image and video generation, generation-job helpers, billing mutations, and legacy tool aliases are unavailable in this profile. Text caption suggestions and read-only subscription information remain available. Tool descriptions are functional summaries; input schemas retain their validation constraints.
|
|
539
551
|
|
|
540
|
-
Hosted endpoint: `https://www.poster.ly/api/mcp?profile=claude`. For local stdio, set `POSTERLY_DIRECTORY_PROFILE=claude` alongside the existing API key. The default catalogs remain
|
|
552
|
+
Hosted endpoint: `https://www.poster.ly/api/mcp?profile=claude`. For local stdio, set `POSTERLY_DIRECTORY_PROFILE=claude` alongside the existing API key. The default catalogs remain 63 hosted tools and 66 local tools. This profile does not grant authorization, bypass scopes, or change the existing preview and confirmation checks.
|
|
541
553
|
|
|
542
554
|
Directory approval remains Anthropic's decision. This profile addresses the generation and financial-transaction restrictions in the [Anthropic Software Directory Policy](https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy).
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,8 @@ import { cancelSubscriptionTool } from './tools/cancel-subscription.js';
|
|
|
30
30
|
import { pauseSubscriptionTool } from './tools/pause-subscription.js';
|
|
31
31
|
import { resumeSubscriptionTool } from './tools/resume-subscription.js';
|
|
32
32
|
import { downgradeSubscriptionTool } from './tools/downgrade-subscription.js';
|
|
33
|
+
import { upgradeSubscriptionTool } from './tools/upgrade-subscription.js';
|
|
34
|
+
import { manageExtraAccountTool } from './tools/manage-extra-account.js';
|
|
33
35
|
import { listOAuthClientsTool } from './tools/list-oauth-clients.js';
|
|
34
36
|
import { manageOAuthClientTool } from './tools/manage-oauth-client.js';
|
|
35
37
|
import { listPlatformsTool } from './tools/list-platforms.js';
|
|
@@ -100,6 +102,8 @@ const STDIO_TOOLS = [
|
|
|
100
102
|
pauseSubscriptionTool,
|
|
101
103
|
resumeSubscriptionTool,
|
|
102
104
|
downgradeSubscriptionTool,
|
|
105
|
+
upgradeSubscriptionTool,
|
|
106
|
+
manageExtraAccountTool,
|
|
103
107
|
listOAuthClientsTool,
|
|
104
108
|
manageOAuthClientTool,
|
|
105
109
|
listPlatformsTool,
|
package/dist/lib/api-client.d.ts
CHANGED
|
@@ -600,6 +600,34 @@ export type SubscriptionSummary = {
|
|
|
600
600
|
paused_at: string | null;
|
|
601
601
|
pause_resumes_at: string | null;
|
|
602
602
|
stripe_subscription_id: string | null;
|
|
603
|
+
/** Connected accounts for the workspace this caller is acting in. */
|
|
604
|
+
accounts?: {
|
|
605
|
+
workspace_id: string | null;
|
|
606
|
+
used: number;
|
|
607
|
+
limit: number;
|
|
608
|
+
} | null;
|
|
609
|
+
/** The plans above this user's, with real prices, limits and credits. */
|
|
610
|
+
upgrade_options?: SubscriptionUpgradeOption[];
|
|
611
|
+
/** What to do next for this user's tier and status. */
|
|
612
|
+
next_steps?: SubscriptionNextStep[];
|
|
613
|
+
/** The billing page: the way out where a plan change cannot be made from a tool. */
|
|
614
|
+
billing_url?: string;
|
|
615
|
+
/** Agency workspace owners only. Same body as GET /subscription/extra-accounts. */
|
|
616
|
+
extra_accounts?: ExtraAccountsStateResponse;
|
|
617
|
+
};
|
|
618
|
+
export type SubscriptionUpgradeOption = {
|
|
619
|
+
tier: SubscriptionTierName;
|
|
620
|
+
name: string;
|
|
621
|
+
monthly_price: number;
|
|
622
|
+
yearly_price: number;
|
|
623
|
+
max_accounts: number;
|
|
624
|
+
included_credits: number;
|
|
625
|
+
};
|
|
626
|
+
export type SubscriptionNextStep = {
|
|
627
|
+
id: string;
|
|
628
|
+
text: string;
|
|
629
|
+
tool?: string;
|
|
630
|
+
params?: Record<string, unknown>;
|
|
603
631
|
};
|
|
604
632
|
export type SubscriptionSummaryResponse = {
|
|
605
633
|
subscription: SubscriptionSummary;
|
|
@@ -646,6 +674,144 @@ export type DowngradeSubscriptionResponse = {
|
|
|
646
674
|
success: true;
|
|
647
675
|
tier: SubscriptionTierName;
|
|
648
676
|
};
|
|
677
|
+
export type UpgradeInterval = 'week' | 'month' | 'year';
|
|
678
|
+
export type UpgradeQuote = {
|
|
679
|
+
kind: 'upgrade';
|
|
680
|
+
current_tier: SubscriptionTierName;
|
|
681
|
+
current_tier_name: string;
|
|
682
|
+
new_tier: SubscriptionTierName;
|
|
683
|
+
new_tier_name: string;
|
|
684
|
+
current_interval: UpgradeInterval;
|
|
685
|
+
interval: UpgradeInterval;
|
|
686
|
+
interval_changes: boolean;
|
|
687
|
+
trialing: boolean;
|
|
688
|
+
charge_today_cents: number;
|
|
689
|
+
charge_today: string;
|
|
690
|
+
currency: string;
|
|
691
|
+
current_recurring_cents: number | null;
|
|
692
|
+
new_recurring_cents: number;
|
|
693
|
+
new_recurring: string;
|
|
694
|
+
account_limit_before: number;
|
|
695
|
+
account_limit_after: number;
|
|
696
|
+
included_credits_before: number;
|
|
697
|
+
included_credits_after: number;
|
|
698
|
+
};
|
|
699
|
+
export type UpgradeQuoteResponse = {
|
|
700
|
+
dry_run: true;
|
|
701
|
+
quote: UpgradeQuote;
|
|
702
|
+
};
|
|
703
|
+
export type UpgradePaymentPending = {
|
|
704
|
+
hosted_invoice_url: string | null;
|
|
705
|
+
requested_tier: SubscriptionTierName | null;
|
|
706
|
+
amount_due_cents: number | null;
|
|
707
|
+
expires_at: string | null;
|
|
708
|
+
};
|
|
709
|
+
export type UpgradeAppliedResponse = {
|
|
710
|
+
applied: true;
|
|
711
|
+
status: 'applied';
|
|
712
|
+
previous_tier: SubscriptionTierName;
|
|
713
|
+
previous_tier_name: string;
|
|
714
|
+
tier: SubscriptionTierName;
|
|
715
|
+
tier_name: string;
|
|
716
|
+
interval: UpgradeInterval;
|
|
717
|
+
trialing: boolean;
|
|
718
|
+
charged_cents: number | null;
|
|
719
|
+
account_limit: number;
|
|
720
|
+
included_credits: number;
|
|
721
|
+
};
|
|
722
|
+
export type UpgradePaymentRequiredResponse = {
|
|
723
|
+
applied: false;
|
|
724
|
+
status: 'payment_required';
|
|
725
|
+
payment_required: true;
|
|
726
|
+
message: string;
|
|
727
|
+
hosted_invoice_url: string | null;
|
|
728
|
+
payment_pending: UpgradePaymentPending;
|
|
729
|
+
previous_tier: SubscriptionTierName;
|
|
730
|
+
previous_tier_name: string;
|
|
731
|
+
requested_tier: SubscriptionTierName;
|
|
732
|
+
requested_tier_name: string;
|
|
733
|
+
interval: UpgradeInterval;
|
|
734
|
+
account_limit_after_payment: number;
|
|
735
|
+
included_credits_after_payment: number;
|
|
736
|
+
};
|
|
737
|
+
export type UpgradeSubscriptionResponse = UpgradeAppliedResponse | UpgradePaymentRequiredResponse;
|
|
738
|
+
export type ExtraAccountsPaymentPending = {
|
|
739
|
+
hosted_invoice_url: string | null;
|
|
740
|
+
requested_extra_accounts: number;
|
|
741
|
+
amount_due_cents: number | null;
|
|
742
|
+
expires_at: string | null;
|
|
743
|
+
};
|
|
744
|
+
export type ExtraAccountsStateResponse = {
|
|
745
|
+
eligible: boolean;
|
|
746
|
+
code: string | null;
|
|
747
|
+
reason: string | null;
|
|
748
|
+
trialing: boolean;
|
|
749
|
+
interval: 'month' | 'year' | null;
|
|
750
|
+
included_accounts: number;
|
|
751
|
+
admin_granted_accounts: number;
|
|
752
|
+
paid_extra_accounts: number;
|
|
753
|
+
account_limit: number;
|
|
754
|
+
accounts_in_use: number;
|
|
755
|
+
highest_accounts_in_use: number;
|
|
756
|
+
min_paid_extra_accounts: number;
|
|
757
|
+
min_purchase: number;
|
|
758
|
+
price_per_account_cents: number | null;
|
|
759
|
+
price_per_account: string | null;
|
|
760
|
+
recurring_cents: number | null;
|
|
761
|
+
payment_pending: ExtraAccountsPaymentPending | null;
|
|
762
|
+
};
|
|
763
|
+
export type ExtraAccountsQuote = {
|
|
764
|
+
kind: 'none' | 'increase' | 'decrease' | 'remove';
|
|
765
|
+
current_extra_accounts: number;
|
|
766
|
+
new_extra_accounts: number;
|
|
767
|
+
change: number;
|
|
768
|
+
included_accounts: number;
|
|
769
|
+
account_limit_after: number;
|
|
770
|
+
accounts_in_use: number;
|
|
771
|
+
interval: 'month' | 'year';
|
|
772
|
+
trialing: boolean;
|
|
773
|
+
price_per_account_cents: number;
|
|
774
|
+
current_recurring_cents: number;
|
|
775
|
+
new_recurring_cents: number;
|
|
776
|
+
new_recurring: string;
|
|
777
|
+
charge_today_cents: number;
|
|
778
|
+
charge_today: string;
|
|
779
|
+
currency: string;
|
|
780
|
+
};
|
|
781
|
+
export type ExtraAccountsQuoteResponse = {
|
|
782
|
+
dry_run: true;
|
|
783
|
+
quote: ExtraAccountsQuote;
|
|
784
|
+
};
|
|
785
|
+
export type ExtraAccountsAppliedResponse = {
|
|
786
|
+
applied: true;
|
|
787
|
+
status: 'applied' | 'unchanged';
|
|
788
|
+
kind: ExtraAccountsQuote['kind'];
|
|
789
|
+
previous_extra_accounts: number;
|
|
790
|
+
extra_accounts: number;
|
|
791
|
+
included_accounts: number;
|
|
792
|
+
account_limit: number;
|
|
793
|
+
accounts_in_use: number;
|
|
794
|
+
interval: 'month' | 'year';
|
|
795
|
+
price_per_account_cents: number;
|
|
796
|
+
recurring_cents: number;
|
|
797
|
+
};
|
|
798
|
+
export type ExtraAccountsPaymentRequiredResponse = {
|
|
799
|
+
applied: false;
|
|
800
|
+
status: 'payment_required';
|
|
801
|
+
payment_required: true;
|
|
802
|
+
message: string;
|
|
803
|
+
hosted_invoice_url: string | null;
|
|
804
|
+
payment_pending: ExtraAccountsPaymentPending;
|
|
805
|
+
kind: ExtraAccountsQuote['kind'];
|
|
806
|
+
previous_extra_accounts: number;
|
|
807
|
+
requested_extra_accounts: number;
|
|
808
|
+
included_accounts: number;
|
|
809
|
+
account_limit_after_payment: number;
|
|
810
|
+
interval: 'month' | 'year';
|
|
811
|
+
price_per_account_cents: number;
|
|
812
|
+
recurring_cents: number;
|
|
813
|
+
};
|
|
814
|
+
export type ExtraAccountsChangeResponse = ExtraAccountsAppliedResponse | ExtraAccountsPaymentRequiredResponse;
|
|
649
815
|
export type AskSupportResponse = {
|
|
650
816
|
success: boolean;
|
|
651
817
|
workspace_id: string;
|
|
@@ -1341,6 +1507,36 @@ export declare class PosterlyClient {
|
|
|
1341
1507
|
downgradeSubscription(data: {
|
|
1342
1508
|
tier?: SubscriptionTierName;
|
|
1343
1509
|
}): Promise<DowngradeSubscriptionResponse>;
|
|
1510
|
+
/** Exact price of a plan upgrade; charges nothing. */
|
|
1511
|
+
quoteUpgrade(data: {
|
|
1512
|
+
tier: SubscriptionTierName;
|
|
1513
|
+
interval?: 'month' | 'year';
|
|
1514
|
+
workspace_id?: string;
|
|
1515
|
+
}): Promise<UpgradeQuoteResponse>;
|
|
1516
|
+
/** Applies the upgrade and charges the saved card. Only call after a quote was shown and approved. */
|
|
1517
|
+
upgradeSubscription(data: {
|
|
1518
|
+
tier: SubscriptionTierName;
|
|
1519
|
+
interval?: 'month' | 'year';
|
|
1520
|
+
request_id?: string;
|
|
1521
|
+
workspace_id?: string;
|
|
1522
|
+
/** What the quote was based on; the API answers 409 quote_stale when the live values differ. */
|
|
1523
|
+
expected_current_tier?: SubscriptionTierName;
|
|
1524
|
+
expected_interval?: UpgradeInterval;
|
|
1525
|
+
}): Promise<UpgradeSubscriptionResponse>;
|
|
1526
|
+
/** Exact price of a change; charges nothing. */
|
|
1527
|
+
quoteExtraAccounts(data: {
|
|
1528
|
+
extra_accounts: number;
|
|
1529
|
+
workspace_id?: string;
|
|
1530
|
+
}): Promise<ExtraAccountsQuoteResponse>;
|
|
1531
|
+
/** Applies the change and charges the saved card. Only call after a quote was shown and approved. */
|
|
1532
|
+
setExtraAccounts(data: {
|
|
1533
|
+
extra_accounts: number;
|
|
1534
|
+
request_id?: string;
|
|
1535
|
+
workspace_id?: string;
|
|
1536
|
+
/** What the quote was based on; the API answers 409 quote_stale when the live values differ. */
|
|
1537
|
+
expected_current_extra_accounts?: number;
|
|
1538
|
+
expected_interval?: 'month' | 'year';
|
|
1539
|
+
}): Promise<ExtraAccountsChangeResponse>;
|
|
1344
1540
|
listAccounts(params?: {
|
|
1345
1541
|
workspace_id?: string;
|
|
1346
1542
|
}): Promise<Account[]>;
|
package/dist/lib/api-client.js
CHANGED
|
@@ -264,6 +264,22 @@ export class PosterlyClient {
|
|
|
264
264
|
async downgradeSubscription(data) {
|
|
265
265
|
return this.request('POST', '/subscription/downgrade', data);
|
|
266
266
|
}
|
|
267
|
+
/** Exact price of a plan upgrade; charges nothing. */
|
|
268
|
+
async quoteUpgrade(data) {
|
|
269
|
+
return this.request('POST', '/subscription/upgrade', { ...data, dry_run: true });
|
|
270
|
+
}
|
|
271
|
+
/** Applies the upgrade and charges the saved card. Only call after a quote was shown and approved. */
|
|
272
|
+
async upgradeSubscription(data) {
|
|
273
|
+
return this.request('POST', '/subscription/upgrade', data);
|
|
274
|
+
}
|
|
275
|
+
/** Exact price of a change; charges nothing. */
|
|
276
|
+
async quoteExtraAccounts(data) {
|
|
277
|
+
return this.request('POST', '/subscription/extra-accounts', { ...data, dry_run: true });
|
|
278
|
+
}
|
|
279
|
+
/** Applies the change and charges the saved card. Only call after a quote was shown and approved. */
|
|
280
|
+
async setExtraAccounts(data) {
|
|
281
|
+
return this.request('POST', '/subscription/extra-accounts', data);
|
|
282
|
+
}
|
|
267
283
|
async listAccounts(params) {
|
|
268
284
|
const searchParams = new URLSearchParams();
|
|
269
285
|
if (params?.workspace_id)
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const POSTERLY_MCP_VERSION = "0.
|
|
1
|
+
export declare const POSTERLY_MCP_VERSION = "0.53.2";
|
package/dist/lib/version.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
// tool set (minus the intentional pre-auth signup tools that only this stdio
|
|
6
6
|
// package exposes). `npm run check:mcp-parity` enforces both the version match
|
|
7
7
|
// and the tool-list match, and runs in the pre-commit hook.
|
|
8
|
-
export const POSTERLY_MCP_VERSION = '0.
|
|
8
|
+
export const POSTERLY_MCP_VERSION = '0.53.2';
|
|
@@ -23,7 +23,7 @@ function formatCanceled(result) {
|
|
|
23
23
|
}
|
|
24
24
|
export const cancelSubscriptionTool = {
|
|
25
25
|
name: 'cancel_subscription',
|
|
26
|
-
description: "Cancel the authenticated user's posterly subscription. DESTRUCTIVE
|
|
26
|
+
description: "Cancel the authenticated user's posterly subscription. DESTRUCTIVE; requires billing:write. ALWAYS ask the user why they are cancelling FIRST and pass their answer as `reason` (one of the allowed values). By default an active or trialing plan is set to cancel at the end of the current period. A past_due or unpaid plan always ends now, even when immediate is false: the unpaid renewal is dropped and payment retries stop. Pass immediate=true only when the user explicitly wants an active plan cancelled right now. Only call after the user explicitly confirms.",
|
|
27
27
|
inputSchema: z.object({
|
|
28
28
|
reason: z.enum(CANCELLATION_REASONS).describe('Why the user is cancelling. Ask the user before calling; do not guess.'),
|
|
29
29
|
feedback: z.string().max(2000).optional().describe('Optional free-text detail the user gave about why they are cancelling.'),
|
|
@@ -78,9 +78,9 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
78
78
|
option_d?: string | undefined;
|
|
79
79
|
}>>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
81
82
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
82
83
|
options?: string[] | undefined;
|
|
83
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
84
84
|
extended_duration?: boolean | undefined;
|
|
85
85
|
poll_attachment?: {
|
|
86
86
|
options?: string[] | undefined;
|
|
@@ -90,9 +90,9 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
90
90
|
option_d?: string | undefined;
|
|
91
91
|
} | undefined;
|
|
92
92
|
}, {
|
|
93
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
93
94
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
94
95
|
options?: string[] | undefined;
|
|
95
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
96
96
|
extended_duration?: boolean | undefined;
|
|
97
97
|
poll_attachment?: {
|
|
98
98
|
options?: string[] | undefined;
|
|
@@ -158,9 +158,9 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
158
158
|
option_d?: string | undefined;
|
|
159
159
|
} | undefined;
|
|
160
160
|
caption_addon?: {
|
|
161
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
161
162
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
162
163
|
options?: string[] | undefined;
|
|
163
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
164
164
|
extended_duration?: boolean | undefined;
|
|
165
165
|
poll_attachment?: {
|
|
166
166
|
options?: string[] | undefined;
|
|
@@ -207,9 +207,9 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
207
207
|
option_d?: string | undefined;
|
|
208
208
|
} | undefined;
|
|
209
209
|
caption_addon?: {
|
|
210
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
210
211
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
211
212
|
options?: string[] | undefined;
|
|
212
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
213
213
|
extended_duration?: boolean | undefined;
|
|
214
214
|
poll_attachment?: {
|
|
215
215
|
options?: string[] | undefined;
|
|
@@ -758,9 +758,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
758
758
|
option_d?: string | undefined;
|
|
759
759
|
}>>;
|
|
760
760
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
761
762
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
762
763
|
options?: string[] | undefined;
|
|
763
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
764
764
|
extended_duration?: boolean | undefined;
|
|
765
765
|
poll_attachment?: {
|
|
766
766
|
options?: string[] | undefined;
|
|
@@ -770,9 +770,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
770
770
|
option_d?: string | undefined;
|
|
771
771
|
} | undefined;
|
|
772
772
|
}, {
|
|
773
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
773
774
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
774
775
|
options?: string[] | undefined;
|
|
775
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
776
776
|
extended_duration?: boolean | undefined;
|
|
777
777
|
poll_attachment?: {
|
|
778
778
|
options?: string[] | undefined;
|
|
@@ -838,9 +838,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
838
838
|
option_d?: string | undefined;
|
|
839
839
|
} | undefined;
|
|
840
840
|
caption_addon?: {
|
|
841
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
841
842
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
842
843
|
options?: string[] | undefined;
|
|
843
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
844
844
|
extended_duration?: boolean | undefined;
|
|
845
845
|
poll_attachment?: {
|
|
846
846
|
options?: string[] | undefined;
|
|
@@ -887,9 +887,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
887
887
|
option_d?: string | undefined;
|
|
888
888
|
} | undefined;
|
|
889
889
|
caption_addon?: {
|
|
890
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
890
891
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
891
892
|
options?: string[] | undefined;
|
|
892
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
893
893
|
extended_duration?: boolean | undefined;
|
|
894
894
|
poll_attachment?: {
|
|
895
895
|
options?: string[] | undefined;
|
|
@@ -1397,9 +1397,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1397
1397
|
option_d?: string | undefined;
|
|
1398
1398
|
} | undefined;
|
|
1399
1399
|
caption_addon?: {
|
|
1400
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1400
1401
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1401
1402
|
options?: string[] | undefined;
|
|
1402
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1403
1403
|
extended_duration?: boolean | undefined;
|
|
1404
1404
|
poll_attachment?: {
|
|
1405
1405
|
options?: string[] | undefined;
|
|
@@ -1608,9 +1608,9 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1608
1608
|
option_d?: string | undefined;
|
|
1609
1609
|
} | undefined;
|
|
1610
1610
|
caption_addon?: {
|
|
1611
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1611
1612
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1612
1613
|
options?: string[] | undefined;
|
|
1613
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1614
1614
|
extended_duration?: boolean | undefined;
|
|
1615
1615
|
poll_attachment?: {
|
|
1616
1616
|
options?: string[] | undefined;
|
|
@@ -1862,9 +1862,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1862
1862
|
option_d?: string | undefined;
|
|
1863
1863
|
}>>;
|
|
1864
1864
|
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1865
1866
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1866
1867
|
options?: string[] | undefined;
|
|
1867
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1868
1868
|
extended_duration?: boolean | undefined;
|
|
1869
1869
|
poll_attachment?: {
|
|
1870
1870
|
options?: string[] | undefined;
|
|
@@ -1874,9 +1874,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1874
1874
|
option_d?: string | undefined;
|
|
1875
1875
|
} | undefined;
|
|
1876
1876
|
}, {
|
|
1877
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1877
1878
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1878
1879
|
options?: string[] | undefined;
|
|
1879
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1880
1880
|
extended_duration?: boolean | undefined;
|
|
1881
1881
|
poll_attachment?: {
|
|
1882
1882
|
options?: string[] | undefined;
|
|
@@ -1942,9 +1942,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1942
1942
|
option_d?: string | undefined;
|
|
1943
1943
|
} | undefined;
|
|
1944
1944
|
caption_addon?: {
|
|
1945
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1945
1946
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1946
1947
|
options?: string[] | undefined;
|
|
1947
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1948
1948
|
extended_duration?: boolean | undefined;
|
|
1949
1949
|
poll_attachment?: {
|
|
1950
1950
|
options?: string[] | undefined;
|
|
@@ -1991,9 +1991,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1991
1991
|
option_d?: string | undefined;
|
|
1992
1992
|
} | undefined;
|
|
1993
1993
|
caption_addon?: {
|
|
1994
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1994
1995
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1995
1996
|
options?: string[] | undefined;
|
|
1996
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1997
1997
|
extended_duration?: boolean | undefined;
|
|
1998
1998
|
poll_attachment?: {
|
|
1999
1999
|
options?: string[] | undefined;
|
|
@@ -2504,9 +2504,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2504
2504
|
option_d?: string | undefined;
|
|
2505
2505
|
} | undefined;
|
|
2506
2506
|
caption_addon?: {
|
|
2507
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2507
2508
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2508
2509
|
options?: string[] | undefined;
|
|
2509
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2510
2510
|
extended_duration?: boolean | undefined;
|
|
2511
2511
|
poll_attachment?: {
|
|
2512
2512
|
options?: string[] | undefined;
|
|
@@ -2716,9 +2716,9 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2716
2716
|
option_d?: string | undefined;
|
|
2717
2717
|
} | undefined;
|
|
2718
2718
|
caption_addon?: {
|
|
2719
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2719
2720
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2720
2721
|
options?: string[] | undefined;
|
|
2721
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2722
2722
|
extended_duration?: boolean | undefined;
|
|
2723
2723
|
poll_attachment?: {
|
|
2724
2724
|
options?: string[] | undefined;
|
|
@@ -2999,9 +2999,9 @@ export declare const createPostTool: {
|
|
|
2999
2999
|
option_d?: string | undefined;
|
|
3000
3000
|
}>>;
|
|
3001
3001
|
}, "strip", z.ZodTypeAny, {
|
|
3002
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3002
3003
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3003
3004
|
options?: string[] | undefined;
|
|
3004
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3005
3005
|
extended_duration?: boolean | undefined;
|
|
3006
3006
|
poll_attachment?: {
|
|
3007
3007
|
options?: string[] | undefined;
|
|
@@ -3011,9 +3011,9 @@ export declare const createPostTool: {
|
|
|
3011
3011
|
option_d?: string | undefined;
|
|
3012
3012
|
} | undefined;
|
|
3013
3013
|
}, {
|
|
3014
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3014
3015
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3015
3016
|
options?: string[] | undefined;
|
|
3016
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3017
3017
|
extended_duration?: boolean | undefined;
|
|
3018
3018
|
poll_attachment?: {
|
|
3019
3019
|
options?: string[] | undefined;
|
|
@@ -3079,9 +3079,9 @@ export declare const createPostTool: {
|
|
|
3079
3079
|
option_d?: string | undefined;
|
|
3080
3080
|
} | undefined;
|
|
3081
3081
|
caption_addon?: {
|
|
3082
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3082
3083
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3083
3084
|
options?: string[] | undefined;
|
|
3084
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3085
3085
|
extended_duration?: boolean | undefined;
|
|
3086
3086
|
poll_attachment?: {
|
|
3087
3087
|
options?: string[] | undefined;
|
|
@@ -3128,9 +3128,9 @@ export declare const createPostTool: {
|
|
|
3128
3128
|
option_d?: string | undefined;
|
|
3129
3129
|
} | undefined;
|
|
3130
3130
|
caption_addon?: {
|
|
3131
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3131
3132
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3132
3133
|
options?: string[] | undefined;
|
|
3133
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3134
3134
|
extended_duration?: boolean | undefined;
|
|
3135
3135
|
poll_attachment?: {
|
|
3136
3136
|
options?: string[] | undefined;
|
|
@@ -3641,9 +3641,9 @@ export declare const createPostTool: {
|
|
|
3641
3641
|
option_d?: string | undefined;
|
|
3642
3642
|
} | undefined;
|
|
3643
3643
|
caption_addon?: {
|
|
3644
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3644
3645
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3645
3646
|
options?: string[] | undefined;
|
|
3646
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3647
3647
|
extended_duration?: boolean | undefined;
|
|
3648
3648
|
poll_attachment?: {
|
|
3649
3649
|
options?: string[] | undefined;
|
|
@@ -3853,9 +3853,9 @@ export declare const createPostTool: {
|
|
|
3853
3853
|
option_d?: string | undefined;
|
|
3854
3854
|
} | undefined;
|
|
3855
3855
|
caption_addon?: {
|
|
3856
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3856
3857
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3857
3858
|
options?: string[] | undefined;
|
|
3858
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3859
3859
|
extended_duration?: boolean | undefined;
|
|
3860
3860
|
poll_attachment?: {
|
|
3861
3861
|
options?: string[] | undefined;
|
|
@@ -93,9 +93,9 @@ export declare const createPostsBatchTool: {
|
|
|
93
93
|
option_d?: string | undefined;
|
|
94
94
|
}>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
96
97
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
97
98
|
options?: string[] | undefined;
|
|
98
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
99
99
|
extended_duration?: boolean | undefined;
|
|
100
100
|
poll_attachment?: {
|
|
101
101
|
options?: string[] | undefined;
|
|
@@ -105,9 +105,9 @@ export declare const createPostsBatchTool: {
|
|
|
105
105
|
option_d?: string | undefined;
|
|
106
106
|
} | undefined;
|
|
107
107
|
}, {
|
|
108
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
108
109
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
109
110
|
options?: string[] | undefined;
|
|
110
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
111
111
|
extended_duration?: boolean | undefined;
|
|
112
112
|
poll_attachment?: {
|
|
113
113
|
options?: string[] | undefined;
|
|
@@ -173,9 +173,9 @@ export declare const createPostsBatchTool: {
|
|
|
173
173
|
option_d?: string | undefined;
|
|
174
174
|
} | undefined;
|
|
175
175
|
caption_addon?: {
|
|
176
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
176
177
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
177
178
|
options?: string[] | undefined;
|
|
178
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
179
179
|
extended_duration?: boolean | undefined;
|
|
180
180
|
poll_attachment?: {
|
|
181
181
|
options?: string[] | undefined;
|
|
@@ -222,9 +222,9 @@ export declare const createPostsBatchTool: {
|
|
|
222
222
|
option_d?: string | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
caption_addon?: {
|
|
225
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
225
226
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
226
227
|
options?: string[] | undefined;
|
|
227
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
228
228
|
extended_duration?: boolean | undefined;
|
|
229
229
|
poll_attachment?: {
|
|
230
230
|
options?: string[] | undefined;
|
|
@@ -732,9 +732,9 @@ export declare const createPostsBatchTool: {
|
|
|
732
732
|
option_d?: string | undefined;
|
|
733
733
|
} | undefined;
|
|
734
734
|
caption_addon?: {
|
|
735
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
735
736
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
736
737
|
options?: string[] | undefined;
|
|
737
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
738
738
|
extended_duration?: boolean | undefined;
|
|
739
739
|
poll_attachment?: {
|
|
740
740
|
options?: string[] | undefined;
|
|
@@ -943,9 +943,9 @@ export declare const createPostsBatchTool: {
|
|
|
943
943
|
option_d?: string | undefined;
|
|
944
944
|
} | undefined;
|
|
945
945
|
caption_addon?: {
|
|
946
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
946
947
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
947
948
|
options?: string[] | undefined;
|
|
948
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
949
949
|
extended_duration?: boolean | undefined;
|
|
950
950
|
poll_attachment?: {
|
|
951
951
|
options?: string[] | undefined;
|
|
@@ -1158,9 +1158,9 @@ export declare const createPostsBatchTool: {
|
|
|
1158
1158
|
option_d?: string | undefined;
|
|
1159
1159
|
} | undefined;
|
|
1160
1160
|
caption_addon?: {
|
|
1161
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1161
1162
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1162
1163
|
options?: string[] | undefined;
|
|
1163
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1164
1164
|
extended_duration?: boolean | undefined;
|
|
1165
1165
|
poll_attachment?: {
|
|
1166
1166
|
options?: string[] | undefined;
|
|
@@ -1372,9 +1372,9 @@ export declare const createPostsBatchTool: {
|
|
|
1372
1372
|
option_d?: string | undefined;
|
|
1373
1373
|
} | undefined;
|
|
1374
1374
|
caption_addon?: {
|
|
1375
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1375
1376
|
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1376
1377
|
options?: string[] | undefined;
|
|
1377
|
-
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1378
1378
|
extended_duration?: boolean | undefined;
|
|
1379
1379
|
poll_attachment?: {
|
|
1380
1380
|
options?: string[] | undefined;
|