@smartytalent/mcp-tools 0.7.1 → 0.7.3
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/dist/tools.json +27 -3
- 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",
|
|
@@ -1314,6 +1330,14 @@
|
|
|
1314
1330
|
"type": "string",
|
|
1315
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."
|
|
1316
1332
|
},
|
|
1333
|
+
"sessionsRevoked": {
|
|
1334
|
+
"type": "integer",
|
|
1335
|
+
"description": "POST response, present ONLY on the transition to required=true: how many accounts were signed out everywhere. The PreAuthentication gate stops new password sign-ins but never fires on token refresh, and a refresh token lives 30 days - so without this sweep the switch would take a month to take effect for anyone already signed in. Nobody is exempt, including the break-glass roles: they keep their password and simply sign in again."
|
|
1336
|
+
},
|
|
1337
|
+
"sessionsFailed": {
|
|
1338
|
+
"type": "integer",
|
|
1339
|
+
"description": "POST response, alongside sessionsRevoked: accounts the sweep could not sign out. Non-zero means the door is partially open - those sessions keep working until their refresh token expires - and the operator is the only one positioned to see it, which is why it is returned rather than only logged."
|
|
1340
|
+
},
|
|
1317
1341
|
"idpDeleted": {
|
|
1318
1342
|
"type": "boolean",
|
|
1319
1343
|
"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."
|
|
@@ -1327,7 +1351,7 @@
|
|
|
1327
1351
|
},
|
|
1328
1352
|
"loginUrl": {
|
|
1329
1353
|
"type": "string",
|
|
1330
|
-
"description": "Ready-made login link for this customer's employees (a tile in their Entra My Apps, an intranet bookmark, the welcome email).
|
|
1354
|
+
"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."
|
|
1331
1355
|
}
|
|
1332
1356
|
}
|
|
1333
1357
|
}
|