posterly-mcp-server 0.54.4 → 0.55.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 +48 -5
- package/dist/generated/platform-manifest.d.ts +4 -4
- package/dist/generated/platform-manifest.js +9 -4
- package/dist/index.js +15 -2
- package/dist/lib/alias-transport.js +4 -0
- package/dist/lib/api-client.d.ts +152 -0
- package/dist/lib/api-client.js +88 -0
- package/dist/lib/claude-directory-profile.js +4 -2
- package/dist/lib/format.d.ts +44 -0
- package/dist/lib/format.js +125 -5
- package/dist/lib/gbp-location-preview.d.ts +21 -0
- package/dist/lib/gbp-location-preview.js +27 -0
- package/dist/lib/google-business-review-name.d.ts +36 -0
- package/dist/lib/google-business-review-name.js +83 -0
- package/dist/lib/id-schema.d.ts +14 -0
- package/dist/lib/id-schema.js +82 -0
- package/dist/lib/id-text.d.ts +26 -0
- package/dist/lib/id-text.js +63 -0
- package/dist/lib/reply-window.d.ts +5 -0
- package/dist/lib/reply-window.js +14 -0
- package/dist/lib/service-area-text.d.ts +27 -0
- package/dist/lib/service-area-text.js +41 -0
- package/dist/lib/suggestion-accept-note.d.ts +10 -0
- package/dist/lib/suggestion-accept-note.js +17 -0
- package/dist/lib/tool-registry.js +19 -2
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/audit-google-business-profile.js +7 -3
- package/dist/tools/connect-account.d.ts +2 -2
- package/dist/tools/create-connect-session.d.ts +2 -2
- package/dist/tools/create-post.d.ts +6 -6
- package/dist/tools/create-posts-batch.d.ts +4 -4
- package/dist/tools/create-webhook.d.ts +3 -3
- package/dist/tools/delete-post.d.ts +4 -4
- package/dist/tools/dismiss-suggestion.d.ts +7 -0
- package/dist/tools/dismiss-suggestion.js +21 -2
- package/dist/tools/find-slot.js +7 -4
- package/dist/tools/get-post.js +56 -5
- package/dist/tools/list-accounts.d.ts +4 -0
- package/dist/tools/list-accounts.js +25 -6
- package/dist/tools/list-analytics.d.ts +4 -0
- package/dist/tools/list-analytics.js +29 -7
- package/dist/tools/list-comments.d.ts +10 -0
- package/dist/tools/list-comments.js +54 -22
- package/dist/tools/list-conversations.d.ts +19 -4
- package/dist/tools/list-conversations.js +55 -15
- package/dist/tools/list-google-business-locations.d.ts +27 -0
- package/dist/tools/list-google-business-locations.js +35 -0
- package/dist/tools/list-google-business-media.d.ts +8 -0
- package/dist/tools/list-google-business-media.js +19 -5
- package/dist/tools/list-google-business-reviews.js +12 -2
- package/dist/tools/list-google-business-service-areas.d.ts +37 -0
- package/dist/tools/list-google-business-service-areas.js +33 -0
- package/dist/tools/list-media.js +3 -2
- package/dist/tools/list-platforms.d.ts +10 -10
- package/dist/tools/list-post-suggestions.js +5 -4
- package/dist/tools/list-posts.d.ts +8 -2
- package/dist/tools/list-posts.js +12 -2
- package/dist/tools/list-webhooks.d.ts +18 -1
- package/dist/tools/list-webhooks.js +22 -3
- package/dist/tools/list-workspace-members.js +3 -1
- package/dist/tools/manage-brands.d.ts +47 -0
- package/dist/tools/manage-brands.js +89 -0
- package/dist/tools/manage-comment.js +5 -1
- package/dist/tools/manage-google-business-location.d.ts +123 -0
- package/dist/tools/manage-google-business-location.js +97 -0
- package/dist/tools/manage-google-business-media.js +2 -0
- package/dist/tools/manage-google-business-review.js +31 -5
- package/dist/tools/manage-google-business-service-area.d.ts +74 -0
- package/dist/tools/manage-google-business-service-area.js +79 -0
- package/dist/tools/manage-webhook.d.ts +6 -6
- package/dist/tools/manage-x-posting-addon.d.ts +47 -0
- package/dist/tools/manage-x-posting-addon.js +92 -0
- package/dist/tools/trigger-platform-helper.d.ts +5 -5
- package/dist/tools/update-post.d.ts +14 -6
- package/dist/tools/update-post.js +23 -2
- package/dist/tools/upload-media.d.ts +12 -0
- package/dist/tools/upload-media.js +39 -3
- package/dist/tools/validate-post.d.ts +4 -4
- package/dist/tools/webhook-events.d.ts +2 -2
- package/dist/tools/webhook-events.js +2 -0
- package/dist/tools/whoami.d.ts +4 -0
- package/dist/tools/whoami.js +14 -6
- package/package.json +1 -1
- package/server.json +2 -2
- package/tool-annotations.json +21 -2
- package/tool-registry.json +251 -8
package/dist/tools/whoami.d.ts
CHANGED
|
@@ -6,9 +6,12 @@ export declare const whoamiTool: {
|
|
|
6
6
|
description: string;
|
|
7
7
|
inputSchema: z.ZodObject<{
|
|
8
8
|
view: z.ZodOptional<z.ZodEnum<["identity", "status"]>>;
|
|
9
|
+
include: z.ZodOptional<z.ZodEnum<["api_keys"]>>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
include?: "api_keys" | undefined;
|
|
10
12
|
view?: "status" | "identity" | undefined;
|
|
11
13
|
}, {
|
|
14
|
+
include?: "api_keys" | undefined;
|
|
12
15
|
view?: "status" | "identity" | undefined;
|
|
13
16
|
}>;
|
|
14
17
|
/** The old tools' exact input schemas, for alias calls (see alias-transport.ts). */
|
|
@@ -17,5 +20,6 @@ export declare const whoamiTool: {
|
|
|
17
20
|
};
|
|
18
21
|
execute(client: PosterlyClient, input: {
|
|
19
22
|
view?: "identity" | "status";
|
|
23
|
+
include?: "api_keys";
|
|
20
24
|
}, ctx: ToolContext): Promise<string>;
|
|
21
25
|
};
|
package/dist/tools/whoami.js
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { POSTERLY_MCP_VERSION } from '../lib/version.js';
|
|
3
3
|
import { resolvePosterlyBaseUrl } from '../lib/api-client.js';
|
|
4
|
-
import { code, mdKeyValue, mdTable, mdTitle } from '../lib/format.js';
|
|
4
|
+
import { code, formatApiKeyList, mdKeyValue, mdTable, mdTitle } from '../lib/format.js';
|
|
5
5
|
import { validateArgs } from '../lib/tool-runtime.js';
|
|
6
6
|
const NPM_LATEST_URL = 'https://registry.npmjs.org/posterly-mcp-server/latest';
|
|
7
7
|
export const whoamiTool = {
|
|
8
8
|
name: 'whoami',
|
|
9
|
-
description: 'Who you are and how posterly is connected. view=identity (default): the authenticated user, API key scopes, workspaces, and onboarding next step. ALWAYS call this at the start of a session; if onboarding.completed is false, walk the remaining onboarding steps IN THIS conversation (about you, connect, brand voice, first post) and do not send the user to /onboarding-v2 or the dashboard composer wizard. view=status: MCP server version, latest npm version, endpoint and API key health, and update guidance; works before POSTERLY_API_KEY is configured.',
|
|
9
|
+
description: 'Who you are and how posterly is connected. view=identity (default): the authenticated user, API key scopes, workspaces, and onboarding next step. Pass include=api_keys to also list this account\'s API keys (name, prefix, scopes, created, last used). The secret is never included. ALWAYS call this at the start of a session; if onboarding.completed is false, walk the remaining onboarding steps IN THIS conversation (about you, connect, brand voice, first post) and do not send the user to /onboarding-v2 or the dashboard composer wizard. view=status: MCP server version, latest npm version, endpoint and API key health, and update guidance; works before POSTERLY_API_KEY is configured.',
|
|
10
10
|
inputSchema: z.object({
|
|
11
11
|
view: z
|
|
12
12
|
.enum(['identity', 'status'])
|
|
13
13
|
.optional()
|
|
14
14
|
.describe('identity (default): user, scopes, workspaces, onboarding. status: MCP server and connection health.'),
|
|
15
|
+
include: z
|
|
16
|
+
.enum(['api_keys'])
|
|
17
|
+
.optional()
|
|
18
|
+
.describe('identity only. api_keys lists this account\'s API keys. The secret is never included. Omit it for the usual identity answer.'),
|
|
15
19
|
}),
|
|
16
20
|
/** The old tools' exact input schemas, for alias calls (see alias-transport.ts). */
|
|
17
21
|
legacySchemas: {
|
|
18
22
|
get_mcp_status: z.object({}),
|
|
19
23
|
},
|
|
20
24
|
async execute(client, input, ctx) {
|
|
21
|
-
const { mode } = validateArgs(ctx, 'whoami', input);
|
|
25
|
+
const { mode, args } = validateArgs(ctx, 'whoami', input);
|
|
22
26
|
if (mode === 'status')
|
|
23
27
|
return mcpStatus(client);
|
|
24
|
-
return identity(client, ctx);
|
|
28
|
+
return identity(client, ctx, args.include === 'api_keys');
|
|
25
29
|
},
|
|
26
30
|
};
|
|
27
|
-
async function identity(client, ctx) {
|
|
31
|
+
async function identity(client, ctx, includeKeys) {
|
|
28
32
|
const info = await client.whoami();
|
|
29
|
-
|
|
33
|
+
let text = [
|
|
30
34
|
mdTitle('posterly identity'),
|
|
31
35
|
mdKeyValue([
|
|
32
36
|
['User', info.user.email || code(info.user.id)],
|
|
@@ -47,6 +51,10 @@ async function identity(client, ctx) {
|
|
|
47
51
|
])),
|
|
48
52
|
'**Tip:** Pass `workspace_id` to `create_post`, `list_posts`, `list_accounts`, and `find_available_slot` when you want the assistant to stay inside one workspace.',
|
|
49
53
|
].filter(Boolean).join('\n\n');
|
|
54
|
+
if (includeKeys) {
|
|
55
|
+
const listed = await client.listApiKeys();
|
|
56
|
+
text = `${text}\n\n${formatApiKeyList(listed.api_keys)}`;
|
|
57
|
+
}
|
|
50
58
|
// Only when tool sets are filtered, so the default answer is unchanged.
|
|
51
59
|
const toolsets = ctx.toolsets;
|
|
52
60
|
if (!toolsets || toolsets.all)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posterly-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"mcpName": "io.github.awpthorp/posterly",
|
|
5
5
|
"description": "MCP server for posterly: schedule and publish social media posts across 18 platforms from any MCP client (Claude, ChatGPT, Cursor, Windsurf, Cline, and more)",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.awpthorp/posterly",
|
|
4
4
|
"title": "posterly",
|
|
5
5
|
"description": "Validate, schedule, publish, and analyze social content across 18 platforms with posterly.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.55.0",
|
|
7
7
|
"websiteUrl": "https://www.poster.ly/mcp",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/awpthorp/posterly-mcp-server",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "posterly-mcp-server",
|
|
16
|
-
"version": "0.
|
|
16
|
+
"version": "0.55.0",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|
package/tool-annotations.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"list_platforms",
|
|
20
20
|
"trigger_platform_helper",
|
|
21
21
|
"list_brands",
|
|
22
|
+
"manage_brand",
|
|
22
23
|
"list_post_suggestions",
|
|
23
24
|
"dismiss_suggestion",
|
|
24
25
|
"list_posts",
|
|
@@ -49,6 +50,10 @@
|
|
|
49
50
|
"manage_google_business_review",
|
|
50
51
|
"list_google_business_media",
|
|
51
52
|
"manage_google_business_media",
|
|
53
|
+
"list_google_business_service_areas",
|
|
54
|
+
"manage_google_business_service_area",
|
|
55
|
+
"list_google_business_locations",
|
|
56
|
+
"manage_google_business_location",
|
|
52
57
|
"list_conversations",
|
|
53
58
|
"manage_conversation",
|
|
54
59
|
"list_comments",
|
|
@@ -65,6 +70,7 @@
|
|
|
65
70
|
"downgrade_subscription",
|
|
66
71
|
"upgrade_subscription",
|
|
67
72
|
"manage_extra_account",
|
|
73
|
+
"manage_x_posting_addon",
|
|
68
74
|
"get_updates",
|
|
69
75
|
"posterly_status"
|
|
70
76
|
],
|
|
@@ -93,6 +99,8 @@
|
|
|
93
99
|
"list_google_business_reviews",
|
|
94
100
|
"audit_google_business_profile",
|
|
95
101
|
"list_google_business_media",
|
|
102
|
+
"list_google_business_service_areas",
|
|
103
|
+
"list_google_business_locations",
|
|
96
104
|
"list_conversations",
|
|
97
105
|
"list_comments",
|
|
98
106
|
"list_activity",
|
|
@@ -107,11 +115,14 @@
|
|
|
107
115
|
"manage_workspace_member",
|
|
108
116
|
"disconnect_account",
|
|
109
117
|
"manage_oauth_client",
|
|
118
|
+
"manage_brand",
|
|
110
119
|
"dismiss_suggestion",
|
|
111
120
|
"update_post",
|
|
112
121
|
"delete_post",
|
|
122
|
+
"upload_media",
|
|
113
123
|
"manage_google_business_review",
|
|
114
124
|
"manage_google_business_media",
|
|
125
|
+
"manage_google_business_location",
|
|
115
126
|
"manage_comment",
|
|
116
127
|
"manage_webhook",
|
|
117
128
|
"cancel_subscription",
|
|
@@ -119,7 +130,8 @@
|
|
|
119
130
|
"pause_subscription",
|
|
120
131
|
"downgrade_subscription",
|
|
121
132
|
"upgrade_subscription",
|
|
122
|
-
"manage_extra_account"
|
|
133
|
+
"manage_extra_account",
|
|
134
|
+
"manage_x_posting_addon"
|
|
123
135
|
],
|
|
124
136
|
"idempotentMutationTools": [
|
|
125
137
|
"delete_api_key",
|
|
@@ -133,7 +145,9 @@
|
|
|
133
145
|
"resume_subscription",
|
|
134
146
|
"downgrade_subscription",
|
|
135
147
|
"upgrade_subscription",
|
|
136
|
-
"manage_extra_account"
|
|
148
|
+
"manage_extra_account",
|
|
149
|
+
"manage_google_business_service_area",
|
|
150
|
+
"manage_google_business_location"
|
|
137
151
|
],
|
|
138
152
|
"openWorldTools": [
|
|
139
153
|
"start_signup",
|
|
@@ -166,6 +180,10 @@
|
|
|
166
180
|
"manage_google_business_review",
|
|
167
181
|
"list_google_business_media",
|
|
168
182
|
"manage_google_business_media",
|
|
183
|
+
"list_google_business_service_areas",
|
|
184
|
+
"manage_google_business_service_area",
|
|
185
|
+
"list_google_business_locations",
|
|
186
|
+
"manage_google_business_location",
|
|
169
187
|
"manage_conversation",
|
|
170
188
|
"manage_comment",
|
|
171
189
|
"create_webhook",
|
|
@@ -178,6 +196,7 @@
|
|
|
178
196
|
"downgrade_subscription",
|
|
179
197
|
"upgrade_subscription",
|
|
180
198
|
"manage_extra_account",
|
|
199
|
+
"manage_x_posting_addon",
|
|
181
200
|
"delete_post",
|
|
182
201
|
"submit_product_feedback"
|
|
183
202
|
]
|
package/tool-registry.json
CHANGED
|
@@ -103,7 +103,12 @@
|
|
|
103
103
|
"identity": {
|
|
104
104
|
"label": "You, your scopes, and your workspaces",
|
|
105
105
|
"openWorld": false,
|
|
106
|
-
"params": {
|
|
106
|
+
"params": {
|
|
107
|
+
"include": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": ["api_keys"]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
107
112
|
},
|
|
108
113
|
"status": {
|
|
109
114
|
"label": "MCP server and connection status",
|
|
@@ -252,6 +257,10 @@
|
|
|
252
257
|
},
|
|
253
258
|
"account_id": {
|
|
254
259
|
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"connection": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"enum": ["ok", "needs_reconnect"]
|
|
255
264
|
}
|
|
256
265
|
}
|
|
257
266
|
},
|
|
@@ -529,6 +538,49 @@
|
|
|
529
538
|
}
|
|
530
539
|
}
|
|
531
540
|
},
|
|
541
|
+
"manage_brand": {
|
|
542
|
+
"set": "admin",
|
|
543
|
+
"label": "Create, update, or archive a brand",
|
|
544
|
+
"selector": "action",
|
|
545
|
+
"actions": {
|
|
546
|
+
"create": {
|
|
547
|
+
"label": "Create a brand",
|
|
548
|
+
"destructive": false,
|
|
549
|
+
"idempotent": false,
|
|
550
|
+
"openWorld": false,
|
|
551
|
+
"confirm": "confirm",
|
|
552
|
+
"params": {
|
|
553
|
+
"workspace_id": { "type": "string" },
|
|
554
|
+
"name": { "type": "string", "required": true },
|
|
555
|
+
"timezone": { "type": "string" },
|
|
556
|
+
"website_url": { "type": "string" }
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"update": {
|
|
560
|
+
"label": "Update a brand",
|
|
561
|
+
"destructive": true,
|
|
562
|
+
"idempotent": true,
|
|
563
|
+
"openWorld": false,
|
|
564
|
+
"confirm": "confirm",
|
|
565
|
+
"params": {
|
|
566
|
+
"brand_id": { "type": "string", "required": true },
|
|
567
|
+
"name": { "type": "string" },
|
|
568
|
+
"timezone": { "type": "string" },
|
|
569
|
+
"website_url": { "type": "string" }
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"archive": {
|
|
573
|
+
"label": "Archive a brand",
|
|
574
|
+
"destructive": true,
|
|
575
|
+
"idempotent": true,
|
|
576
|
+
"openWorld": false,
|
|
577
|
+
"confirm": "preview",
|
|
578
|
+
"params": {
|
|
579
|
+
"brand_id": { "type": "string", "required": true }
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
532
584
|
"list_post_suggestions": {
|
|
533
585
|
"set": "creative",
|
|
534
586
|
"label": "Post suggestions",
|
|
@@ -543,7 +595,7 @@
|
|
|
543
595
|
"label": "Dismiss a suggestion",
|
|
544
596
|
"exception": {
|
|
545
597
|
"category": "single_action",
|
|
546
|
-
"reason": "Dismissing
|
|
598
|
+
"reason": "Dismissing a suggestion, or saving that same suggestion as an unpublished draft, is one write on its id, so a manage_ wrapper would only rename the call."
|
|
547
599
|
},
|
|
548
600
|
"readOnly": false,
|
|
549
601
|
"destructive": true,
|
|
@@ -582,6 +634,12 @@
|
|
|
582
634
|
"approval_waiting_on": {
|
|
583
635
|
"type": "string"
|
|
584
636
|
},
|
|
637
|
+
"group_id": {
|
|
638
|
+
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"release_id": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
585
643
|
"timezone": {
|
|
586
644
|
"type": "string"
|
|
587
645
|
},
|
|
@@ -634,6 +692,12 @@
|
|
|
634
692
|
"approval_waiting_on": {
|
|
635
693
|
"type": "string"
|
|
636
694
|
},
|
|
695
|
+
"group_id": {
|
|
696
|
+
"type": "string"
|
|
697
|
+
},
|
|
698
|
+
"release_id": {
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
637
701
|
"timezone": {
|
|
638
702
|
"type": "string"
|
|
639
703
|
},
|
|
@@ -827,6 +891,12 @@
|
|
|
827
891
|
"post_type": {
|
|
828
892
|
"type": "string"
|
|
829
893
|
},
|
|
894
|
+
"account_id": {
|
|
895
|
+
"type": "string"
|
|
896
|
+
},
|
|
897
|
+
"thread_posts": {
|
|
898
|
+
"type": "array"
|
|
899
|
+
},
|
|
830
900
|
"metadata": {
|
|
831
901
|
"type": "object"
|
|
832
902
|
},
|
|
@@ -1008,12 +1078,38 @@
|
|
|
1008
1078
|
"openWorld": true,
|
|
1009
1079
|
"confirm": "none"
|
|
1010
1080
|
},
|
|
1081
|
+
"manage_x_posting_addon": {
|
|
1082
|
+
"set": "billing",
|
|
1083
|
+
"label": "Buy an X posting add-on",
|
|
1084
|
+
"exception": {
|
|
1085
|
+
"category": "money",
|
|
1086
|
+
"reason": "Buying an X posting add-on opens Stripe Checkout and does not charge until that page is paid. Read the allowance with get_x_posting_quota."
|
|
1087
|
+
},
|
|
1088
|
+
"selector": "action",
|
|
1089
|
+
"actions": {
|
|
1090
|
+
"buy": {
|
|
1091
|
+
"label": "Buy an X posting add-on",
|
|
1092
|
+
"destructive": true,
|
|
1093
|
+
"idempotent": false,
|
|
1094
|
+
"openWorld": true,
|
|
1095
|
+
"confirm": "preview",
|
|
1096
|
+
"nonce": true,
|
|
1097
|
+
"params": {
|
|
1098
|
+
"plan_code": { "type": "string", "enum": ["x_posts_100", "x_posts_250", "x_posts_500"] },
|
|
1099
|
+
"workspace_id": { "type": "string" },
|
|
1100
|
+
"expected_addon_status": { "type": "string" },
|
|
1101
|
+
"expected_plan_code": { "type": "string" },
|
|
1102
|
+
"expected_price_usd": { "type": "number" }
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1011
1107
|
"upload_media": {
|
|
1012
1108
|
"set": "core",
|
|
1013
1109
|
"label": "Upload media",
|
|
1014
1110
|
"exception": {
|
|
1015
1111
|
"category": "single_action",
|
|
1016
|
-
"reason": "Uploading
|
|
1112
|
+
"reason": "Uploading a library file, and deleting one, are the library writes. The url, base64, and file path options are input variants of upload."
|
|
1017
1113
|
},
|
|
1018
1114
|
"selector": "params",
|
|
1019
1115
|
"defaultMode": "file",
|
|
@@ -1043,6 +1139,25 @@
|
|
|
1043
1139
|
}
|
|
1044
1140
|
}
|
|
1045
1141
|
},
|
|
1142
|
+
"delete": {
|
|
1143
|
+
"label": "Delete a library file",
|
|
1144
|
+
"destructive": true,
|
|
1145
|
+
"idempotent": true,
|
|
1146
|
+
"openWorld": false,
|
|
1147
|
+
"confirm": "preview",
|
|
1148
|
+
"when": [
|
|
1149
|
+
"asset_id"
|
|
1150
|
+
],
|
|
1151
|
+
"params": {
|
|
1152
|
+
"asset_id": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"required": true
|
|
1155
|
+
},
|
|
1156
|
+
"workspace_id": {
|
|
1157
|
+
"type": "string"
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1046
1161
|
"url": {
|
|
1047
1162
|
"label": "Upload from a URL",
|
|
1048
1163
|
"destructive": false,
|
|
@@ -1251,6 +1366,9 @@
|
|
|
1251
1366
|
"table",
|
|
1252
1367
|
"json"
|
|
1253
1368
|
]
|
|
1369
|
+
},
|
|
1370
|
+
"include_extras": {
|
|
1371
|
+
"type": "boolean"
|
|
1254
1372
|
}
|
|
1255
1373
|
}
|
|
1256
1374
|
},
|
|
@@ -1568,6 +1686,104 @@
|
|
|
1568
1686
|
}
|
|
1569
1687
|
}
|
|
1570
1688
|
},
|
|
1689
|
+
"list_google_business_service_areas": {
|
|
1690
|
+
"set": "google_business",
|
|
1691
|
+
"label": "Google service areas",
|
|
1692
|
+
"selector": "view",
|
|
1693
|
+
"defaultMode": "areas",
|
|
1694
|
+
"views": {
|
|
1695
|
+
"areas": {
|
|
1696
|
+
"label": "Service areas on a location",
|
|
1697
|
+
"openWorld": true,
|
|
1698
|
+
"params": {
|
|
1699
|
+
"workspace_id": { "type": "string" },
|
|
1700
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1701
|
+
"location_id": { "type": "string" }
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"places": {
|
|
1705
|
+
"label": "Search towns and postcodes",
|
|
1706
|
+
"openWorld": true,
|
|
1707
|
+
"params": {
|
|
1708
|
+
"workspace_id": { "type": "string" },
|
|
1709
|
+
"q": { "type": "string", "required": true },
|
|
1710
|
+
"region_code": { "type": "string" }
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"manage_google_business_service_area": {
|
|
1716
|
+
"set": "google_business",
|
|
1717
|
+
"label": "Update Google service areas",
|
|
1718
|
+
"selector": "action",
|
|
1719
|
+
"actions": {
|
|
1720
|
+
"update": {
|
|
1721
|
+
"label": "Replace service areas",
|
|
1722
|
+
"destructive": false,
|
|
1723
|
+
"idempotent": true,
|
|
1724
|
+
"openWorld": true,
|
|
1725
|
+
"confirm": "preview",
|
|
1726
|
+
"nonce": false,
|
|
1727
|
+
"params": {
|
|
1728
|
+
"workspace_id": { "type": "string" },
|
|
1729
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1730
|
+
"location_id": { "type": "string" },
|
|
1731
|
+
"business_type": {
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"required": true,
|
|
1734
|
+
"enum": ["CUSTOMER_LOCATION_ONLY", "CUSTOMER_AND_BUSINESS_LOCATION"]
|
|
1735
|
+
},
|
|
1736
|
+
"region_code": { "type": "string" },
|
|
1737
|
+
"places": { "type": "array", "required": true },
|
|
1738
|
+
"clear_storefront_address": { "type": "boolean" }
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"list_google_business_locations": {
|
|
1744
|
+
"set": "google_business",
|
|
1745
|
+
"label": "Google location hours",
|
|
1746
|
+
"readOnly": true,
|
|
1747
|
+
"destructive": false,
|
|
1748
|
+
"idempotent": true,
|
|
1749
|
+
"openWorld": true,
|
|
1750
|
+
"confirm": "none"
|
|
1751
|
+
},
|
|
1752
|
+
"manage_google_business_location": {
|
|
1753
|
+
"set": "google_business",
|
|
1754
|
+
"label": "Manage a Google location",
|
|
1755
|
+
"selector": "action",
|
|
1756
|
+
"actions": {
|
|
1757
|
+
"update_hours": {
|
|
1758
|
+
"label": "Update regular hours",
|
|
1759
|
+
"destructive": true,
|
|
1760
|
+
"idempotent": true,
|
|
1761
|
+
"openWorld": true,
|
|
1762
|
+
"confirm": "preview",
|
|
1763
|
+
"nonce": true,
|
|
1764
|
+
"params": {
|
|
1765
|
+
"workspace_id": { "type": "string" },
|
|
1766
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1767
|
+
"location_id": { "type": "string" },
|
|
1768
|
+
"regular_hours": { "type": "object", "required": true }
|
|
1769
|
+
}
|
|
1770
|
+
},
|
|
1771
|
+
"update_attributes": {
|
|
1772
|
+
"label": "Update attributes",
|
|
1773
|
+
"destructive": true,
|
|
1774
|
+
"idempotent": true,
|
|
1775
|
+
"openWorld": true,
|
|
1776
|
+
"confirm": "preview",
|
|
1777
|
+
"nonce": true,
|
|
1778
|
+
"params": {
|
|
1779
|
+
"workspace_id": { "type": "string" },
|
|
1780
|
+
"account_id": { "type": "integer", "min": 1 },
|
|
1781
|
+
"location_id": { "type": "string" },
|
|
1782
|
+
"attributes": { "type": "array", "required": true }
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1571
1787
|
"list_conversations": {
|
|
1572
1788
|
"set": "inbox",
|
|
1573
1789
|
"label": "Conversations",
|
|
@@ -1602,6 +1818,12 @@
|
|
|
1602
1818
|
"offset": {
|
|
1603
1819
|
"type": "integer",
|
|
1604
1820
|
"min": 0
|
|
1821
|
+
},
|
|
1822
|
+
"since": {
|
|
1823
|
+
"type": "string"
|
|
1824
|
+
},
|
|
1825
|
+
"until": {
|
|
1826
|
+
"type": "string"
|
|
1605
1827
|
}
|
|
1606
1828
|
}
|
|
1607
1829
|
},
|
|
@@ -1715,6 +1937,12 @@
|
|
|
1715
1937
|
"offset": {
|
|
1716
1938
|
"type": "integer",
|
|
1717
1939
|
"min": 0
|
|
1940
|
+
},
|
|
1941
|
+
"since": {
|
|
1942
|
+
"type": "string"
|
|
1943
|
+
},
|
|
1944
|
+
"until": {
|
|
1945
|
+
"type": "string"
|
|
1718
1946
|
}
|
|
1719
1947
|
}
|
|
1720
1948
|
},
|
|
@@ -1821,11 +2049,26 @@
|
|
|
1821
2049
|
"list_webhooks": {
|
|
1822
2050
|
"set": "admin",
|
|
1823
2051
|
"label": "Webhooks",
|
|
1824
|
-
"
|
|
1825
|
-
"
|
|
1826
|
-
"
|
|
1827
|
-
|
|
1828
|
-
|
|
2052
|
+
"selector": "view",
|
|
2053
|
+
"defaultMode": "webhooks",
|
|
2054
|
+
"views": {
|
|
2055
|
+
"webhooks": {
|
|
2056
|
+
"label": "Webhook subscriptions",
|
|
2057
|
+
"openWorld": false,
|
|
2058
|
+
"params": {
|
|
2059
|
+
"workspace_id": { "type": "string" }
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"deliveries": {
|
|
2063
|
+
"label": "Webhook deliveries",
|
|
2064
|
+
"openWorld": false,
|
|
2065
|
+
"params": {
|
|
2066
|
+
"webhook_id": { "type": "string", "required": true },
|
|
2067
|
+
"limit": { "type": "integer", "min": 1, "max": 50 },
|
|
2068
|
+
"offset": { "type": "integer", "min": 0 }
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
1829
2072
|
},
|
|
1830
2073
|
"create_webhook": {
|
|
1831
2074
|
"set": "admin",
|