@smartytalent/mcp-tools 0.7.4 → 0.7.6

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/dist/tools.json +12 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -1506,10 +1506,11 @@
1506
1506
  "properties": {
1507
1507
  "filterStatus": {
1508
1508
  "type": "string",
1509
- "description": "Returns users with the current status (active, archived). If not provided, the default value will be set to 'active'.",
1509
+ "description": "Returns users with this status. Omitting it returns EVERY status - the server applies no default, so `pending` accounts already appear in an unfiltered list. `pending` is the approval queue: a JIT user provisioned through enterprise SSO lands there and holds no tenant claims at all until an owner or admin flips them to active.",
1510
1510
  "enum": [
1511
1511
  "active",
1512
- "archived"
1512
+ "archived",
1513
+ "pending"
1513
1514
  ]
1514
1515
  },
1515
1516
  "filterCreatedFrom": {
@@ -22736,6 +22737,15 @@
22736
22737
  "description": "Color theme for the notification avatar",
22737
22738
  "default": "primary"
22738
22739
  },
22740
+ "messageKey": {
22741
+ "type": "string",
22742
+ "description": "Identifier of the message to render, e.g. `user.pendingApproval`. The bell looks it up in the client's own dictionaries and substitutes messageParams, so the sentence is produced in whatever language the reader has set AT DISPLAY TIME - switching language re-renders the whole history, and adding a platform language needs no backend change and no migration of stored rows. Same shape the mobile platforms use natively (APNs loc-key/loc-args, FCM loc_key/loc_args). Absent on producers that have not migrated yet; `title`/`subtitle` remain the English fallback, so a client that does not recognise a key must fall back to them rather than render nothing."
22743
+ },
22744
+ "messageParams": {
22745
+ "type": "object",
22746
+ "additionalProperties": true,
22747
+ "description": "Variable parts of the message, substituted into the dictionary entry for messageKey - e.g. {name, email} for `user.pendingApproval`. Names must match what the client dictionary expects: a mismatch surfaces as an untranslated placeholder, so the agreed keys and parameter names belong in the FE task, not in tribal memory."
22748
+ },
22739
22749
  "created": {
22740
22750
  "type": "string",
22741
22751
  "format": "date-time",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",