@velaro/mcp-server 2.0.87 → 2.0.88

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.87",
3
+ "version": "2.0.88",
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
@@ -1769,6 +1769,11 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
1769
1769
  description: 'Get the Velaro Bot proactive-alert settings for this site: per-alert switches (new chat, missed chat, ticket created, ticket assigned, daily digest), the effective daily cap and the push count for today. Site is resolved server-side.',
1770
1770
  inputSchema: { type: 'object', properties: {}, required: [] },
1771
1771
  },
1772
+ {
1773
+ name: 'teams_push_targets_list',
1774
+ description: 'List the Teams destinations (channels and chats) the Velaro Bot can post this site alerts into, with type, team and channel name, which one is pinned and which one is in use. Use a refId with teams_push_settings_update pinnedConversationRefId.',
1775
+ inputSchema: { type: 'object', properties: {}, required: [] },
1776
+ },
1772
1777
  {
1773
1778
  name: 'teams_push_settings_update',
1774
1779
  description: 'Change the Velaro Bot proactive-alert settings for this site. Only fields you pass are changed; omitted fields keep their value. Set resetDailyPushCap=true to clear the per-site cap and use the platform default.',
@@ -1780,6 +1785,8 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
1780
1785
  pushTicketCreated: { type: 'boolean', description: 'Ticket created alerts' },
1781
1786
  pushTicketAssigned: { type: 'boolean', description: 'Ticket assigned alerts' },
1782
1787
  pushDailyDigest: { type: 'boolean', description: 'Daily digest (off by default)' },
1788
+ pinnedConversationRefId: { type: 'number', description: 'Pin alerts to this Teams destination (refId from teams_push_targets_list)' },
1789
+ clearPinnedConversation: { type: 'boolean', description: 'Unpin; alerts go to the most recently active Teams conversation' },
1783
1790
  dailyPushCap: { type: 'number', description: 'Max alerts per day for this site' },
1784
1791
  resetDailyPushCap: { type: 'boolean', description: 'Clear the per-site cap (use platform default)' },
1785
1792
  statusPostMinutes: { type: 'number', description: 'Post a status card into the Teams channel every N minutes (5-1440; the plan sets how often at most)' },
@@ -6431,9 +6438,12 @@ reply: ${r?.reply}`;
6431
6438
  case 'teams_push_settings_get':
6432
6439
  return await api('GET', '/TeamsBot/PushSettings');
6433
6440
 
6441
+ case 'teams_push_targets_list':
6442
+ return await api('GET', '/TeamsBot/PushTargets');
6443
+
6434
6444
  case 'teams_push_settings_update': {
6435
6445
  const body = {};
6436
- for (const k of ['pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap','statusPostMinutes','clearStatusPost','statusAlertQueue','statusAlertWaitMinutes','clearStatusThresholds'])
6446
+ for (const k of ['pinnedConversationRefId','clearPinnedConversation','pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap','statusPostMinutes','clearStatusPost','statusAlertQueue','statusAlertWaitMinutes','clearStatusThresholds'])
6437
6447
  if (args[k] !== undefined) body[k] = args[k];
6438
6448
  return await api('PUT', '/TeamsBot/PushSettings', body);
6439
6449
  }
@@ -47,7 +47,7 @@ const READ_ONLY_EXPLICIT = new Set([
47
47
  'kpi_snapshot', 'site_info', 'case_board', 'case_list_types', 'ivr_agent_availability', 'contactlist_get',
48
48
  'service_level_report', 'call_activity_report', 'callrail_get_attributions', 'product_sync_status',
49
49
  'report_export_status', 'report_data_export', 'automation_draft_list',
50
- 'focus_get_draft_pregeneration_report', 'teams_push_settings_get', 'call_center_team_breakdown',
50
+ 'focus_get_draft_pregeneration_report', 'teams_push_settings_get', 'teams_push_targets_list', 'call_center_team_breakdown',
51
51
  'call_center_channel_breakdown', 'outbound_activity_for_contact', 'integration_skill_logs',
52
52
  'magento_activity_logs', 'chat_intelligence_themes', 'chat_intelligence_recommendations',
53
53
  'index_move_preview', 'index_split_preview', 'canned_learning_suggestions', 'canned_learning_teams', 'canned_learning_usage',