@smartytalent/mcp-tools 0.9.22 → 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 +202 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -5521,6 +5521,22 @@
5521
5521
  }
5522
5522
  }
5523
5523
  }
5524
+ },
5525
+ "recops": {
5526
+ "description": "The ONE human who runs the recruiting project (the delegation\nboard's addressee). `ownerId` is the Boe user on every\nworkflow-built job, so this is the human counterpart. `{data: null}`\nwhen unset. Present on list rows as well as on show. Written\nthrough PATCH; seeded by the jobs:activate order (its author) when\nthe job had none. Since 2026-09-03.",
5527
+ "allOf": [
5528
+ {
5529
+ "$ref": "#/components/schemas/JobRelationshipsRecopsSchema"
5530
+ }
5531
+ ]
5532
+ },
5533
+ "hiringManagers": {
5534
+ "description": "The hiring side of the project (tenant users, usually with the\nhiringmanager role; a project can be co-hired). Present on list rows.\nWritten through PATCH (`{data: []}` clears); seeded at job:process\nfrom the intake sender (brief requestedByUserId) when that sender\nis a tenant user. The interview/decision mails resolve the hiring\nmanager from this relationship first. Since 2026-09-03.",
5535
+ "allOf": [
5536
+ {
5537
+ "$ref": "#/components/schemas/JobRelationshipsHiringManagersSchema"
5538
+ }
5539
+ ]
5524
5540
  }
5525
5541
  }
5526
5542
  },
@@ -5593,8 +5609,7 @@
5593
5609
  "type": "object",
5594
5610
  "required": [
5595
5611
  "type",
5596
- "id",
5597
- "attributes"
5612
+ "id"
5598
5613
  ],
5599
5614
  "properties": {
5600
5615
  "type": {
@@ -6091,6 +6106,73 @@
6091
6106
  }
6092
6107
  }
6093
6108
  }
6109
+ },
6110
+ "relationships": {
6111
+ "title": "JobRelationshipsPatchSchema",
6112
+ "description": "The relationships a PATCH /v1/jobs/{jobId} may carry (JSON:API: a PATCH\nmay carry relationships only). Each key REPLACES the stored link(s):\nrecops `{data: {type: users, id}}` or `{data: null}` to clear,\nhiringManagers / users `{data: [...]}` or `{data: []}` to clear. Every\nid must be a user of the tenant (400 otherwise). Other relationship keys\nare ignored - candidates, forms, ads and the rest are owned by their\nservices.",
6113
+ "type": "object",
6114
+ "properties": {
6115
+ "recops": {
6116
+ "title": "JobRelationshipsRecopsSchema",
6117
+ "type": "object",
6118
+ "properties": {
6119
+ "data": {
6120
+ "title": "JobRelationshipsRecopsDataSchema",
6121
+ "type": "object",
6122
+ "properties": {
6123
+ "type": {
6124
+ "type": "string"
6125
+ },
6126
+ "id": {
6127
+ "type": "string"
6128
+ }
6129
+ }
6130
+ }
6131
+ }
6132
+ },
6133
+ "hiringManagers": {
6134
+ "title": "JobRelationshipsHiringManagersSchema",
6135
+ "type": "object",
6136
+ "properties": {
6137
+ "data": {
6138
+ "type": "array",
6139
+ "items": {
6140
+ "title": "JobRelationshipsHiringManagersDataSchema",
6141
+ "type": "object",
6142
+ "properties": {
6143
+ "type": {
6144
+ "type": "string"
6145
+ },
6146
+ "id": {
6147
+ "type": "string"
6148
+ }
6149
+ }
6150
+ }
6151
+ }
6152
+ }
6153
+ },
6154
+ "users": {
6155
+ "title": "JobRelationshipsUsersPatchSchema",
6156
+ "type": "object",
6157
+ "properties": {
6158
+ "data": {
6159
+ "type": "array",
6160
+ "items": {
6161
+ "title": "JobRelationshipsUsersPatchDataSchema",
6162
+ "type": "object",
6163
+ "properties": {
6164
+ "type": {
6165
+ "type": "string"
6166
+ },
6167
+ "id": {
6168
+ "type": "string"
6169
+ }
6170
+ }
6171
+ }
6172
+ }
6173
+ }
6174
+ }
6175
+ }
6094
6176
  }
6095
6177
  }
6096
6178
  }
@@ -17524,6 +17606,65 @@
17524
17606
  "additionalProperties": true,
17525
17607
  "description": "Multilingual task context keyed by language code"
17526
17608
  },
17609
+ "changes": {
17610
+ "type": "array",
17611
+ "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.",
17612
+ "items": {
17613
+ "title": "TaskChangeSchema",
17614
+ "type": "object",
17615
+ "required": [
17616
+ "criteriaKey",
17617
+ "action",
17618
+ "name"
17619
+ ],
17620
+ "properties": {
17621
+ "criteriaKey": {
17622
+ "type": "string",
17623
+ "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`."
17624
+ },
17625
+ "action": {
17626
+ "type": "string",
17627
+ "enum": [
17628
+ "add",
17629
+ "remove",
17630
+ "update"
17631
+ ]
17632
+ },
17633
+ "name": {
17634
+ "type": "string",
17635
+ "maxLength": 200,
17636
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17637
+ },
17638
+ "target": {
17639
+ "type": "string",
17640
+ "maxLength": 200,
17641
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17642
+ },
17643
+ "field": {
17644
+ "type": "string",
17645
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17646
+ },
17647
+ "importance": {
17648
+ "type": "string",
17649
+ "enum": [
17650
+ "required",
17651
+ "preferred",
17652
+ "optional"
17653
+ ]
17654
+ },
17655
+ "proficiencyLevel": {
17656
+ "type": "string",
17657
+ "maxLength": 60,
17658
+ "description": "A level when the item has one (B2, senior, 3 years)."
17659
+ },
17660
+ "reason": {
17661
+ "type": "string",
17662
+ "maxLength": 500,
17663
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17664
+ }
17665
+ }
17666
+ }
17667
+ },
17527
17668
  "status": {
17528
17669
  "type": "string",
17529
17670
  "enum": [
@@ -17774,6 +17915,65 @@
17774
17915
  "additionalProperties": true,
17775
17916
  "description": "Multilingual task context keyed by language code"
17776
17917
  },
17918
+ "changes": {
17919
+ "type": "array",
17920
+ "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.",
17921
+ "items": {
17922
+ "title": "TaskChangeSchema",
17923
+ "type": "object",
17924
+ "required": [
17925
+ "criteriaKey",
17926
+ "action",
17927
+ "name"
17928
+ ],
17929
+ "properties": {
17930
+ "criteriaKey": {
17931
+ "type": "string",
17932
+ "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`."
17933
+ },
17934
+ "action": {
17935
+ "type": "string",
17936
+ "enum": [
17937
+ "add",
17938
+ "remove",
17939
+ "update"
17940
+ ]
17941
+ },
17942
+ "name": {
17943
+ "type": "string",
17944
+ "maxLength": 200,
17945
+ "description": "The item (skill, language, certification, value...) as the operator names it; for basic/title the new value."
17946
+ },
17947
+ "target": {
17948
+ "type": "string",
17949
+ "maxLength": 200,
17950
+ "description": "For update/remove: the existing item's name when it differs from `name` (e.g. rename)."
17951
+ },
17952
+ "field": {
17953
+ "type": "string",
17954
+ "description": "basic only: department|description|seniority|specialization|benefits|responsibilities|keywords|companyCulture|locations|sites"
17955
+ },
17956
+ "importance": {
17957
+ "type": "string",
17958
+ "enum": [
17959
+ "required",
17960
+ "preferred",
17961
+ "optional"
17962
+ ]
17963
+ },
17964
+ "proficiencyLevel": {
17965
+ "type": "string",
17966
+ "maxLength": 60,
17967
+ "description": "A level when the item has one (B2, senior, 3 years)."
17968
+ },
17969
+ "reason": {
17970
+ "type": "string",
17971
+ "maxLength": 500,
17972
+ "description": "The operator's why - shown to the reviewer, never applied as content."
17973
+ }
17974
+ }
17975
+ }
17976
+ },
17777
17977
  "status": {
17778
17978
  "type": "string",
17779
17979
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.9.22",
3
+ "version": "0.9.24",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",