@smartytalent/openai-tools 0.9.38 → 0.9.40

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 +16 -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.\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).\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."
301
301
  },
302
302
  "calling": {
303
303
  "type": "object",
@@ -468,6 +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
472
  "items": {
472
473
  "type": "string",
473
474
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -867,7 +868,7 @@
867
868
  "language": {
868
869
  "type": "string",
869
870
  "pattern": "^[a-z]{2}-[A-Z]{2}$",
870
- "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.\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).\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
872
  },
872
873
  "calling": {
873
874
  "type": "object",
@@ -1038,6 +1039,7 @@
1038
1039
  },
1039
1040
  "activeLanguages": {
1040
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.",
1041
1043
  "items": {
1042
1044
  "type": "string",
1043
1045
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -1767,7 +1769,8 @@
1767
1769
  "type": "string"
1768
1770
  },
1769
1771
  "locale": {
1770
- "type": "string"
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`)."
1771
1774
  },
1772
1775
  "phone": {
1773
1776
  "type": "string"
@@ -2109,7 +2112,8 @@
2109
2112
  "type": "string"
2110
2113
  },
2111
2114
  "locale": {
2112
- "type": "string"
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`)."
2113
2117
  },
2114
2118
  "phone": {
2115
2119
  "type": "string"
@@ -4232,7 +4236,8 @@
4232
4236
  "it-IT",
4233
4237
  "he-IL",
4234
4238
  "fr-FR",
4235
- "cs-CZ"
4239
+ "cs-CZ",
4240
+ "en-GB"
4236
4241
  ]
4237
4242
  }
4238
4243
  }
@@ -5812,7 +5817,8 @@
5812
5817
  "it-IT",
5813
5818
  "he-IL",
5814
5819
  "fr-FR",
5815
- "cs-CZ"
5820
+ "cs-CZ",
5821
+ "en-GB"
5816
5822
  ]
5817
5823
  }
5818
5824
  }
@@ -7216,7 +7222,8 @@
7216
7222
  "it-IT",
7217
7223
  "he-IL",
7218
7224
  "fr-FR",
7219
- "cs-CZ"
7225
+ "cs-CZ",
7226
+ "en-GB"
7220
7227
  ]
7221
7228
  }
7222
7229
  }
@@ -10635,7 +10642,7 @@
10635
10642
  "additionalProperties": {
10636
10643
  "type": "string"
10637
10644
  },
10638
- "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by locale prefix with en-US fallback."
10645
+ "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render the exact tag, then en-US, then the first available - never by the bare 2-letter prefix (en-US and en-GB share `en`)."
10639
10646
  },
10640
10647
  "questions": {
10641
10648
  "type": "array",
@@ -10841,7 +10848,7 @@
10841
10848
  "additionalProperties": {
10842
10849
  "type": "string"
10843
10850
  },
10844
- "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by locale prefix with en-US fallback."
10851
+ "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render the exact tag, then en-US, then the first available - never by the bare 2-letter prefix (en-US and en-GB share `en`)."
10845
10852
  },
10846
10853
  "questions": {
10847
10854
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.38",
3
+ "version": "0.9.40",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",