@smartytalent/openai-tools 0.7.3 → 0.7.5
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 +46 -3
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -1240,7 +1240,7 @@
|
|
|
1240
1240
|
"attributes": {
|
|
1241
1241
|
"title": "TenantSsoAttributesSchema",
|
|
1242
1242
|
"type": "object",
|
|
1243
|
-
"description": "Enterprise SSO configuration for one tenant.
|
|
1243
|
+
"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.",
|
|
1244
1244
|
"properties": {
|
|
1245
1245
|
"provider": {
|
|
1246
1246
|
"type": "string",
|
|
@@ -1331,6 +1331,48 @@
|
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
},
|
|
1334
|
+
{
|
|
1335
|
+
"type": "function",
|
|
1336
|
+
"function": {
|
|
1337
|
+
"name": "update_tenant_sso",
|
|
1338
|
+
"description": "Update Tenant Enterprise SSO Policy",
|
|
1339
|
+
"parameters": {
|
|
1340
|
+
"type": "object",
|
|
1341
|
+
"properties": {
|
|
1342
|
+
"data": {
|
|
1343
|
+
"type": "object",
|
|
1344
|
+
"properties": {
|
|
1345
|
+
"type": {
|
|
1346
|
+
"type": "string",
|
|
1347
|
+
"enum": [
|
|
1348
|
+
"tenant-sso"
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
"attributes": {
|
|
1352
|
+
"title": "TenantSsoPolicySchema",
|
|
1353
|
+
"type": "object",
|
|
1354
|
+
"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.",
|
|
1355
|
+
"properties": {
|
|
1356
|
+
"required": {
|
|
1357
|
+
"type": "boolean",
|
|
1358
|
+
"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."
|
|
1359
|
+
},
|
|
1360
|
+
"autoApprove": {
|
|
1361
|
+
"type": "boolean",
|
|
1362
|
+
"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."
|
|
1363
|
+
},
|
|
1364
|
+
"defaultRole": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"description": "Role granted when a pending JIT user is APPROVED - never granted by the act of signing in."
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1334
1376
|
{
|
|
1335
1377
|
"type": "function",
|
|
1336
1378
|
"function": {
|
|
@@ -1420,10 +1462,11 @@
|
|
|
1420
1462
|
"properties": {
|
|
1421
1463
|
"filterStatus": {
|
|
1422
1464
|
"type": "string",
|
|
1423
|
-
"description": "Returns users with
|
|
1465
|
+
"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.",
|
|
1424
1466
|
"enum": [
|
|
1425
1467
|
"active",
|
|
1426
|
-
"archived"
|
|
1468
|
+
"archived",
|
|
1469
|
+
"pending"
|
|
1427
1470
|
]
|
|
1428
1471
|
},
|
|
1429
1472
|
"filterCreatedFrom": {
|