posterly-mcp-server 0.48.4 → 0.49.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 +18 -3
- package/dist/index.js +4 -0
- package/dist/lib/api-client.d.ts +149 -12
- package/dist/lib/api-client.js +59 -16
- package/dist/lib/format.d.ts +39 -2
- package/dist/lib/format.js +158 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/audit-google-business-profile.d.ts +2 -2
- package/dist/tools/connect-account.d.ts +2 -2
- package/dist/tools/create-post.d.ts +12 -12
- package/dist/tools/create-posts-batch.d.ts +8 -8
- package/dist/tools/create-webhook.d.ts +2 -2
- package/dist/tools/disconnect-account.d.ts +2 -2
- package/dist/tools/find-slot.d.ts +2 -2
- package/dist/tools/get-updates.d.ts +4 -0
- package/dist/tools/get-updates.js +13 -1
- package/dist/tools/list-accounts.d.ts +2 -2
- package/dist/tools/list-activity.d.ts +4 -0
- package/dist/tools/list-activity.js +16 -3
- package/dist/tools/list-analytics.d.ts +2 -2
- package/dist/tools/list-brands.d.ts +2 -2
- package/dist/tools/list-comments.d.ts +2 -2
- package/dist/tools/list-conversations.d.ts +2 -2
- package/dist/tools/list-google-business-media.d.ts +2 -2
- package/dist/tools/list-google-business-reviews.d.ts +4 -4
- package/dist/tools/list-media.d.ts +4 -0
- package/dist/tools/list-media.js +22 -1
- package/dist/tools/list-platforms.d.ts +4 -4
- package/dist/tools/list-post-suggestions.d.ts +4 -0
- package/dist/tools/list-post-suggestions.js +16 -4
- package/dist/tools/list-posts.d.ts +35 -17
- package/dist/tools/list-posts.js +63 -33
- package/dist/tools/list-publishing-pauses.d.ts +19 -0
- package/dist/tools/list-publishing-pauses.js +81 -0
- package/dist/tools/manage-comment.d.ts +2 -2
- package/dist/tools/manage-conversation.d.ts +4 -4
- package/dist/tools/manage-google-business-media.d.ts +8 -8
- package/dist/tools/manage-google-business-review.d.ts +10 -10
- package/dist/tools/manage-publishing-pause.d.ts +35 -0
- package/dist/tools/manage-publishing-pause.js +47 -0
- package/dist/tools/manage-webhook.d.ts +4 -4
- package/dist/tools/validate-post.d.ts +8 -8
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/index.ts +4 -0
- package/src/lib/api-client.ts +172 -17
- package/src/lib/format.ts +201 -1
- package/src/lib/version.ts +1 -1
- package/src/tools/get-updates.ts +15 -1
- package/src/tools/list-activity.ts +18 -3
- package/src/tools/list-media.ts +23 -2
- package/src/tools/list-post-suggestions.ts +17 -4
- package/src/tools/list-posts.ts +74 -45
- package/src/tools/list-publishing-pauses.ts +98 -0
- package/src/tools/manage-publishing-pause.ts +62 -0
- package/tool-annotations.json +5 -0
- package/tool-registry.json +173 -6
package/tool-registry.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"admin": {
|
|
28
28
|
"label": "Admin",
|
|
29
|
-
"description": "API keys, OAuth clients, webhooks, and
|
|
29
|
+
"description": "API keys, OAuth clients, webhooks, workspace members, and the publishing pause."
|
|
30
30
|
},
|
|
31
31
|
"billing": {
|
|
32
32
|
"label": "Billing",
|
|
@@ -175,6 +175,68 @@
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
|
+
"list_publishing_pauses": {
|
|
179
|
+
"set": "admin",
|
|
180
|
+
"label": "Publishing pause",
|
|
181
|
+
"readOnly": true,
|
|
182
|
+
"destructive": false,
|
|
183
|
+
"idempotent": true,
|
|
184
|
+
"openWorld": false,
|
|
185
|
+
"confirm": "none"
|
|
186
|
+
},
|
|
187
|
+
"manage_publishing_pause": {
|
|
188
|
+
"set": "admin",
|
|
189
|
+
"label": "Pause or resume publishing",
|
|
190
|
+
"selector": "action",
|
|
191
|
+
"actions": {
|
|
192
|
+
"pause": {
|
|
193
|
+
"label": "Pause publishing",
|
|
194
|
+
"destructive": true,
|
|
195
|
+
"idempotent": true,
|
|
196
|
+
"openWorld": false,
|
|
197
|
+
"confirm": "confirm",
|
|
198
|
+
"params": {
|
|
199
|
+
"workspace_id": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"brand_id": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"resume": {
|
|
208
|
+
"label": "Resume publishing",
|
|
209
|
+
"destructive": false,
|
|
210
|
+
"idempotent": true,
|
|
211
|
+
"openWorld": false,
|
|
212
|
+
"confirm": "none",
|
|
213
|
+
"params": {
|
|
214
|
+
"workspace_id": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"brand_id": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"publish_missed": {
|
|
223
|
+
"label": "Publish missed posts now",
|
|
224
|
+
"destructive": false,
|
|
225
|
+
"idempotent": false,
|
|
226
|
+
"openWorld": true,
|
|
227
|
+
"confirm": "confirm",
|
|
228
|
+
"params": {
|
|
229
|
+
"workspace_id": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"post_ids": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"required": true
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
178
240
|
"list_accounts": {
|
|
179
241
|
"set": "core",
|
|
180
242
|
"label": "Connected accounts",
|
|
@@ -492,11 +554,116 @@
|
|
|
492
554
|
"list_posts": {
|
|
493
555
|
"set": "core",
|
|
494
556
|
"label": "Posts",
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
557
|
+
"selector": "view",
|
|
558
|
+
"defaultMode": "list",
|
|
559
|
+
"views": {
|
|
560
|
+
"list": {
|
|
561
|
+
"label": "Posts, one page at a time",
|
|
562
|
+
"openWorld": false,
|
|
563
|
+
"params": {
|
|
564
|
+
"status": {
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
"platform": {
|
|
568
|
+
"type": "string"
|
|
569
|
+
},
|
|
570
|
+
"account_id": {
|
|
571
|
+
"type": "string"
|
|
572
|
+
},
|
|
573
|
+
"workspace_id": {
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
"brand_id": {
|
|
577
|
+
"type": "string"
|
|
578
|
+
},
|
|
579
|
+
"approval_status": {
|
|
580
|
+
"type": "string"
|
|
581
|
+
},
|
|
582
|
+
"approval_waiting_on": {
|
|
583
|
+
"type": "string"
|
|
584
|
+
},
|
|
585
|
+
"timezone": {
|
|
586
|
+
"type": "string"
|
|
587
|
+
},
|
|
588
|
+
"scheduled_from": {
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"scheduled_to": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
"order": {
|
|
595
|
+
"type": "string",
|
|
596
|
+
"enum": [
|
|
597
|
+
"asc",
|
|
598
|
+
"desc"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
"limit": {
|
|
602
|
+
"type": "number",
|
|
603
|
+
"min": 1,
|
|
604
|
+
"max": 200
|
|
605
|
+
},
|
|
606
|
+
"offset": {
|
|
607
|
+
"type": "integer",
|
|
608
|
+
"min": 0
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"counts": {
|
|
613
|
+
"label": "Post counts by day, status, account, and brand",
|
|
614
|
+
"openWorld": false,
|
|
615
|
+
"params": {
|
|
616
|
+
"status": {
|
|
617
|
+
"type": "string"
|
|
618
|
+
},
|
|
619
|
+
"platform": {
|
|
620
|
+
"type": "string"
|
|
621
|
+
},
|
|
622
|
+
"account_id": {
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"workspace_id": {
|
|
626
|
+
"type": "string"
|
|
627
|
+
},
|
|
628
|
+
"brand_id": {
|
|
629
|
+
"type": "string"
|
|
630
|
+
},
|
|
631
|
+
"approval_status": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
634
|
+
"approval_waiting_on": {
|
|
635
|
+
"type": "string"
|
|
636
|
+
},
|
|
637
|
+
"timezone": {
|
|
638
|
+
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"scheduled_from": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"required": true
|
|
643
|
+
},
|
|
644
|
+
"scheduled_to": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"required": true
|
|
647
|
+
},
|
|
648
|
+
"order": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"enum": [
|
|
651
|
+
"asc",
|
|
652
|
+
"desc"
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
"limit": {
|
|
656
|
+
"type": "number",
|
|
657
|
+
"min": 1,
|
|
658
|
+
"max": 200
|
|
659
|
+
},
|
|
660
|
+
"offset": {
|
|
661
|
+
"type": "integer",
|
|
662
|
+
"min": 0
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
500
667
|
},
|
|
501
668
|
"get_post": {
|
|
502
669
|
"set": "core",
|