@smartytalent/mcp-tools 0.7.0 → 0.7.2

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 +37 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -349,7 +349,15 @@
349
349
  "plan": {
350
350
  "type": "string",
351
351
  "minLength": 1,
352
- "maxLength": 255
352
+ "maxLength": 255,
353
+ "enum": [
354
+ "startup",
355
+ "growth",
356
+ "expansion",
357
+ "corporate",
358
+ "system"
359
+ ],
360
+ "description": "Billing plan. The API Gateway authorizer maps custom:userPlan onto a usage plan key and falls back to `system` - the PLATFORM's own plan - for anything it does not recognise, so an invented name does not fail, it silently meters that customer against our internal quota. `enterprise` was such a name (a second word for `corporate`) and was folded into it 2026-07-27. NOTE: the server checks this list explicitly, because validate_item honours type/pattern/length but IGNORES enum."
353
361
  },
354
362
  "activeLanguages": {
355
363
  "type": "array",
@@ -809,7 +817,15 @@
809
817
  "plan": {
810
818
  "type": "string",
811
819
  "minLength": 1,
812
- "maxLength": 255
820
+ "maxLength": 255,
821
+ "enum": [
822
+ "startup",
823
+ "growth",
824
+ "expansion",
825
+ "corporate",
826
+ "system"
827
+ ],
828
+ "description": "Billing plan. The API Gateway authorizer maps custom:userPlan onto a usage plan key and falls back to `system` - the PLATFORM's own plan - for anything it does not recognise, so an invented name does not fail, it silently meters that customer against our internal quota. `enterprise` was such a name (a second word for `corporate`) and was folded into it 2026-07-27. NOTE: the server checks this list explicitly, because validate_item honours type/pattern/length but IGNORES enum."
813
829
  },
814
830
  "activeLanguages": {
815
831
  "type": "array",
@@ -1309,6 +1325,25 @@
1309
1325
  "enabled": {
1310
1326
  "type": "boolean",
1311
1327
  "description": "Whether a Cognito identity provider exists for this tenant. Owned by the provisioning step and ignored if sent."
1328
+ },
1329
+ "adminConsentUrl": {
1330
+ "type": "string",
1331
+ "description": "The admin-consent link an operator sends to the customer's IT. Built server-side so the app registration id is never hardcoded in a client. Absent if the platform Microsoft provider cannot be read."
1332
+ },
1333
+ "idpDeleted": {
1334
+ "type": "boolean",
1335
+ "description": "DELETE response only: whether the customer's Cognito identity provider was actually removed. False when it was already gone, so a retry of the teardown reads as success rather than an error."
1336
+ },
1337
+ "domainsReleased": {
1338
+ "type": "array",
1339
+ "description": "DELETE response only: the domains freed in the global claim registry, i.e. the ones another tenant may now claim. Empty when the tenant held none or another tenant owned them.",
1340
+ "items": {
1341
+ "type": "string"
1342
+ }
1343
+ },
1344
+ "loginUrl": {
1345
+ "type": "string",
1346
+ "description": "Ready-made login link for this customer's employees (a tile in their Entra My Apps, an intranet bookmark, the welcome email), of the form https://myaccount.{domain}/sso?idp=ms-{shortCode}. It points at the APP, never at Cognito's authorize endpoint: nextauth refuses a callback it did not initiate, because the state, nonce and PKCE verifier it validates against live in cookies it sets while building the authorize URL itself - a hand-assembled Cognito link fails with 'State cookie was missing' however correct its parameters are. The page forwards idp as identity_provider, which also keeps the enterprise client's hosted page from drawing a button for every customer IdP on it. There is deliberately no email-domain discovery endpoint: Cognito's own domain routing is SAML-only, and a public discovery endpoint would be an oracle for whether a given company is our customer. Lands in the myaccount app, which every role can reach - a JIT employee in the pending state has no role yet, so a role-scoped app would refuse them and the link would look broken. Derived on read, never stored."
1312
1347
  }
1313
1348
  }
1314
1349
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",