@smartytalent/openai-tools 0.1.33-dev.83 → 0.1.33-dev.85

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 +46 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -9855,6 +9855,7 @@
9855
9855
  "received",
9856
9856
  "processing",
9857
9857
  "processed",
9858
+ "accepted",
9858
9859
  "failed"
9859
9860
  ]
9860
9861
  },
@@ -9881,8 +9882,28 @@
9881
9882
  "description": "Seniority level for the role (e.g. junior, mid, senior)"
9882
9883
  },
9883
9884
  "criteria": {
9884
- "type": "object",
9885
- "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
+ }
9886
9907
  },
9887
9908
  "links": {
9888
9909
  "type": "array",
@@ -10154,6 +10175,7 @@
10154
10175
  "received",
10155
10176
  "processing",
10156
10177
  "processed",
10178
+ "accepted",
10157
10179
  "failed"
10158
10180
  ]
10159
10181
  },
@@ -10180,8 +10202,28 @@
10180
10202
  "description": "Seniority level for the role (e.g. junior, mid, senior)"
10181
10203
  },
10182
10204
  "criteria": {
10183
- "type": "object",
10184
- "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
+ }
10185
10227
  },
10186
10228
  "links": {
10187
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.83",
3
+ "version": "0.1.33-dev.85",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",