@velaro/mcp-server 2.0.110 → 2.0.111

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +19 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.110",
3
+ "version": "2.0.111",
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
@@ -5297,6 +5297,18 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
5297
5297
  required: ['bookingId'],
5298
5298
  },
5299
5299
  },
5300
+ {
5301
+ name: 'booking_reschedule_appointment',
5302
+ description: 'Move a booking to another open slot (staff-initiated). The new slot must be for the same service (and the same resource when the booking has one) with enough free seats. Customers can do the same from the Manage link in their confirmation email.',
5303
+ inputSchema: {
5304
+ type: 'object',
5305
+ properties: {
5306
+ bookingId: { type: 'number', description: 'Booking ID. Required.' },
5307
+ newSlotId: { type: 'number', description: 'Target booking slot ID. Required.' },
5308
+ },
5309
+ required: ['bookingId', 'newSlotId'],
5310
+ },
5311
+ },
5300
5312
  {
5301
5313
  name: 'booking_cancel_appointment',
5302
5314
  description: 'Cancel a booking (Phase 1c), staff-initiated. Releases the held slot capacity.',
@@ -9986,6 +9998,13 @@ ${JSON.stringify(result, null, 2)}`;
9986
9998
  return JSON.stringify(result, null, 2);
9987
9999
  }
9988
10000
 
10001
+ case 'booking_reschedule_appointment': {
10002
+ if (args.bookingId == null) return 'bookingId is required.';
10003
+ if (args.newSlotId == null) return 'newSlotId is required.';
10004
+ const result = await messagingPost(`/Bookings/${encodeURIComponent(args.bookingId)}/reschedule`, { newSlotId: args.newSlotId });
10005
+ return JSON.stringify(result, null, 2);
10006
+ }
10007
+
9989
10008
  case 'booking_cancel_appointment': {
9990
10009
  if (args.bookingId == null) return 'bookingId is required.';
9991
10010
  const result = await messagingPost(`/Bookings/${encodeURIComponent(args.bookingId)}/cancel`, {});