@smartytalent/openai-tools 0.9.39 → 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.
- package/dist/tools.json +19 -9
- 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
|
|
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,6 +468,7 @@
|
|
|
468
468
|
},
|
|
469
469
|
"activeLanguages": {
|
|
470
470
|
"type": "array",
|
|
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.",
|
|
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
|
|
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."
|
|
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 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.",
|
|
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`, 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`)."
|
|
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`, 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`)."
|
|
2113
2117
|
},
|
|
2114
2118
|
"phone": {
|
|
2115
2119
|
"type": "string"
|
|
@@ -4232,7 +4236,9 @@
|
|
|
4232
4236
|
"it-IT",
|
|
4233
4237
|
"he-IL",
|
|
4234
4238
|
"fr-FR",
|
|
4235
|
-
"cs-CZ"
|
|
4239
|
+
"cs-CZ",
|
|
4240
|
+
"en-GB",
|
|
4241
|
+
"ar-AE"
|
|
4236
4242
|
]
|
|
4237
4243
|
}
|
|
4238
4244
|
}
|
|
@@ -5812,7 +5818,9 @@
|
|
|
5812
5818
|
"it-IT",
|
|
5813
5819
|
"he-IL",
|
|
5814
5820
|
"fr-FR",
|
|
5815
|
-
"cs-CZ"
|
|
5821
|
+
"cs-CZ",
|
|
5822
|
+
"en-GB",
|
|
5823
|
+
"ar-AE"
|
|
5816
5824
|
]
|
|
5817
5825
|
}
|
|
5818
5826
|
}
|
|
@@ -7216,7 +7224,9 @@
|
|
|
7216
7224
|
"it-IT",
|
|
7217
7225
|
"he-IL",
|
|
7218
7226
|
"fr-FR",
|
|
7219
|
-
"cs-CZ"
|
|
7227
|
+
"cs-CZ",
|
|
7228
|
+
"en-GB",
|
|
7229
|
+
"ar-AE"
|
|
7220
7230
|
]
|
|
7221
7231
|
}
|
|
7222
7232
|
}
|
|
@@ -10635,7 +10645,7 @@
|
|
|
10635
10645
|
"additionalProperties": {
|
|
10636
10646
|
"type": "string"
|
|
10637
10647
|
},
|
|
10638
|
-
"description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by
|
|
10648
|
+
"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
10649
|
},
|
|
10640
10650
|
"questions": {
|
|
10641
10651
|
"type": "array",
|
|
@@ -10841,7 +10851,7 @@
|
|
|
10841
10851
|
"additionalProperties": {
|
|
10842
10852
|
"type": "string"
|
|
10843
10853
|
},
|
|
10844
|
-
"description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by
|
|
10854
|
+
"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
10855
|
},
|
|
10846
10856
|
"questions": {
|
|
10847
10857
|
"type": "array",
|