@smartytalent/mcp-tools 0.1.33-dev.4 → 0.1.33-dev.5

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 +109 -17
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -12118,17 +12118,9 @@
12118
12118
  "type": "string",
12119
12119
  "description": "Comma-separated list of resource ids to batch-fetch. Requires `filterResourceType`."
12120
12120
  },
12121
- "filterIsStarred": {
12122
- "type": "boolean",
12123
- "description": "Only return starred states."
12124
- },
12125
- "filterIsSeen": {
12126
- "type": "boolean",
12127
- "description": "Only return seen (true) or unseen (false) states."
12128
- },
12129
- "filterIsSpam": {
12130
- "type": "boolean",
12131
- "description": "Only return spam-marked states. Reads from the SpamIndex."
12121
+ "folder": {
12122
+ "type": "string",
12123
+ "description": "Folder-style filter. Exactly one value at a time (tagged-union\nsemantics - the SDK enforces this at compile time via string\nliteral union). Orthogonal to filterResourceType and\nfilterResourceIds, which scope the query but don't pick a folder.\n `all` - default, no folder filter\n `unseen` - only unread rows (sparse UnseenIndex)\n `starred` - only starred rows (sparse StarredIndex)\n `spam` - only user-spam-marked rows (sparse SpamIndex)\n `label:<labelId>` - rows whose flags.labels contains the labelId"
12132
12124
  },
12133
12125
  "pageSize": {
12134
12126
  "type": "integer",
@@ -15732,12 +15724,62 @@
15732
15724
  "description": "The type of search to perform"
15733
15725
  },
15734
15726
  "query": {
15735
- "type": "object",
15736
- "description": "Search query parameters sent to OpenSearch. Supported keys for talent search: Semantic (full-text match) - \"search\" (multi-match across all text fields), \"name\", \"quickInsights\", \"skillsAndExpertise\", \"professionalExperience\", \"education\", \"experienceAndSeniority\", \"jobPositions\", \"keywords\", \"certifications\", \"industryExperience\", \"languagesSpoken\", \"locationPreferences\", \"personalityAndSoftSkills\", \"availability\", \"workPreferences\", \"workAuthorization\". Filters (exact match) - \"status\", \"source\", \"email\", \"gender\", \"shortCode\", \"isTalentPool\", \"relocationWillingness\", \"requiresSponsorship\", \"careerBreak\". IDs - \"jobId\", \"talentId\"."
15727
+ "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
15728
+ "oneOf": [
15729
+ {
15730
+ "$ref": "#/components/schemas/FinderQueryTalentsSchema"
15731
+ },
15732
+ {
15733
+ "$ref": "#/components/schemas/FinderQueryCandidatesSchema"
15734
+ },
15735
+ {
15736
+ "$ref": "#/components/schemas/FinderQueryJobsSchema"
15737
+ },
15738
+ {
15739
+ "$ref": "#/components/schemas/FinderQueryEmailsSchema"
15740
+ }
15741
+ ]
15737
15742
  },
15738
15743
  "results": {
15744
+ "title": "FinderResultsSchema",
15739
15745
  "type": "object",
15740
- "description": "The search results returned from OpenSearch (auto-populated)"
15746
+ "description": "OpenSearch-shaped results attached to the finder record after the search runs. Hits array items carry whatever subset of the index schema was projected.",
15747
+ "properties": {
15748
+ "total": {
15749
+ "type": "integer",
15750
+ "description": "Count of matching documents before pagination."
15751
+ },
15752
+ "hits": {
15753
+ "type": "array",
15754
+ "items": {
15755
+ "title": "FinderResultHitSchema",
15756
+ "type": "object",
15757
+ "description": "Single hit from the OpenSearch query. The `id` equals the underlying resource id (emailId, talentId, candidateId, jobId, ...) so the frontend can navigate directly to that resource. Additional fields vary by finder `type`.",
15758
+ "properties": {
15759
+ "id": {
15760
+ "type": "string",
15761
+ "description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
15762
+ },
15763
+ "tenantId": {
15764
+ "type": "string"
15765
+ },
15766
+ "status": {
15767
+ "type": "string"
15768
+ },
15769
+ "source": {
15770
+ "type": "string"
15771
+ },
15772
+ "created": {
15773
+ "type": "string"
15774
+ },
15775
+ "shortCode": {
15776
+ "type": "string"
15777
+ }
15778
+ },
15779
+ "additionalProperties": true
15780
+ }
15781
+ }
15782
+ }
15741
15783
  },
15742
15784
  "status": {
15743
15785
  "type": "string",
@@ -15965,12 +16007,62 @@
15965
16007
  "description": "The type of search to perform"
15966
16008
  },
15967
16009
  "query": {
15968
- "type": "object",
15969
- "description": "Search query parameters sent to OpenSearch. Supported keys for talent search: Semantic (full-text match) - \"search\" (multi-match across all text fields), \"name\", \"quickInsights\", \"skillsAndExpertise\", \"professionalExperience\", \"education\", \"experienceAndSeniority\", \"jobPositions\", \"keywords\", \"certifications\", \"industryExperience\", \"languagesSpoken\", \"locationPreferences\", \"personalityAndSoftSkills\", \"availability\", \"workPreferences\", \"workAuthorization\". Filters (exact match) - \"status\", \"source\", \"email\", \"gender\", \"shortCode\", \"isTalentPool\", \"relocationWillingness\", \"requiresSponsorship\", \"careerBreak\". IDs - \"jobId\", \"talentId\"."
16010
+ "description": "Search query parameters sent to OpenSearch. Shape varies by finder `type`. OpenAPI can't express the full type/query correlation as a strict discriminated union (the discriminator lives on the sibling `type` field, not on `query` itself), so this is encoded as `oneOf` over per-type query schemas. Clients should pick the shape matching the `type` they are posting.",
16011
+ "oneOf": [
16012
+ {
16013
+ "$ref": "#/components/schemas/FinderQueryTalentsSchema"
16014
+ },
16015
+ {
16016
+ "$ref": "#/components/schemas/FinderQueryCandidatesSchema"
16017
+ },
16018
+ {
16019
+ "$ref": "#/components/schemas/FinderQueryJobsSchema"
16020
+ },
16021
+ {
16022
+ "$ref": "#/components/schemas/FinderQueryEmailsSchema"
16023
+ }
16024
+ ]
15970
16025
  },
15971
16026
  "results": {
16027
+ "title": "FinderResultsSchema",
15972
16028
  "type": "object",
15973
- "description": "The search results returned from OpenSearch (auto-populated)"
16029
+ "description": "OpenSearch-shaped results attached to the finder record after the search runs. Hits array items carry whatever subset of the index schema was projected.",
16030
+ "properties": {
16031
+ "total": {
16032
+ "type": "integer",
16033
+ "description": "Count of matching documents before pagination."
16034
+ },
16035
+ "hits": {
16036
+ "type": "array",
16037
+ "items": {
16038
+ "title": "FinderResultHitSchema",
16039
+ "type": "object",
16040
+ "description": "Single hit from the OpenSearch query. The `id` equals the underlying resource id (emailId, talentId, candidateId, jobId, ...) so the frontend can navigate directly to that resource. Additional fields vary by finder `type`.",
16041
+ "properties": {
16042
+ "id": {
16043
+ "type": "string",
16044
+ "description": "The underlying resource id (emailId / talentId / candidateId / jobId)."
16045
+ },
16046
+ "tenantId": {
16047
+ "type": "string"
16048
+ },
16049
+ "status": {
16050
+ "type": "string"
16051
+ },
16052
+ "source": {
16053
+ "type": "string"
16054
+ },
16055
+ "created": {
16056
+ "type": "string"
16057
+ },
16058
+ "shortCode": {
16059
+ "type": "string"
16060
+ }
16061
+ },
16062
+ "additionalProperties": true
16063
+ }
16064
+ }
16065
+ }
15974
16066
  },
15975
16067
  "status": {
15976
16068
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.1.33-dev.4",
3
+ "version": "0.1.33-dev.5",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",