@smartytalent/openai-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.
- package/dist/tools.json +37 -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",
|
|
@@ -803,7 +811,15 @@
|
|
|
803
811
|
"plan": {
|
|
804
812
|
"type": "string",
|
|
805
813
|
"minLength": 1,
|
|
806
|
-
"maxLength": 255
|
|
814
|
+
"maxLength": 255,
|
|
815
|
+
"enum": [
|
|
816
|
+
"startup",
|
|
817
|
+
"growth",
|
|
818
|
+
"expansion",
|
|
819
|
+
"corporate",
|
|
820
|
+
"system"
|
|
821
|
+
],
|
|
822
|
+
"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."
|
|
807
823
|
},
|
|
808
824
|
"activeLanguages": {
|
|
809
825
|
"type": "array",
|
|
@@ -1279,6 +1295,25 @@
|
|
|
1279
1295
|
"enabled": {
|
|
1280
1296
|
"type": "boolean",
|
|
1281
1297
|
"description": "Whether a Cognito identity provider exists for this tenant. Owned by the provisioning step and ignored if sent."
|
|
1298
|
+
},
|
|
1299
|
+
"adminConsentUrl": {
|
|
1300
|
+
"type": "string",
|
|
1301
|
+
"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."
|
|
1302
|
+
},
|
|
1303
|
+
"idpDeleted": {
|
|
1304
|
+
"type": "boolean",
|
|
1305
|
+
"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."
|
|
1306
|
+
},
|
|
1307
|
+
"domainsReleased": {
|
|
1308
|
+
"type": "array",
|
|
1309
|
+
"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.",
|
|
1310
|
+
"items": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
"loginUrl": {
|
|
1315
|
+
"type": "string",
|
|
1316
|
+
"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."
|
|
1282
1317
|
}
|
|
1283
1318
|
}
|
|
1284
1319
|
}
|