@smartytalent/openai-tools 0.7.1 → 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 +19 -3
  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",
@@ -1297,7 +1313,7 @@
1297
1313
  },
1298
1314
  "loginUrl": {
1299
1315
  "type": "string",
1300
- "description": "Ready-made login link for this customer's employees (a tile in their Entra My Apps, an intranet bookmark, the welcome email). Carries identity_provider so Cognito goes straight to their Entra. 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. Absent if the enterprise app client cannot be read."
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."
1301
1317
  }
1302
1318
  }
1303
1319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",