@smartytalent/openai-tools 0.1.33-dev.84 → 0.1.33-dev.86

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 +45 -5
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -7488,7 +7488,7 @@
7488
7488
  "type": {
7489
7489
  "type": "string",
7490
7490
  "enum": [
7491
- "emails"
7491
+ "forms"
7492
7492
  ]
7493
7493
  },
7494
7494
  "id": {
@@ -9882,8 +9882,28 @@
9882
9882
  "description": "Seniority level for the role (e.g. junior, mid, senior)"
9883
9883
  },
9884
9884
  "criteria": {
9885
- "type": "object",
9886
- "description": "Recruitment criteria captured from the brief"
9885
+ "type": "array",
9886
+ "description": "Recruitment criteria captured from the brief - ordered, tiered ({text: {locale: str}, tier: must|preferred|bonus|disqualifier})",
9887
+ "items": {
9888
+ "title": "BriefCriterionSchema",
9889
+ "type": "object",
9890
+ "properties": {
9891
+ "text": {
9892
+ "type": "object",
9893
+ "description": "Requirement text per locale ({en-US: ..., pl-PL: ...})",
9894
+ "additionalProperties": true
9895
+ },
9896
+ "tier": {
9897
+ "type": "string",
9898
+ "enum": [
9899
+ "must",
9900
+ "preferred",
9901
+ "bonus",
9902
+ "disqualifier"
9903
+ ]
9904
+ }
9905
+ }
9906
+ }
9887
9907
  },
9888
9908
  "links": {
9889
9909
  "type": "array",
@@ -10182,8 +10202,28 @@
10182
10202
  "description": "Seniority level for the role (e.g. junior, mid, senior)"
10183
10203
  },
10184
10204
  "criteria": {
10185
- "type": "object",
10186
- "description": "Recruitment criteria captured from the brief"
10205
+ "type": "array",
10206
+ "description": "Recruitment criteria captured from the brief - ordered, tiered ({text: {locale: str}, tier: must|preferred|bonus|disqualifier})",
10207
+ "items": {
10208
+ "title": "BriefCriterionSchema",
10209
+ "type": "object",
10210
+ "properties": {
10211
+ "text": {
10212
+ "type": "object",
10213
+ "description": "Requirement text per locale ({en-US: ..., pl-PL: ...})",
10214
+ "additionalProperties": true
10215
+ },
10216
+ "tier": {
10217
+ "type": "string",
10218
+ "enum": [
10219
+ "must",
10220
+ "preferred",
10221
+ "bonus",
10222
+ "disqualifier"
10223
+ ]
10224
+ }
10225
+ }
10226
+ }
10187
10227
  },
10188
10228
  "links": {
10189
10229
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.84",
3
+ "version": "0.1.33-dev.86",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",