@smartytalent/openai-tools 0.9.23 → 0.9.24

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 +118 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -17126,6 +17126,65 @@
17126
17126
  "additionalProperties": true,
17127
17127
  "description": "Multilingual task context keyed by language code"
17128
17128
  },
17129
+ "changes": {
17130
+ "type": "array",
17131
+ "description": "jobs:update orders only (2026-09-03): the requested changes as\nSTRUCTURE instead of (or next to) the free text in `content`. When\npresent the proposal is built from it deterministically - no model\ncall, exact items - and `meta.proposal.source = structured`.\nCreate-only (a PATCH carrying it is a 400). Validated at create:\n1-50 entries, criteriaKey one of the 16 criteria or `basic` /\n`title`, action add|remove|update, `name` required, `field` required\nfor basic (one of department, description, seniority,\nspecialization, benefits, responsibilities, keywords, companyCulture,\nlocations, sites), importance required|preferred|optional when\ngiven. `target` names the EXISTING item an update/remove refers to\n(defaults to name). Not accepted on any other route.",
17132
+ "items": {
17133
+ "title": "TaskChangeSchema",
17134
+ "type": "object",
17135
+ "required": [
17136
+ "criteriaKey",
17137
+ "action",
17138
+ "name"
17139
+ ],
17140
+ "properties": {
17141
+ "criteriaKey": {
17142
+ "type": "string",
17143
+ "description": "One of the 16 criteria (availability, certifications, companyTypeExperience, education, experienceAndSeniority, industryExperience, jobPositions, jobTendencies, languagesSpoken, licenses, locationPreferences, personalityAndSoftSkills, salaryExpectation, skillsAndExpertise, workAuthorization, workPreferences), `basic` (the job's own fields, with `field`) or `title`."
17144
+ },
17145
+ "action": {
17146
+ "type": "string",
17147
+ "enum": [
17148
+ "add",
17149
+ "remove",
17150
+ "update"
17151
+ ]
17152
+ },
17153
+ "name": {
17154
+ "type": "string",
17155
+ "maxLength": 200,
17156
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17157
+ },
17158
+ "target": {
17159
+ "type": "string",
17160
+ "maxLength": 200,
17161
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17162
+ },
17163
+ "field": {
17164
+ "type": "string",
17165
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17166
+ },
17167
+ "importance": {
17168
+ "type": "string",
17169
+ "enum": [
17170
+ "required",
17171
+ "preferred",
17172
+ "optional"
17173
+ ]
17174
+ },
17175
+ "proficiencyLevel": {
17176
+ "type": "string",
17177
+ "maxLength": 60,
17178
+ "description": "A level when the item has one (B2, senior, 3 years)."
17179
+ },
17180
+ "reason": {
17181
+ "type": "string",
17182
+ "maxLength": 500,
17183
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17184
+ }
17185
+ }
17186
+ }
17187
+ },
17129
17188
  "status": {
17130
17189
  "type": "string",
17131
17190
  "enum": [
@@ -17370,6 +17429,65 @@
17370
17429
  "additionalProperties": true,
17371
17430
  "description": "Multilingual task context keyed by language code"
17372
17431
  },
17432
+ "changes": {
17433
+ "type": "array",
17434
+ "description": "jobs:update orders only (2026-09-03): the requested changes as\nSTRUCTURE instead of (or next to) the free text in `content`. When\npresent the proposal is built from it deterministically - no model\ncall, exact items - and `meta.proposal.source = structured`.\nCreate-only (a PATCH carrying it is a 400). Validated at create:\n1-50 entries, criteriaKey one of the 16 criteria or `basic` /\n`title`, action add|remove|update, `name` required, `field` required\nfor basic (one of department, description, seniority,\nspecialization, benefits, responsibilities, keywords, companyCulture,\nlocations, sites), importance required|preferred|optional when\ngiven. `target` names the EXISTING item an update/remove refers to\n(defaults to name). Not accepted on any other route.",
17435
+ "items": {
17436
+ "title": "TaskChangeSchema",
17437
+ "type": "object",
17438
+ "required": [
17439
+ "criteriaKey",
17440
+ "action",
17441
+ "name"
17442
+ ],
17443
+ "properties": {
17444
+ "criteriaKey": {
17445
+ "type": "string",
17446
+ "description": "One of the 16 criteria (availability, certifications, companyTypeExperience, education, experienceAndSeniority, industryExperience, jobPositions, jobTendencies, languagesSpoken, licenses, locationPreferences, personalityAndSoftSkills, salaryExpectation, skillsAndExpertise, workAuthorization, workPreferences), `basic` (the job's own fields, with `field`) or `title`."
17447
+ },
17448
+ "action": {
17449
+ "type": "string",
17450
+ "enum": [
17451
+ "add",
17452
+ "remove",
17453
+ "update"
17454
+ ]
17455
+ },
17456
+ "name": {
17457
+ "type": "string",
17458
+ "maxLength": 200,
17459
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17460
+ },
17461
+ "target": {
17462
+ "type": "string",
17463
+ "maxLength": 200,
17464
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17465
+ },
17466
+ "field": {
17467
+ "type": "string",
17468
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17469
+ },
17470
+ "importance": {
17471
+ "type": "string",
17472
+ "enum": [
17473
+ "required",
17474
+ "preferred",
17475
+ "optional"
17476
+ ]
17477
+ },
17478
+ "proficiencyLevel": {
17479
+ "type": "string",
17480
+ "maxLength": 60,
17481
+ "description": "A level when the item has one (B2, senior, 3 years)."
17482
+ },
17483
+ "reason": {
17484
+ "type": "string",
17485
+ "maxLength": 500,
17486
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17487
+ }
17488
+ }
17489
+ }
17490
+ },
17373
17491
  "status": {
17374
17492
  "type": "string",
17375
17493
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.23",
3
+ "version": "0.9.24",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",