@smartytalent/openai-tools 0.9.42 → 0.9.43
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 +16 -96
- 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),\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."
|
|
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), es-ES (European Spanish) -\nexactly these ten; another region of a language (es-MX,\nar-SA) is another language and is refused.\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 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
|
+
"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, es-ES (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE, es-ES since PLAN_LANGUAGE_ES_ES). 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),\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
|
+
"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), es-ES (European Spanish) -\nexactly these ten; another region of a language (es-MX,\nar-SA) is another language and is refused.\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 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.",
|
|
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, es-ES (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE, es-ES since PLAN_LANGUAGE_ES_ES). 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`, 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`)."
|
|
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`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; 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`, `es-ES` -> `es`)."
|
|
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`, 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`)."
|
|
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`, Spanish (Spain) as `es-ES` - every variant is its own language, `ar-SA` is not ar-AE and `es-MX` is not es-ES; 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`, `es-ES` -> `es`)."
|
|
2117
2117
|
},
|
|
2118
2118
|
"phone": {
|
|
2119
2119
|
"type": "string"
|
|
@@ -4238,7 +4238,8 @@
|
|
|
4238
4238
|
"fr-FR",
|
|
4239
4239
|
"cs-CZ",
|
|
4240
4240
|
"en-GB",
|
|
4241
|
-
"ar-AE"
|
|
4241
|
+
"ar-AE",
|
|
4242
|
+
"es-ES"
|
|
4242
4243
|
]
|
|
4243
4244
|
}
|
|
4244
4245
|
}
|
|
@@ -5820,7 +5821,8 @@
|
|
|
5820
5821
|
"fr-FR",
|
|
5821
5822
|
"cs-CZ",
|
|
5822
5823
|
"en-GB",
|
|
5823
|
-
"ar-AE"
|
|
5824
|
+
"ar-AE",
|
|
5825
|
+
"es-ES"
|
|
5824
5826
|
]
|
|
5825
5827
|
}
|
|
5826
5828
|
}
|
|
@@ -7226,7 +7228,8 @@
|
|
|
7226
7228
|
"fr-FR",
|
|
7227
7229
|
"cs-CZ",
|
|
7228
7230
|
"en-GB",
|
|
7229
|
-
"ar-AE"
|
|
7231
|
+
"ar-AE",
|
|
7232
|
+
"es-ES"
|
|
7230
7233
|
]
|
|
7231
7234
|
}
|
|
7232
7235
|
}
|
|
@@ -19342,8 +19345,8 @@
|
|
|
19342
19345
|
},
|
|
19343
19346
|
"defaultLocale": {
|
|
19344
19347
|
"type": "string",
|
|
19345
|
-
"pattern": "^(ar|cs|de|en|fr|he|it|pl)(-[A-Za-z0-9]{2,8})*$",
|
|
19346
|
-
"description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-AE`, `he-IL`,\n`
|
|
19348
|
+
"pattern": "^(ar|cs|de|en|es|fr|he|it|pl)(-[A-Za-z0-9]{2,8})*$",
|
|
19349
|
+
"description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-AE`, `he-IL`,\n`es-ES`). Set at creation time; controls the UI language of the\npublic lobby + room pages so a Polish recruiter sharing a link\ngets a Polish lobby regardless of the candidate's browser\nlanguage. Immutable after creation.\n\nNOT to be confused with `languageCode`: that field is auto-detected\nfrom the recorded speech and only populated post-meeting (AI\npipeline), whereas `defaultLocale` is human-picked at creation\ntime and drives UI.\n\nValidation: the server accepts exactly the platform's ten locales\n(ar-AE, cs-CZ, de-DE, en-GB, en-US, es-ES, fr-FR, he-IL, it-IT,\npl-PL) and refuses any other tag with a 400; this pattern is wider\n(any tag whose primary subtag is a platform language) so a client\ncan still read a meeting written before. Default chain at\ncreation: request body -> tenant settings.language -> 'en-US'."
|
|
19347
19350
|
},
|
|
19348
19351
|
"meetingType": {
|
|
19349
19352
|
"type": "string",
|
|
@@ -20013,8 +20016,8 @@
|
|
|
20013
20016
|
},
|
|
20014
20017
|
"defaultLocale": {
|
|
20015
20018
|
"type": "string",
|
|
20016
|
-
"pattern": "^(ar|cs|de|en|fr|he|it|pl)(-[A-Za-z0-9]{2,8})*$",
|
|
20017
|
-
"description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-AE`, `he-IL`,\n`
|
|
20019
|
+
"pattern": "^(ar|cs|de|en|es|fr|he|it|pl)(-[A-Za-z0-9]{2,8})*$",
|
|
20020
|
+
"description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-AE`, `he-IL`,\n`es-ES`). Set at creation time; controls the UI language of the\npublic lobby + room pages so a Polish recruiter sharing a link\ngets a Polish lobby regardless of the candidate's browser\nlanguage. Immutable after creation.\n\nNOT to be confused with `languageCode`: that field is auto-detected\nfrom the recorded speech and only populated post-meeting (AI\npipeline), whereas `defaultLocale` is human-picked at creation\ntime and drives UI.\n\nValidation: the server accepts exactly the platform's ten locales\n(ar-AE, cs-CZ, de-DE, en-GB, en-US, es-ES, fr-FR, he-IL, it-IT,\npl-PL) and refuses any other tag with a 400; this pattern is wider\n(any tag whose primary subtag is a platform language) so a client\ncan still read a meeting written before. Default chain at\ncreation: request body -> tenant settings.language -> 'en-US'."
|
|
20018
20021
|
},
|
|
20019
20022
|
"meetingType": {
|
|
20020
20023
|
"type": "string",
|
|
@@ -20987,89 +20990,6 @@
|
|
|
20987
20990
|
}
|
|
20988
20991
|
}
|
|
20989
20992
|
},
|
|
20990
|
-
{
|
|
20991
|
-
"type": "function",
|
|
20992
|
-
"function": {
|
|
20993
|
-
"name": "meeting_transcription",
|
|
20994
|
-
"description": "Manage Meeting Transcription",
|
|
20995
|
-
"parameters": {
|
|
20996
|
-
"type": "object",
|
|
20997
|
-
"properties": {
|
|
20998
|
-
"action": {
|
|
20999
|
-
"type": "string",
|
|
21000
|
-
"description": "Transcription action: start or stop",
|
|
21001
|
-
"enum": [
|
|
21002
|
-
"start",
|
|
21003
|
-
"stop"
|
|
21004
|
-
]
|
|
21005
|
-
},
|
|
21006
|
-
"requestBody": {
|
|
21007
|
-
"title": "MeetingTranscriptionRequestBody",
|
|
21008
|
-
"type": "object",
|
|
21009
|
-
"required": [
|
|
21010
|
-
"data"
|
|
21011
|
-
],
|
|
21012
|
-
"properties": {
|
|
21013
|
-
"data": {
|
|
21014
|
-
"title": "MeetingTranscriptionRequestBodyData",
|
|
21015
|
-
"type": "object",
|
|
21016
|
-
"required": [
|
|
21017
|
-
"type",
|
|
21018
|
-
"attributes"
|
|
21019
|
-
],
|
|
21020
|
-
"properties": {
|
|
21021
|
-
"type": {
|
|
21022
|
-
"type": "string",
|
|
21023
|
-
"enum": [
|
|
21024
|
-
"transcriptions"
|
|
21025
|
-
]
|
|
21026
|
-
},
|
|
21027
|
-
"attributes": {
|
|
21028
|
-
"title": "MeetingTranscriptionSettingsSchema",
|
|
21029
|
-
"type": "object",
|
|
21030
|
-
"properties": {
|
|
21031
|
-
"languageCode": {
|
|
21032
|
-
"type": "string",
|
|
21033
|
-
"description": "Transcribe language code (e.g. en-US, de-DE, es-US)",
|
|
21034
|
-
"default": "en-US"
|
|
21035
|
-
},
|
|
21036
|
-
"region": {
|
|
21037
|
-
"type": "string",
|
|
21038
|
-
"description": "AWS region for Amazon Transcribe",
|
|
21039
|
-
"default": "us-east-1"
|
|
21040
|
-
},
|
|
21041
|
-
"contentIdentificationType": {
|
|
21042
|
-
"type": "string",
|
|
21043
|
-
"description": "PII content identification type",
|
|
21044
|
-
"enum": [
|
|
21045
|
-
"PII"
|
|
21046
|
-
]
|
|
21047
|
-
}
|
|
21048
|
-
}
|
|
21049
|
-
}
|
|
21050
|
-
}
|
|
21051
|
-
}
|
|
21052
|
-
}
|
|
21053
|
-
}
|
|
21054
|
-
},
|
|
21055
|
-
"required": [
|
|
21056
|
-
"action",
|
|
21057
|
-
"requestBody"
|
|
21058
|
-
]
|
|
21059
|
-
}
|
|
21060
|
-
}
|
|
21061
|
-
},
|
|
21062
|
-
{
|
|
21063
|
-
"type": "function",
|
|
21064
|
-
"function": {
|
|
21065
|
-
"name": "meeting_transcription_options",
|
|
21066
|
-
"description": "Meeting Transcription Options",
|
|
21067
|
-
"parameters": {
|
|
21068
|
-
"type": "object",
|
|
21069
|
-
"properties": {}
|
|
21070
|
-
}
|
|
21071
|
-
}
|
|
21072
|
-
},
|
|
21073
20993
|
{
|
|
21074
20994
|
"type": "function",
|
|
21075
20995
|
"function": {
|