@smartytalent/mcp-tools 0.7.2 → 0.7.4

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 +53 -1
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -1270,7 +1270,7 @@
1270
1270
  "attributes": {
1271
1271
  "title": "TenantSsoAttributesSchema",
1272
1272
  "type": "object",
1273
- "description": "Enterprise SSO configuration for one tenant. Written only by the /v1/tenants/{tenantId}/sso doors (sysowner); the generic tenant PATCH strips settings.sso.",
1273
+ "description": "Enterprise SSO configuration for one tenant. The connection itself is written only by POST /v1/tenants/{tenantId}/sso (sysowner); the policy subset in TenantSsoPolicySchema is also reachable by the tenant's owner through PATCH. The generic tenant PATCH strips settings.sso.",
1274
1274
  "properties": {
1275
1275
  "provider": {
1276
1276
  "type": "string",
@@ -1330,6 +1330,14 @@
1330
1330
  "type": "string",
1331
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
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
+ },
1333
1341
  "idpDeleted": {
1334
1342
  "type": "boolean",
1335
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."
@@ -1357,6 +1365,50 @@
1357
1365
  "operationId": "configureTenantSso"
1358
1366
  }
1359
1367
  },
1368
+ {
1369
+ "name": "update_tenant_sso",
1370
+ "description": "Update Tenant Enterprise SSO Policy",
1371
+ "inputSchema": {
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "data": {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "type": {
1378
+ "type": "string",
1379
+ "enum": [
1380
+ "tenant-sso"
1381
+ ]
1382
+ },
1383
+ "attributes": {
1384
+ "title": "TenantSsoPolicySchema",
1385
+ "type": "object",
1386
+ "description": "The policy a customer's OWNER may set on top of an existing SSO connection (PATCH /v1/tenants/{tenantId}/sso). Deliberately a subset: these three fields reach nothing outside the tenant, whereas `domains` claims a name in a GLOBAL registry that phase 1 verifies by hand, and `entraTenantId`/`idpName` identify the connection itself - those stay on the sysowner-only POST. Every field is optional; whatever is omitted keeps its stored value.",
1387
+ "properties": {
1388
+ "required": {
1389
+ "type": "boolean",
1390
+ "description": "When true, password login is refused for this tenant's users. Owner and sysowner are always exempt (a break-glass account: an outage at the customer's IdP must not lock them out of the product, or out of this door), as is any user carrying meta.ssoExempt. Switching it from false to true also signs every account out - the enforcement trigger never sees a token refresh, and a refresh token lives 30 days."
1391
+ },
1392
+ "autoApprove": {
1393
+ "type": "boolean",
1394
+ "description": "When true, a JIT user is activated immediately with defaultRole instead of landing in a pending state. Off by default: domain-gated JIT makes the customer's whole workforce eligible, so this hands an operational role to anyone who can authenticate at their IdP."
1395
+ },
1396
+ "defaultRole": {
1397
+ "type": "string",
1398
+ "description": "Role granted when a pending JIT user is APPROVED - never granted by the act of signing in."
1399
+ }
1400
+ }
1401
+ }
1402
+ }
1403
+ }
1404
+ }
1405
+ },
1406
+ "_meta": {
1407
+ "method": "PATCH",
1408
+ "path": "/v1/tenants/{tenantId}/sso",
1409
+ "operationId": "updateTenantSso"
1410
+ }
1411
+ },
1360
1412
  {
1361
1413
  "name": "delete_tenant_sso",
1362
1414
  "description": "Delete Tenant Enterprise SSO",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",