@smartytalent/openai-tools 0.9.40 → 0.9.41

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 +12 -9
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -297,7 +297,7 @@
297
297
  "language": {
298
298
  "type": "string",
299
299
  "pattern": "^[a-z]{2}-[A-Z]{2}$",
300
- "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale, careers `sourceLanguage` at\ncreate, and the translation target of the file/talent/\npersona/timeline/report AI paths. Onboarding seeds every new\nuser's Cognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). NOTE: the server does not yet enforce this\npattern on write - consumers validate defensively and fall\nback to en-US."
300
+ "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale),\nar-AE (Modern Standard Arabic).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale and careers `sourceLanguage`\nat create; NOT the translation target of the entity AI paths\n(file / talent / persona / timeline / report translate into the\npair's extra language). Onboarding seeds every new user's\nCognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). CHECKED on write (PLAN_TENANT_LANGUAGES,\n2026-09-25): a platform locale that is one of the tenant's\n`activeLanguages`, else a 400; missing at create = en-US.\nChanging it does NOT change `activeLanguages`. The entity AI\npipelines translate into the pair's extra language, not into\nthis default."
301
301
  },
302
302
  "calling": {
303
303
  "type": "object",
@@ -468,7 +468,7 @@
468
468
  },
469
469
  "activeLanguages": {
470
470
  "type": "array",
471
- "description": "The locales the tenant publishes in (an unordered set, BCP-47, e.g. [en-US, en-GB]). A TOP-LEVEL tenant attribute - never inside settings. Supported: en-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB.",
471
+ "description": "The tenant's SUPPORTED-LANGUAGE PAIR: the system language en-US plus AT MOST ONE more - [en-US] or [en-US, X], X one of pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB, ar-AE (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE). Set when the organisation is created (omitted = [en-US] plus settings.language when that is not en-US); afterwards only a system owner may change it - any other role may re-send the same pair (any order) and gets a 400 for a different one. settings.language (the default) must be one of these; the entity AI pipelines translate into X. Checked by the server, not by schema constraints: a generated client must still read a legacy row (e.g. [] or ['pl']) until the data fix reaches it. A TOP-LEVEL tenant attribute - never inside settings.",
472
472
  "items": {
473
473
  "type": "string",
474
474
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -868,7 +868,7 @@
868
868
  "language": {
869
869
  "type": "string",
870
870
  "pattern": "^[a-z]{2}-[A-Z]{2}$",
871
- "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale, careers `sourceLanguage` at\ncreate, and the translation target of the file/talent/\npersona/timeline/report AI paths. Onboarding seeds every new\nuser's Cognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). NOTE: the server does not yet enforce this\npattern on write - consumers validate defensively and fall\nback to en-US."
871
+ "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale),\nar-AE (Modern Standard Arabic).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale and careers `sourceLanguage`\nat create; NOT the translation target of the entity AI paths\n(file / talent / persona / timeline / report translate into the\npair's extra language). Onboarding seeds every new user's\nCognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). CHECKED on write (PLAN_TENANT_LANGUAGES,\n2026-09-25): a platform locale that is one of the tenant's\n`activeLanguages`, else a 400; missing at create = en-US.\nChanging it does NOT change `activeLanguages`. The entity AI\npipelines translate into the pair's extra language, not into\nthis default."
872
872
  },
873
873
  "calling": {
874
874
  "type": "object",
@@ -1039,7 +1039,7 @@
1039
1039
  },
1040
1040
  "activeLanguages": {
1041
1041
  "type": "array",
1042
- "description": "The locales the tenant publishes in (an unordered set, BCP-47, e.g. [en-US, en-GB]). A TOP-LEVEL tenant attribute - never inside settings. Supported: en-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB.",
1042
+ "description": "The tenant's SUPPORTED-LANGUAGE PAIR: the system language en-US plus AT MOST ONE more - [en-US] or [en-US, X], X one of pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB, ar-AE (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE). Set when the organisation is created (omitted = [en-US] plus settings.language when that is not en-US); afterwards only a system owner may change it - any other role may re-send the same pair (any order) and gets a 400 for a different one. settings.language (the default) must be one of these; the entity AI pipelines translate into X. Checked by the server, not by schema constraints: a generated client must still read a legacy row (e.g. [] or ['pl']) until the data fix reaches it. A TOP-LEVEL tenant attribute - never inside settings.",
1043
1043
  "items": {
1044
1044
  "type": "string",
1045
1045
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -1770,7 +1770,7 @@
1770
1770
  },
1771
1771
  "locale": {
1772
1772
  "type": "string",
1773
- "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`)."
1773
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE` - every variant is its own language, `ar-SA` is not ar-AE; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`)."
1774
1774
  },
1775
1775
  "phone": {
1776
1776
  "type": "string"
@@ -2113,7 +2113,7 @@
2113
2113
  },
2114
2114
  "locale": {
2115
2115
  "type": "string",
2116
- "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`)."
2116
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE` - every variant is its own language, `ar-SA` is not ar-AE; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`)."
2117
2117
  },
2118
2118
  "phone": {
2119
2119
  "type": "string"
@@ -4237,7 +4237,8 @@
4237
4237
  "he-IL",
4238
4238
  "fr-FR",
4239
4239
  "cs-CZ",
4240
- "en-GB"
4240
+ "en-GB",
4241
+ "ar-AE"
4241
4242
  ]
4242
4243
  }
4243
4244
  }
@@ -5818,7 +5819,8 @@
5818
5819
  "he-IL",
5819
5820
  "fr-FR",
5820
5821
  "cs-CZ",
5821
- "en-GB"
5822
+ "en-GB",
5823
+ "ar-AE"
5822
5824
  ]
5823
5825
  }
5824
5826
  }
@@ -7223,7 +7225,8 @@
7223
7225
  "he-IL",
7224
7226
  "fr-FR",
7225
7227
  "cs-CZ",
7226
- "en-GB"
7228
+ "en-GB",
7229
+ "ar-AE"
7227
7230
  ]
7228
7231
  }
7229
7232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.40",
3
+ "version": "0.9.41",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",