@velaro/mcp-server 2.0.78 → 2.0.80
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/package.json +1 -1
- package/server.js +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velaro/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.80",
|
|
4
4
|
"description": "Velaro MCP server — connect Claude and other AI agents directly to your Velaro account: KB, workflows, bots, conversations, contacts, routing, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/server.js
CHANGED
|
@@ -5030,6 +5030,17 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
5030
5030
|
required: ['serviceId'],
|
|
5031
5031
|
},
|
|
5032
5032
|
},
|
|
5033
|
+
{
|
|
5034
|
+
name: 'booking_create_link',
|
|
5035
|
+
description: 'Issue a signed public booking link slug (needed by the public slots and bookings endpoints and the messenger booking link). Optionally scoped to one resource and/or service. Site managers only; requires the booking engine entitlement.',
|
|
5036
|
+
inputSchema: {
|
|
5037
|
+
type: 'object',
|
|
5038
|
+
properties: {
|
|
5039
|
+
resourceId: { type: 'number', description: 'Limit the link to one bookable resource.' },
|
|
5040
|
+
serviceId: { type: 'number', description: 'Limit the link to one bookable service.' },
|
|
5041
|
+
},
|
|
5042
|
+
},
|
|
5043
|
+
},
|
|
5033
5044
|
{
|
|
5034
5045
|
name: 'booking_delete_service',
|
|
5035
5046
|
description: 'Delete a bookable service. 404 if it isn\'t found on this site.',
|
|
@@ -9581,6 +9592,11 @@ ${JSON.stringify(result, null, 2)}`;
|
|
|
9581
9592
|
return JSON.stringify(result, null, 2);
|
|
9582
9593
|
}
|
|
9583
9594
|
|
|
9595
|
+
case 'booking_create_link': {
|
|
9596
|
+
const result = await messagingPost('/Bookings/Slug', { resourceId: args.resourceId, serviceId: args.serviceId });
|
|
9597
|
+
return JSON.stringify(result, null, 2);
|
|
9598
|
+
}
|
|
9599
|
+
|
|
9584
9600
|
case 'booking_delete_service': {
|
|
9585
9601
|
if (args.serviceId == null) return 'serviceId is required.';
|
|
9586
9602
|
const result = await messagingDel(`/BookableServices/${encodeURIComponent(args.serviceId)}`);
|